summaryrefslogtreecommitdiffstats
path: root/cxxtest/sample/gui
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-08-30 22:19:16 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2016-08-30 22:19:16 +0000
commitd311eb86bbec90bd99244cf04f0f6145b3a80828 (patch)
treefd800e2ef8e26f890a39917fdc7150be94dd6b75 /cxxtest/sample/gui
parent[Bug #1447971] User palettes not available if all shared system palettes are ... (diff)
downloadinkscape-d311eb86bbec90bd99244cf04f0f6145b3a80828.tar.gz
inkscape-d311eb86bbec90bd99244cf04f0f6145b3a80828.zip
Drop unused cxxtest fork in favour of Googletest
Fixed bugs: - https://launchpad.net/bugs/1094771 (bzr r15096)
Diffstat (limited to 'cxxtest/sample/gui')
-rw-r--r--cxxtest/sample/gui/GreenYellowRed.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/cxxtest/sample/gui/GreenYellowRed.h b/cxxtest/sample/gui/GreenYellowRed.h
deleted file mode 100644
index 446b23345..000000000
--- a/cxxtest/sample/gui/GreenYellowRed.h
+++ /dev/null
@@ -1,57 +0,0 @@
-#include <cxxtest/TestSuite.h>
-
-#ifdef _WIN32
-# include <windows.h>
-# define CXXTEST_SAMPLE_GUI_WAIT() Sleep( 1000 )
-#else // !_WIN32
- extern "C" unsigned sleep( unsigned seconds );
-# define CXXTEST_SAMPLE_GUI_WAIT() sleep( 1 )
-#endif // _WIN32
-
-class GreenYellowRed : public CxxTest::TestSuite
-{
-public:
- void wait()
- {
- CXXTEST_SAMPLE_GUI_WAIT();
- }
-
- void test_Start_green()
- {
- wait();
- }
-
- void test_Green_again()
- {
- TS_TRACE( "Still green" );
- wait();
- }
-
- void test_Now_yellow()
- {
- TS_WARN( "Yellow" );
- wait();
- }
-
- void test_Cannot_go_back()
- {
- wait();
- }
-
- void test_Finally_red()
- {
- TS_FAIL( "Red" );
- wait();
- }
-
- void test_Cannot_go_back_to_yellow()
- {
- TS_WARN( "Yellow?" );
- wait();
- }
-
- void test_Cannot_go_back_to_green()
- {
- wait();
- }
-};