28 #ifndef PT_UNIT_APPLICATION_H
29 #define PT_UNIT_APPLICATION_H
31 #include <Pt/Unit/Api.h>
32 #include <Pt/Unit/Reporter.h>
33 #include <Pt/Unit/Test.h>
83 Test* findTest(
const std::string& testname);
96 void attachReporter(
Reporter& r,
const std::string& testname);
105 void run(
const std::string& testName);
126 void registerTest(
Test& test);
128 void deregisterTest(
Test& test);
134 static std::list<Test*>& tests();
Test event reporter
Definition: Reporter.h:55
Run registered tests.
Definition: Application.h:64
unsigned errors() const
Returns the number of errors which occured during a run.
Definition: Application.h:116
Test base class
Definition: Test.h:54