1 #ifndef __cxxtest__GlobalFixture_cpp__
2 #define __cxxtest__GlobalFixture_cpp__
4 #include <cxxtest/GlobalFixture.h>
6 namespace CxxTest
7 {
8 bool GlobalFixture::setUpWorld() { return true; }
9 bool GlobalFixture::tearDownWorld() { return true; }
10 bool GlobalFixture::setUp() { return true; }
11 bool GlobalFixture::tearDown() { return true; }
13 GlobalFixture::GlobalFixture() { attach( _list ); }
14 GlobalFixture::~GlobalFixture() { detach( _list ); }
16 GlobalFixture *GlobalFixture::firstGlobalFixture() { return (GlobalFixture *)_list.head(); }
17 GlobalFixture *GlobalFixture::lastGlobalFixture() { return (GlobalFixture *)_list.tail(); }
18 GlobalFixture *GlobalFixture::nextGlobalFixture() { return (GlobalFixture *)next(); }
19 GlobalFixture *GlobalFixture::prevGlobalFixture() { return (GlobalFixture *)prev(); }
20 }
22 #endif // __cxxtest__GlobalFixture_cpp__