diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-03-18 21:25:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 15:39:14 (GMT) |
commit | b172a81d5512a2f0973dae6d5545b159e5b1ec2b (patch) | |
tree | b035bb75e4ac6c2ad13663a2b8ba514cecc4ea5e /Source/cmCTest.h | |
parent | 46090c2337f9d867b8662247f0033f002742d42b (diff) | |
download | CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.zip CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.gz CMake-b172a81d5512a2f0973dae6d5545b159e5b1ec2b.tar.bz2 |
cmCTest: Use concrete accessor functions for TestingHandlers
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 1958a17..8317a15 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -17,7 +17,16 @@ #include <time.h> #include <vector> -class cmCTestGenericHandler; +class cmCTestBuildHandler; +class cmCTestBuildAndTestHandler; +class cmCTestCoverageHandler; +class cmCTestScriptHandler; +class cmCTestTestHandler; +class cmCTestUpdateHandler; +class cmCTestConfigureHandler; +class cmCTestMemCheckHandler; +class cmCTestSubmitHandler; +class cmCTestUploadHandler; class cmCTestStartCommand; class cmGeneratedFileStream; class cmMakefile; @@ -315,16 +324,18 @@ public: Encoding encoding = cmProcessOutput::Auto); /** - * Execute handler and return its result. If the handler fails, it returns - * negative value. - */ - int ExecuteHandler(const char* handler); - - /** * Get the handler object */ - cmCTestGenericHandler* GetHandler(const char* handler); - cmCTestGenericHandler* GetInitializedHandler(const char* handler); + cmCTestBuildHandler* GetBuildHandler(); + cmCTestBuildAndTestHandler* GetBuildAndTestHandler(); + cmCTestCoverageHandler* GetCoverageHandler(); + cmCTestScriptHandler* GetScriptHandler(); + cmCTestTestHandler* GetTestHandler(); + cmCTestUpdateHandler* GetUpdateHandler(); + cmCTestConfigureHandler* GetConfigureHandler(); + cmCTestMemCheckHandler* GetMemCheckHandler(); + cmCTestSubmitHandler* GetSubmitHandler(); + cmCTestUploadHandler* GetUploadHandler(); /** * Set the CTest variable from CMake variable |