#include <AbstractCellBasedTestSuite.hpp>
Inherits CxxTest::TestSuite.
Inherited by AbstractCellBasedWithTimingsTestSuite.
Protected Member Functions | |
void | setUp () |
void | tearDown () |
This class provides setUp and tearDown methods that are common to many cell_based test suites. Such suites may inherit from this class to avoid having to redefine them.
Note that the subclasses of CxxTest::TestSuite need to have names that end with the characters "TestSuite", due to our hack of cxxtest (see r3168 and #593).
Definition at line 58 of file AbstractCellBasedTestSuite.hpp.
void AbstractCellBasedTestSuite::setUp | ( | ) | [inline, protected] |
Overridden setUp() method. Initialises singleton classes.
Reimplemented in AbstractCellBasedWithTimingsTestSuite.
Definition at line 64 of file AbstractCellBasedTestSuite.hpp.
References CellPropertyRegistry::Clear(), CellPropertyRegistry::Instance(), RandomNumberGenerator::Instance(), SimulationTime::Instance(), RandomNumberGenerator::Reseed(), CellId::ResetMaxCellId(), and SimulationTime::SetStartTime().
void AbstractCellBasedTestSuite::tearDown | ( | ) | [inline, protected] |
Overridden teardown() method. Clears up singleton classes.
Reimplemented in AbstractCellBasedWithTimingsTestSuite.
Definition at line 75 of file AbstractCellBasedTestSuite.hpp.
References RandomNumberGenerator::Destroy(), and SimulationTime::Destroy().