diff options
| author | Laurent Richard <[email protected]> | 2004-10-07 11:02:31 +0000 |
|---|---|---|
| committer | Laurent Richard <[email protected]> | 2004-10-07 11:02:31 +0000 |
| commit | 27fb7a5b96462dc22fff821789ad382804579b28 (patch) | |
| tree | 90eff8fc95db9e9b1a32da52dc993da6a2cf2f77 /tests/lib/unit++/Test_gui.cc | |
| parent | Added FLAG_PASSED message flag to indicate a forwarded message (used in maild... (diff) | |
| download | vmime-27fb7a5b96462dc22fff821789ad382804579b28.tar.gz vmime-27fb7a5b96462dc22fff821789ad382804579b28.zip | |
New unit test system: Unit++.
Added test for header::getAllByName/Type
Diffstat (limited to 'tests/lib/unit++/Test_gui.cc')
| -rw-r--r-- | tests/lib/unit++/Test_gui.cc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/lib/unit++/Test_gui.cc b/tests/lib/unit++/Test_gui.cc new file mode 100644 index 00000000..4f9e47c2 --- /dev/null +++ b/tests/lib/unit++/Test_gui.cc @@ -0,0 +1,27 @@ +// Copyright (C) 2001 Claus Dr�by +// Terms of use are in the file COPYING +#ifdef GUI +#include "gui.h" +#include "unit++.h" +using namespace std; +using namespace unitpp; + +gui_hook ghook; // ensure linkage of the gui stuff + +namespace { +// The test suite for the gui components +class Test : public suite +{ + void dummy() + { + } +public: + Test() : suite("GUI test suite") + { + suite::main().add("gui", this); + add("dummy", testcase(this, "Test nothing", &Test::dummy)); + } +} * theTest = new Test(); + +} +#endif |
