Public Member Functions | |
Ns3WimaxSchedulingTestCase () | |
virtual | ~Ns3WimaxSchedulingTestCase () |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
bool | DoRunOnce (WimaxHelper::SchedulerType scheduler) |
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, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
void | SetDataDir (std::string directory) |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
Log the failure of this TestCase. More... | |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
Definition at line 41 of file qos-test.cc.
Ns3WimaxSchedulingTestCase::Ns3WimaxSchedulingTestCase | ( | ) |
Definition at line 53 of file qos-test.cc.
|
virtual |
Definition at line 58 of file qos-test.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 146 of file qos-test.cc.
References DoRunOnce().
|
private |
Definition at line 63 of file qos-test.cc.
References first::address, ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), ns3::WimaxHelper::CreateServiceFlow(), ns3::NetDeviceContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::InternetStackHelper::Install(), ns3::WimaxHelper::Install(), ns3::Seconds(), ns3::Ipv4AddressHelper::SetBase(), and first::stack.
Referenced by DoRun().