1 #ifndef __cxxtest__GlobalFixture_h__
2 #define __cxxtest__GlobalFixture_h__
3 
4 #include <cxxtest/LinkedList.h>
5 
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();
15 
16         GlobalFixture();
17         ~GlobalFixture();
18 
19         static GlobalFixture *firstGlobalFixture();
20         static GlobalFixture *lastGlobalFixture();
21         GlobalFixture *nextGlobalFixture();
22         GlobalFixture *prevGlobalFixture();
23 
24     private:
25         static List _list;
26     };
27 }
28 
29 #endif // __cxxtest__GlobalFixture_h__
30 
31