Public Member Functions | |
TimeSimpleTestCase (enum Time::Unit resolution) | |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
virtual void | DoSetup (void) |
virtual void | DoTeardown (void) |
Private Attributes | |
enum Time::Unit | m_originalResolution |
enum Time::Unit | m_resolution |
Additional Inherited Members | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
Definition at line 27 of file time-test-suite.cc.
ns3::TimeSimpleTestCase::TimeSimpleTestCase | ( | enum Time::Unit | resolution | ) |
Definition at line 39 of file time-test-suite.cc.
|
privatevirtual |
Definition at line 52 of file time-test-suite.cc.
References ns3::FemtoSeconds(), ns3::Time::GetNanoSeconds(), m_resolution, ns3::MicroSeconds(), ns3::MilliSeconds(), ns3::NanoSeconds(), NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_EQ_TOL, ns3::PicoSeconds(), ns3::Seconds(), ns3::Time::SetResolution(), and ns3::TimeStep().
|
privatevirtual |
Definition at line 46 of file time-test-suite.cc.
References ns3::Time::GetResolution(), and m_originalResolution.
|
privatevirtual |
Definition at line 76 of file time-test-suite.cc.
References m_originalResolution, and ns3::Time::SetResolution().
|
private |
Definition at line 35 of file time-test-suite.cc.
Referenced by DoSetup(), and DoTeardown().
|
private |
Definition at line 36 of file time-test-suite.cc.
Referenced by DoRun().