wxTst::WxGuiTestApp Class Reference

Control & do running of wxWidgets GUI CppUnit tests. More...

#include <WxGuiTestApp.h>

Inheritance diagram for wxTst::WxGuiTestApp:

Inheritance graph
Collaboration diagram for wxTst::WxGuiTestApp:

Collaboration graph

List of all members.

Detailed Description

Control & do running of wxWidgets GUI CppUnit tests.

wxWidgets GUI initialisation requires a real wxApp based application.

Controlling the code flow in/of the wxWidgets GUI CppUnit tests requires overridding OnRun() and OnIdle(). The latter one serves the purpose of exiting the main loop which can be equated to flushing the event queue.

This class works closely together with WxGuiTestHelper which provides some convenience or helper methods to (a) configure the behaviour of this class (e.g. showing modal dialogs non-modal), and (b) facilitate the usage of some common features (e.g. flushing the event queue, or making the test temporary interactive for manual visual checks during GUI test implementation).

For the purpose of testing whole applications (denoted applications under test = AUT) at least wxApp's OnInit() and OnExit() methods must be forwarded or delegated to it.


Definition at line 55 of file WxGuiTestApp.h.

The documentation for this class was generated from the following file:

wxWidgets Logo Get wxGuiTesting at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Tue Mar 17 17:29:30 2009 for wxGuiTesting by doxygen 1.5.5