cmParseCacheCoverage.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc.
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmParseCacheCoverage_h
  11. #define cmParseCacheCoverage_h
  12. #include "cmParseMumpsCoverage.h"
  13. /** \class cmParseCacheCoverage
  14. * \brief Parse Cache coverage information
  15. *
  16. * This class is used to parse Cache coverage information for
  17. * mumps.
  18. */
  19. class cmParseCacheCoverage : public cmParseMumpsCoverage
  20. {
  21. public:
  22. cmParseCacheCoverage(cmCTestCoverageHandlerContainer& cont,
  23. cmCTest* ctest);
  24. protected:
  25. // implement virtual from parent
  26. bool LoadCoverageData(const char* dir);
  27. // remove files with no coverage
  28. void RemoveUnCoveredFiles();
  29. // Read a single mcov file
  30. bool ReadCMCovFile(const char* f);
  31. // split a string based on ,
  32. bool SplitString(std::vector<std::string>& args,
  33. std::string const& line);
  34. };
  35. #endif