summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageHandler.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2015-05-24 19:18:40 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-26 15:09:22 (GMT)
commit8fbc509a48e53f7462143dded5a01c77ab5ba6bd (patch)
treed0a66605f90a3c206947023aa410be63b25a55ba /Source/CTest/cmCTestCoverageHandler.h
parent82455a9d3af88296741a6b087fceed1bb6a28b1e (diff)
downloadCMake-8fbc509a48e53f7462143dded5a01c77ab5ba6bd.zip
CMake-8fbc509a48e53f7462143dded5a01c77ab5ba6bd.tar.gz
CMake-8fbc509a48e53f7462143dded5a01c77ab5ba6bd.tar.bz2
cmCTestCoverageHandler: Port to cmXMLWriter
Diffstat (limited to 'Source/CTest/cmCTestCoverageHandler.h')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 3258ddb..2ca123a 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -20,6 +20,7 @@
#include <cmsys/RegularExpression.hxx>
class cmGeneratedFileStream;
+class cmXMLWriter;
class cmCTestCoverageHandlerContainer
{
public:
@@ -65,6 +66,9 @@ private:
bool StartCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount);
void EndCoverageLogFile(cmGeneratedFileStream& ostr, int logFileCount);
+ void StartCoverageLogXML(cmXMLWriter& xml);
+ void EndCoverageLogXML(cmXMLWriter& xml);
+
//! Handle coverage using GCC's GCov
int HandleGCovCoverage(cmCTestCoverageHandlerContainer* cont);
void FindGCovFiles(std::vector<std::string>& files);
@@ -146,7 +150,7 @@ private:
// Label reading and writing methods.
void LoadLabels();
void LoadLabels(const char* dir);
- void WriteXMLLabels(std::ostream& os, std::string const& source);
+ void WriteXMLLabels(cmXMLWriter& xml, std::string const& source);
// Label-based filtering.
std::set<int> LabelFilter;