Loading...
Searching...
No Matches
GlobalFixture.cpp
Go to the documentation of this file.
#ifndef __cxxtest__GlobalFixture_cpp__
#define __cxxtest__GlobalFixture_cpp__
#include <cxxtest/GlobalFixture.h>
namespace CxxTest
{
bool GlobalFixture::setUpWorld() { return true; }
bool GlobalFixture::tearDownWorld() { return true; }
bool GlobalFixture::setUp() { return true; }
bool GlobalFixture::tearDown() { return true; }
GlobalFixture::GlobalFixture() { attach( _list ); }
GlobalFixture::~GlobalFixture() { detach( _list ); }
GlobalFixture *GlobalFixture::firstGlobalFixture() { return (GlobalFixture *)_list.head(); }
GlobalFixture *GlobalFixture::lastGlobalFixture() { return (GlobalFixture *)_list.tail(); }
GlobalFixture *GlobalFixture::nextGlobalFixture() { return (GlobalFixture *)next(); }
GlobalFixture *GlobalFixture::prevGlobalFixture() { return (GlobalFixture *)prev(); }
}
#endif // __cxxtest__GlobalFixture_cpp__
GlobalFixture.h
CxxTest::GlobalFixture::GlobalFixture
GlobalFixture()
Definition GlobalFixture.cpp:13
CxxTest::GlobalFixture::tearDown
virtual bool tearDown()
Definition GlobalFixture.cpp:11
CxxTest::GlobalFixture::prevGlobalFixture
GlobalFixture * prevGlobalFixture()
Definition GlobalFixture.cpp:19
CxxTest::GlobalFixture::setUpWorld
virtual bool setUpWorld()
Definition GlobalFixture.cpp:8
CxxTest::GlobalFixture::nextGlobalFixture
GlobalFixture * nextGlobalFixture()
Definition GlobalFixture.cpp:18
CxxTest::GlobalFixture::setUp
virtual bool setUp()
Definition GlobalFixture.cpp:10
CxxTest::GlobalFixture::lastGlobalFixture
static GlobalFixture * lastGlobalFixture()
Definition GlobalFixture.cpp:17
CxxTest::GlobalFixture::_list
static List _list
Definition GlobalFixture.h:25
CxxTest::GlobalFixture::~GlobalFixture
~GlobalFixture()
Definition GlobalFixture.cpp:14
CxxTest::GlobalFixture::firstGlobalFixture
static GlobalFixture * firstGlobalFixture()
Definition GlobalFixture.cpp:16
CxxTest::GlobalFixture::tearDownWorld
virtual bool tearDownWorld()
Definition GlobalFixture.cpp:9
CxxTest::Link::next
Link * next()
Definition LinkedList.cpp:113
CxxTest::Link::detach
void detach(List &l)
Definition LinkedList.cpp:158
CxxTest::Link::attach
void attach(List &l)
Definition LinkedList.cpp:145
CxxTest::Link::prev
Link * prev()
Definition LinkedList.cpp:121
CxxTest
Definition Descriptions.cpp:7