22 #ifndef ROBOTTESTINGFRAMEWORK_TEST_H 23 #define ROBOTTESTINGFRAMEWORK_TEST_H 44 std::string description =
"") :
123 #endif // ROBOTTESTINGFRAMEWORK_TEST_H virtual bool succeeded() const =0
succeeded
void setName(std::string name)
setName setting the test name
virtual ~Test()
Test destructor.
The TestResult class is used to deliver the test results including any error and failures produced by...
std::string strDescription
The simplest form of a test unit.
virtual void run(TestResult &result)=0
the main caller of a test.
void setDescription(const std::string description)
setDescription Sets an optional string which describes the test.
Test(std::string name, std::string description="")
Test constructor.
virtual void interrupt()
interrupt interrupts the current test run
const std::string getName() const
getName Getting test name.
const std::string getDescription() const
getDescription Getting test description