summaryrefslogtreecommitdiffstats
path: root/Source/cmAddTestCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-24 19:59:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-24 19:59:51 (GMT)
commitd395b563ede173721c240df2daad23284f453c4a (patch)
tree84178ad0d725b16b92f84549bd106e05038c90d5 /Source/cmAddTestCommand.h
parent3a8e7599b10806b43179e18c23218fe68a4d2eb5 (diff)
downloadCMake-d395b563ede173721c240df2daad23284f453c4a.zip
CMake-d395b563ede173721c240df2daad23284f453c4a.tar.gz
CMake-d395b563ede173721c240df2daad23284f453c4a.tar.bz2
ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r--Source/cmAddTestCommand.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index b2bb563..1718547 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -42,12 +42,6 @@ public:
virtual bool InitialPass(std::vector<std::string> const& args);
/**
- * This is called at the end after all the information
- * specified by the command is accumulated.
- */
- virtual void FinalPass();
-
- /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "ADD_TEST";}
@@ -79,7 +73,7 @@ public:
cmTypeMacro(cmAddTestCommand, cmCommand);
private:
- std::vector<std::string> m_Args;
+ std::string m_Test;
};