diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2015-05-23 22:00:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-26 15:09:20 (GMT) |
commit | 18825bafd99c6a9c8ec1fb4e7b22a8059c680572 (patch) | |
tree | 0ef7900e223d754b0f427e2d9236948e2b0a148d /Source/cmCTest.h | |
parent | f6413400a00362cf307d0fbb85daf96265091686 (diff) | |
download | CMake-18825bafd99c6a9c8ec1fb4e7b22a8059c680572.zip CMake-18825bafd99c6a9c8ec1fb4e7b22a8059c680572.tar.gz CMake-18825bafd99c6a9c8ec1fb4e7b22a8059c680572.tar.bz2 |
cmCTest: Port to cmXMLWriter
Re-implement StartXML, EndXML, and AddSiteProperties using cmXMLWriter.
Leave the old overloads behind for use by CTest/* until they are ported.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 3f033d9..47c337a 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -24,6 +24,7 @@ class cmGeneratedFileStream; class cmCTestCommand; class cmCTestScriptHandler; class cmCTestStartCommand; +class cmXMLWriter; #define cmCTestLog(ctSelf, logType, msg) \ do { \ @@ -274,9 +275,11 @@ public: //! Start CTest XML output file void StartXML(std::ostream& ostr, bool append); + void StartXML(cmXMLWriter& xml, bool append); //! End CTest XML output file void EndXML(std::ostream& ostr); + void EndXML(cmXMLWriter& xml); //! Run command specialized for make and configure. Returns process status // and retVal is return value or exception. @@ -421,6 +424,7 @@ public: void SetStreams(std::ostream* out, std::ostream* err) { this->StreamOut = out; this->StreamErr = err; } void AddSiteProperties(std::ostream& ); + void AddSiteProperties(cmXMLWriter& xml); bool GetLabelSummary() { return this->LabelSummary;} std::string GetCostDataFile(); |