summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-09-19 11:11:55 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-09-20 11:27:30 (GMT)
commit0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22 (patch)
tree707ea2e27d95ba423c5710bb4ecd42bce5e91023 /Source/CTest/cmCTestTestCommand.h
parentd5a6a133680e4d5798522a4b29ae6bced1f2db3a (diff)
downloadCMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.zip
CMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.tar.gz
CMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.tar.bz2
cmCTest*Command: Port to cmArgumentParser
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.h')
-rw-r--r--Source/CTest/cmCTestTestCommand.h37
1 files changed, 15 insertions, 22 deletions
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h
index d74136c..3d9b63e 100644
--- a/Source/CTest/cmCTestTestCommand.h
+++ b/Source/CTest/cmCTestTestCommand.h
@@ -23,8 +23,6 @@ class cmCTestGenericHandler;
class cmCTestTestCommand : public cmCTestHandlerCommand
{
public:
- cmCTestTestCommand();
-
/**
* This is a virtual constructor for the command.
*/
@@ -42,29 +40,24 @@ public:
std::string GetName() const override { return "ctest_test"; }
protected:
+ void BindArguments() override;
virtual cmCTestGenericHandler* InitializeActualHandler();
cmCTestGenericHandler* InitializeHandler() override;
- enum
- {
- ctt_BUILD = ct_LAST,
- ctt_RETURN_VALUE,
- ctt_START,
- ctt_END,
- ctt_STRIDE,
- ctt_EXCLUDE,
- ctt_INCLUDE,
- ctt_EXCLUDE_LABEL,
- ctt_INCLUDE_LABEL,
- ctt_EXCLUDE_FIXTURE,
- ctt_EXCLUDE_FIXTURE_SETUP,
- ctt_EXCLUDE_FIXTURE_CLEANUP,
- ctt_PARALLEL_LEVEL,
- ctt_SCHEDULE_RANDOM,
- ctt_STOP_TIME,
- ctt_TEST_LOAD,
- ctt_LAST
- };
+ std::string Start;
+ std::string End;
+ std::string Stride;
+ std::string Exclude;
+ std::string Include;
+ std::string ExcludeLabel;
+ std::string IncludeLabel;
+ std::string ExcludeFixture;
+ std::string ExcludeFixtureSetup;
+ std::string ExcludeFixtureCleanup;
+ std::string ParallelLevel;
+ std::string ScheduleRandom;
+ std::string StopTime;
+ std::string TestLoad;
};
#endif