summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-07-09 15:57:33 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-07-19 18:13:56 (GMT)
commitae2cfc4bd8c673804b8455fcb5c10d6a59c862c6 (patch)
tree0cc9496f0d0d0bd7dd5828e6761cbbd9c537095f /Source/CTest/cmCTestTestHandler.h
parent16bb46eaf3261a2991e35e22116fd8a51d031b15 (diff)
downloadCMake-ae2cfc4bd8c673804b8455fcb5c10d6a59c862c6.zip
CMake-ae2cfc4bd8c673804b8455fcb5c10d6a59c862c6.tar.gz
CMake-ae2cfc4bd8c673804b8455fcb5c10d6a59c862c6.tar.bz2
Refactor: Break cmCTestTestHandler::ProcessHandler() into smaller functions
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.h')
-rw-r--r--Source/CTest/cmCTestTestHandler.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 5bbc68e..9345185 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -191,12 +191,25 @@ public:
typedef std::vector<cmCTestTestProperties> ListOfTests;
protected:
+ typedef std::set<cmCTestTestHandler::cmCTestTestResult,
+ cmCTestTestResultLess>
+ SetOfTests;
+
// compute a final test list
virtual int PreProcessHandler();
virtual int PostProcessHandler();
virtual void GenerateTestCommand(std::vector<std::string>& args, int test);
int ExecuteCommands(std::vector<std::string>& vec);
+ bool ProcessOptions();
+ void LogTestSummary(const std::vector<std::string>& passed,
+ const std::vector<std::string>& failed,
+ const cmDuration& durationInSecs);
+ void LogDisabledTests(const std::vector<cmCTestTestResult>& disabledTests);
+ void LogFailedTests(const std::vector<std::string>& failed,
+ const SetOfTests& resultsSet);
+ bool GenerateXML();
+
void WriteTestResultHeader(cmXMLWriter& xml,
cmCTestTestResult const& result);
void WriteTestResultFooter(cmXMLWriter& xml,