123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef cmParsePHPCoverage_h
- #define cmParsePHPCoverage_h
- #include "cmConfigure.h"
- #include <iosfwd>
- #include <string>
- class cmCTest;
- class cmCTestCoverageHandlerContainer;
- class cmParsePHPCoverage
- {
- public:
- cmParsePHPCoverage(cmCTestCoverageHandlerContainer& cont, cmCTest* ctest);
- bool ReadPHPCoverageDirectory(const char* dir);
- void PrintCoverage();
- private:
- bool ReadPHPData(const char* file);
- bool ReadArraySize(std::istream& in, int& size);
- bool ReadFileInformation(std::istream& in);
- bool ReadInt(std::istream& in, int& v);
- bool ReadCoverageArray(std::istream& in, std::string const&);
- bool ReadUntil(std::istream& in, char until);
- cmCTestCoverageHandlerContainer& Coverage;
- cmCTest* CTest;
- };
- #endif
|