diff options
Diffstat (limited to 'cxxtest/GlobalFixture.h')
-rw-r--r-- | cxxtest/GlobalFixture.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cxxtest/GlobalFixture.h b/cxxtest/GlobalFixture.h new file mode 100644 index 0000000..c817363 --- /dev/null +++ b/cxxtest/GlobalFixture.h @@ -0,0 +1,30 @@ +#ifndef __cxxtest__GlobalFixture_h__ +#define __cxxtest__GlobalFixture_h__ + +#include <cxxtest/LinkedList.h> + +namespace CxxTest +{ + class GlobalFixture : public Link + { + public: + virtual bool setUpWorld(); + virtual bool tearDownWorld(); + virtual bool setUp(); + virtual bool tearDown(); + + GlobalFixture(); + ~GlobalFixture(); + + static GlobalFixture *firstGlobalFixture(); + static GlobalFixture *lastGlobalFixture(); + GlobalFixture *nextGlobalFixture(); + GlobalFixture *prevGlobalFixture(); + + private: + static List _list; + }; +} + +#endif // __cxxtest__GlobalFixture_h__ + |