diff options
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.h')
-rw-r--r-- | Source/CTest/cmCTestTestCommand.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h index 0dfca97..212213e 100644 --- a/Source/CTest/cmCTestTestCommand.h +++ b/Source/CTest/cmCTestTestCommand.h @@ -22,24 +22,23 @@ class cmCTestTestCommand : public cmCTestHandlerCommand { public: - cmCTestTestCommand(); /** * This is a virtual constructor for the command. */ virtual cmCommand* Clone() - { + { cmCTestTestCommand* ni = new cmCTestTestCommand; ni->CTest = this->CTest; ni->CTestScriptHandler = this->CTestScriptHandler; return ni; - } + } /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "ctest_test";} + virtual std::string GetName() const { return "ctest_test"; } cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand); @@ -47,7 +46,8 @@ protected: virtual cmCTestGenericHandler* InitializeActualHandler(); cmCTestGenericHandler* InitializeHandler(); - enum { + enum + { ctt_BUILD = ct_LAST, ctt_RETURN_VALUE, ctt_START, @@ -65,5 +65,4 @@ protected: }; }; - #endif |