cmake/Source/CTest/cmParseCacheCoverage.h

33 lines
858 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2021-09-14 00:13:48 +02:00
#pragma once
2012-06-27 20:52:58 +03:00
2018-01-26 17:06:56 +01:00
#include "cmConfigure.h" // IWYU pragma: keep
2016-10-30 18:24:19 +01:00
#include <string>
2020-02-01 23:06:01 +01:00
#include "cmParseMumpsCoverage.h"
2016-10-30 18:24:19 +01:00
class cmCTest;
class cmCTestCoverageHandlerContainer;
2012-06-27 20:52:58 +03:00
/** \class cmParseCacheCoverage
* \brief Parse Cache coverage information
*
* This class is used to parse Cache coverage information for
* mumps.
*/
class cmParseCacheCoverage : public cmParseMumpsCoverage
{
public:
2016-07-09 11:21:54 +02:00
cmParseCacheCoverage(cmCTestCoverageHandlerContainer& cont, cmCTest* ctest);
2012-06-27 20:52:58 +03:00
protected:
// implement virtual from parent
2020-08-30 11:54:41 +02:00
bool LoadCoverageData(std::string const& dir) override;
2012-06-27 20:52:58 +03:00
// remove files with no coverage
void RemoveUnCoveredFiles();
// Read a single mcov file
bool ReadCMCovFile(const char* f);
};