1 #ifndef __cxxtest__GlobalFixture_h__
2 #define __cxxtest__GlobalFixture_h__
4 #include <cxxtest/LinkedList.h>
6 namespace CxxTest
7 {
8 class GlobalFixture : public Link
9 {
10 public:
11 virtual bool setUpWorld();
12 virtual bool tearDownWorld();
13 virtual bool setUp();
14 virtual bool tearDown();
16 GlobalFixture();
17 ~GlobalFixture();
19 static GlobalFixture *firstGlobalFixture();
20 static GlobalFixture *lastGlobalFixture();
21 GlobalFixture *nextGlobalFixture();
22 GlobalFixture *prevGlobalFixture();
24 private:
25 static List _list;
26 };
27 }
29 #endif // __cxxtest__GlobalFixture_h__