AODV ping 127.0.0.1 test case. More...
#include <loopback.h>
Public Member Functions | |
LoopbackTestCase () | |
void | DoRun () |
Run test. More... | |
Public Member Functions inherited from ns3::TestCase | |
virtual | ~TestCase () |
Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Protected Member Functions inherited from ns3::TestCase | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
Add an individual child TestCase case to this TestCase. More... | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
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) |
AODV ping 127.0.0.1 test case.
Definition at line 35 of file loopback.h.
|
inline |
Definition at line 37 of file loopback.h.
|
virtual |
Run test.
Implements ns3::TestCase.
Definition at line 57 of file loopback.cc.
References ns3::Names::Add(), ns3::Node::AddApplication(), first::address, ns3::Object::AggregateObject(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), ns3::YansWifiChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::YansWifiChannelHelper::Default(), ns3::NqosWifiMacHelper::Default(), ns3::WifiHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Simulator::Destroy(), first::devices, ns3::aodv::g_count(), ns3::NodeContainer::Get(), ns3::Ipv4Address::GetLoopback(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), first::interfaces, ns3::MakeCallback(), first::nodes, NS_TEST_ASSERT_MSG_EQ, ns3::aodv::PingRtt(), ns3::Simulator::Run(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::MobilityModel::SetPosition(), ns3::WifiHelper::SetRemoteStationManager(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::NqosWifiMacHelper::SetType(), and ns3::Simulator::Stop().