Public Member Functions | |
RttTestCase (double mean, double variance, double gain) | |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
virtual void | DoTeardown (void) |
Private Attributes | |
double | m_gain |
double | m_mean |
double | m_variance |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
Add an individual test case to this test suite. | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
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 28 of file rtt-test.cc.
RttTestCase::RttTestCase | ( | double | mean, |
double | variance, | ||
double | gain | ||
) |
Definition at line 45 of file rtt-test.cc.
|
privatevirtual |
Definition at line 56 of file rtt-test.cc.
References ns3::RttEstimator::GetCurrentEstimate(), ns3::Time::GetMilliSeconds(), m_gain, m_mean, m_variance, ns3::RttMeanDeviation::Measurement(), ns3::MilliSeconds(), NS_TEST_ASSERT_MSG_EQ_TOL, NS_TEST_EXPECT_MSG_EQ, ns3::RttMeanDeviation::RetransmitTimeout(), ns3::Seconds(), ns3::ObjectBase::SetAttribute(), and ns3::Config::SetDefault().
|
privatevirtual |
Definition at line 92 of file rtt-test.cc.
|
private |
Definition at line 41 of file rtt-test.cc.
Referenced by DoRun().
|
private |
Definition at line 39 of file rtt-test.cc.
Referenced by DoRun().
|
private |
Definition at line 40 of file rtt-test.cc.
Referenced by DoRun().