diff options
author | Brad King <brad.king@kitware.com> | 2009-09-11 14:09:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-11 14:09:48 (GMT) |
commit | b6c26cded2965d566ad1ad874f9dac146af4ceac (patch) | |
tree | cdb7422df19a3cc5a68bf750b505237106279bca /Source/CTest/cmCTestRunTest.h | |
parent | 74b79d3b3996c1aed1d11ddfc06278f7f880454d (diff) | |
download | CMake-b6c26cded2965d566ad1ad874f9dac146af4ceac.zip CMake-b6c26cded2965d566ad1ad874f9dac146af4ceac.tar.gz CMake-b6c26cded2965d566ad1ad874f9dac146af4ceac.tar.bz2 |
Initialize cmCTestRunTest instances robustly
All instances of this class need a cmCTestTestHandler, so we now require
one to construct it. The instance also provides the cmCTest instance
too.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.h')
-rw-r--r-- | Source/CTest/cmCTestRunTest.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h index d104d7d..ee888d3 100644 --- a/Source/CTest/cmCTestRunTest.h +++ b/Source/CTest/cmCTestRunTest.h @@ -29,7 +29,7 @@ class cmCTestRunTest { public: - cmCTestRunTest(); + cmCTestRunTest(cmCTestTestHandler* handler); ~cmCTestRunTest(); void SetTestProperties(cmCTestTestHandler::cmCTestTestProperties * prop) @@ -37,13 +37,9 @@ public: cmCTestTestHandler::cmCTestTestProperties * GetTestProperties() { return this->TestProperties; } - - void SetTestHandler(cmCTestTestHandler * handler); void SetIndex(int i) { this->Index = i; } - void SetCTest(cmCTest * ct) { this->CTest = ct; } - int GetIndex() { return this->Index; } std::string GetProcessOutput() { return this->ProcessOutput; } |