summaryrefslogtreecommitdiff
path: root/cxxtest/GlobalFixture.cpp
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2009-11-03 19:02:47 +0100
committeretobi <git@e-tobi.net>2009-11-03 19:02:47 +0100
commit90b872ed164d8cf004b40f0128fd7a9b3ca7d27e (patch)
treeb558cc69a5f750c98b90d4aac228d9d031d2316a /cxxtest/GlobalFixture.cpp
downloadvdr-plugin-vodcatcher-90b872ed164d8cf004b40f0128fd7a9b3ca7d27e.tar.gz
vdr-plugin-vodcatcher-90b872ed164d8cf004b40f0128fd7a9b3ca7d27e.tar.bz2
initial commit
Diffstat (limited to 'cxxtest/GlobalFixture.cpp')
-rw-r--r--cxxtest/GlobalFixture.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/cxxtest/GlobalFixture.cpp b/cxxtest/GlobalFixture.cpp
new file mode 100644
index 0000000..29c6ab8
--- /dev/null
+++ b/cxxtest/GlobalFixture.cpp
@@ -0,0 +1,23 @@
+#ifndef __cxxtest__GlobalFixture_cpp__
+#define __cxxtest__GlobalFixture_cpp__
+
+#include <cxxtest/GlobalFixture.h>
+
+namespace CxxTest
+{
+ bool GlobalFixture::setUpWorld() { return true; }
+ bool GlobalFixture::tearDownWorld() { return true; }
+ bool GlobalFixture::setUp() { return true; }
+ bool GlobalFixture::tearDown() { return true; }
+
+ GlobalFixture::GlobalFixture() { attach( _list ); }
+ GlobalFixture::~GlobalFixture() { detach( _list ); }
+
+ GlobalFixture *GlobalFixture::firstGlobalFixture() { return (GlobalFixture *)_list.head(); }
+ GlobalFixture *GlobalFixture::lastGlobalFixture() { return (GlobalFixture *)_list.tail(); }
+ GlobalFixture *GlobalFixture::nextGlobalFixture() { return (GlobalFixture *)next(); }
+ GlobalFixture *GlobalFixture::prevGlobalFixture() { return (GlobalFixture *)prev(); }
+}
+
+#endif // __cxxtest__GlobalFixture_cpp__
+