Commit fb0b087c authored by Daniel Pfeifer's avatar Daniel Pfeifer
Browse files

Make cmCTestGenericHandler not inherit from cmObject

parent 2169b0fa
Pipeline #32216 passed with stage
......@@ -22,7 +22,7 @@ class cmake;
class cmCTestBuildAndTestHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestBuildAndTestHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/*
* The main entry point for this class
......
......@@ -25,7 +25,7 @@ class cmXMLWriter;
class cmCTestBuildHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestBuildHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/*
* The main entry point for this class
......
......@@ -15,7 +15,7 @@
class cmCTestConfigureHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestConfigureHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/*
* The main entry point for this class
......
......@@ -38,7 +38,7 @@ public:
class cmCTestCoverageHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestCoverageHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/*
* The main entry point for this class
......
......@@ -22,7 +22,7 @@ class cmMakefile;
* \brief A superclass of all CTest Handlers
*
*/
class cmCTestGenericHandler : public cmObject
class cmCTestGenericHandler
{
public:
/**
......@@ -70,7 +70,7 @@ public:
* Construct handler
*/
cmCTestGenericHandler();
~cmCTestGenericHandler() CM_OVERRIDE;
virtual ~cmCTestGenericHandler();
typedef std::map<std::string, std::string> t_StringToString;
......
......@@ -23,7 +23,7 @@ class cmCTestMemCheckHandler : public cmCTestTestHandler
friend class cmCTestRunTest;
public:
cmTypeMacro(cmCTestMemCheckHandler, cmCTestTestHandler);
typedef cmCTestTestHandler Superclass;
void PopulateCustomVectors(cmMakefile* mf) CM_OVERRIDE;
......
......@@ -56,7 +56,7 @@ class cmake;
class cmCTestScriptHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestScriptHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/**
* Add a script to run, and if is should run in the current process
......
......@@ -23,7 +23,7 @@
class cmCTestSubmitHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestSubmitHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
cmCTestSubmitHandler();
~cmCTestSubmitHandler() CM_OVERRIDE { this->LogFile = CM_NULLPTR; }
......
......@@ -32,7 +32,7 @@ class cmCTestTestHandler : public cmCTestGenericHandler
friend class cmCTestBatchTestHandler;
public:
cmTypeMacro(cmCTestTestHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/**
* The main entry point for this class
......
......@@ -19,7 +19,7 @@
class cmCTestUpdateHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestUpdateHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
/*
* The main entry point for this class
......
......@@ -18,7 +18,7 @@
class cmCTestUploadHandler : public cmCTestGenericHandler
{
public:
cmTypeMacro(cmCTestUploadHandler, cmCTestGenericHandler);
typedef cmCTestGenericHandler Superclass;
cmCTestUploadHandler();
~cmCTestUploadHandler() CM_OVERRIDE {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment