cmake/Source/CTest/cmParseCacheCoverage.h

39 lines
1.0 KiB
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. */
2012-06-27 20:52:58 +03:00
#ifndef cmParseCacheCoverage_h
#define cmParseCacheCoverage_h
2018-01-26 17:06:56 +01:00
#include "cmConfigure.h" // IWYU pragma: keep
2016-10-30 18:24:19 +01:00
2012-06-27 20:52:58 +03:00
#include "cmParseMumpsCoverage.h"
2016-10-30 18:24:19 +01:00
#include <string>
#include <vector>
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
2018-01-26 17:06:56 +01:00
bool LoadCoverageData(const char* 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);
// split a string based on ,
2016-07-09 11:21:54 +02:00
bool SplitString(std::vector<std::string>& args, std::string const& line);
2012-06-27 20:52:58 +03:00
};
#endif