fieker-DuValspielwiese
Last change
on this file since 8480db was
4aa8610,
checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
|
created libpolys/tests and set up the beginning of a test-suite using cxxtest
|
-
Property mode set to
100644
|
File size:
897 bytes
|
Line | |
---|
1 | #ifndef __cxxtest__GlobalFixture_cpp__ |
---|
2 | #define __cxxtest__GlobalFixture_cpp__ |
---|
3 | |
---|
4 | #include <cxxtest/GlobalFixture.h> |
---|
5 | |
---|
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; } |
---|
12 | |
---|
13 | GlobalFixture::GlobalFixture() { attach( _list ); } |
---|
14 | GlobalFixture::~GlobalFixture() { detach( _list ); } |
---|
15 | |
---|
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 | } |
---|
21 | |
---|
22 | #endif // __cxxtest__GlobalFixture_cpp__ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.