![]() |
#include <X11Gui.h>
Public Member Functions | |
| void | enterGui (int &argc, char **argv) |
| void | enterWorld (const WorldDescription &wd) |
| void | guiEnterTest (const char *suiteName, const char *testName) |
| void | yellowBar () |
| void | redBar () |
| void | leaveGui () |
Public Member Functions inherited from CxxTest::GuiListener | |
| GuiListener () | |
| virtual | ~GuiListener () |
| virtual void | runGui (int &argc, char **argv, TestListener &listener) |
| virtual void | guiEnterWorld (unsigned) |
| virtual void | guiEnterSuite (const char *) |
| void | enterSuite (const SuiteDescription &d) |
| void | enterTest (const TestDescription &d) |
| void | leaveTest (const TestDescription &) |
| void | leaveSuite (const SuiteDescription &) |
| void | leaveWorld (const WorldDescription &) |
| void | warning (const char *, unsigned, const char *) |
| void | failedTest (const char *, unsigned, const char *) |
| void | failedAssert (const char *, unsigned, const char *) |
| void | failedAssertEquals (const char *, unsigned, const char *, const char *, const char *, const char *) |
| void | failedAssertSameData (const char *, unsigned, const char *, const char *, const char *, const void *, const void *, unsigned) |
| void | failedAssertDelta (const char *, unsigned, const char *, const char *, const char *, const char *, const char *, const char *) |
| void | failedAssertDiffers (const char *, unsigned, const char *, const char *, const char *) |
| void | failedAssertLessThan (const char *, unsigned, const char *, const char *, const char *, const char *) |
| void | failedAssertLessThanEquals (const char *, unsigned, const char *, const char *, const char *, const char *) |
| void | failedAssertPredicate (const char *, unsigned, const char *, const char *, const char *) |
| void | failedAssertRelation (const char *, unsigned, const char *, const char *, const char *, const char *, const char *) |
| void | failedAssertThrows (const char *, unsigned, const char *, const char *, bool) |
| void | failedAssertThrowsNot (const char *, unsigned, const char *) |
Public Member Functions inherited from CxxTest::TestListener | |
| TestListener () | |
| virtual | ~TestListener () |
| virtual void | trace (const char *, unsigned, const char *) |
Private Member Functions | |
| void | parseCommandLine (int &argc, char **argv) |
| void | openDisplay () |
| void | createColors () |
| unsigned long | getColor (const char *colorName) |
| void | createWindow () |
| void | createGc () |
| void | createFont () |
| bool | loadFont () |
| void | useDefaultFont () |
| void | getFontInfo () |
| void | freeFontInfo () |
| void | initializeEvents () |
| void | initializeBar (const WorldDescription &wd) |
| void | getTotalTests () |
| void | getTotalTests (const WorldDescription &wd) |
| void | centerWindow () |
| void | processEvents () |
| void | setWindowName (const char *suiteName, const char *testName) |
| void | redraw () |
| void | getWindowSize () |
| void | drawSolidBar () |
| void | drawDividers () |
| void | drawPercentage () |
| void | flush () |
| void | destroyGc () |
| void | destroyWindow () |
| void | closeDisplay () |
Private Attributes | |
| const char * | _programName |
| Display * | _display |
| Window | _window |
| unsigned | _numTotalTests |
| unsigned | _testsDone |
| char | _strTotalTests [WorldDescription::MAX_STRLEN_TOTAL_TESTS] |
| const char * | _foregroundName |
| const char * | _backgroundName |
| const char * | _greenName |
| const char * | _yellowName |
| const char * | _redName |
| unsigned long | _foreground |
| unsigned long | _background |
| unsigned long | _barColor |
| int | _width |
| int | _height |
| GC | _gc |
| const char * | _fontName |
| XID | _fontId |
| XFontStruct * | _fontInfo |
| int | _textHeight |
| int | _textDescent |
| long | _eventMask |
| Colormap | _colormap |
Additional Inherited Members | |
Protected Member Functions inherited from CxxTest::GuiListener | |
| void | yellowBarSafe () |
| void | redBarSafe () |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 290 of file X11Gui.h.
|
inlinevirtual |
Reimplemented from CxxTest::GuiListener.
Definition at line 28 of file X11Gui.h.
|
inlinevirtual |
Reimplemented from CxxTest::GuiListener.
Definition at line 33 of file X11Gui.h.
|
inlineprivate |
|
inlineprivate |
Definition at line 212 of file X11Gui.h.
Reimplemented from CxxTest::GuiListener.
Definition at line 48 of file X11Gui.h.
|
inlineprivate |
|
inlinevirtual |
|
inlineprivate |
|
inlinevirtual |
Definition at line 243 of file X11Gui.h.
|
inlinevirtual |
|
private |