Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <AbstractCellBasedTestSuite.hpp>
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.
|
inlineprotected |
Overridden setUp() method. Initialises singleton classes.
Definition at line 64 of file AbstractCellBasedTestSuite.hpp.
References SimulationTime::Instance(), RandomNumberGenerator::Instance(), RandomNumberGenerator::Reseed(), CellId::ResetMaxCellId(), and SimulationTime::SetStartTime().
Referenced by AbstractCellBasedWithTimingsTestSuite::setUp().
|
inlineprotected |
Overridden teardown() method. Clears up singleton classes.
Definition at line 76 of file AbstractCellBasedTestSuite.hpp.
References CellPropertyRegistry::Clear(), SimulationTime::Destroy(), RandomNumberGenerator::Destroy(), and CellPropertyRegistry::Instance().
Referenced by AbstractCellBasedWithTimingsTestSuite::tearDown().