Public Member Functions
|virtual void||setUp ()|
|Set up context before running a test. |
|virtual void||tearDown ()|
|Clean up after the test run. |
Static Public Member Functions
|static CPPUNIT_NS::Test *||suite ()|
|Find and return decorater containing all wxWidgets GUI tests. |
CppUnit test application is retrieving all registered test cases before TestRunner is actually running them by means of TestFactoryRegistry::getRegistry().makeTest() method. This method in turn will find and use static suite() methods returning tests.
In contrast to regular test classes the suite() method of this class returns all wxWidgets GUI tests being registered in "WxGuiTest" named registry as one single test. In fact, it is a TestDecorator holding all these GUI tests allowing to initialise wxWidgets GUI library part exactly once before running tests, as well as helping in diversion the flow of control.
|CPPUNIT_NS::Test * wxTst::InitWxGuiTest::suite||(||)||