AODV deferred route lookup test case (see bug 772) More...
#include <bug-772.h>
Inheritance diagram for ns3::aodv::Bug772ChainTest:Public Member Functions | |
| Bug772ChainTest (const char *const prefix, const char *const proto, Time time, uint32_t size) | |
Private Member Functions | |
| void | CheckResults () |
| Compare traces with reference ones. | |
| void | CreateDevices () |
| Create devices, install TCP/IP stack and applications. | |
| void | CreateNodes () |
| Create test topology. | |
| void | DoRun () |
| Go. | |
Private Attributes | |
| NodeContainer * | m_nodes |
| XXX It is important to have pointers here. | |
| const std::string | m_prefix |
| PCAP file names prefix. | |
| const std::string | m_proto |
| Socket factory TID. | |
| const uint32_t | m_size |
| Chain size. | |
| const double | m_step |
| Chain step, meters. | |
| const Time | m_time |
| Total simulation time. | |
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 test case to this test suite. More... | |
| void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
| Add an individual test case 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 deferred route lookup test case (see bug 772)
TODO: describe expected packet trace
| ns3::aodv::Bug772ChainTest::Bug772ChainTest | ( | const char *const | prefix, |
| const char *const | proto, | ||
| Time | time, | ||
| uint32_t | size | ||
| ) |
Create test case
| prefix | Unique file names prefix |
| proto | ns3::UdpSocketFactory or ns3::TcpSocketFactory |
| size | Number of nodes in the chain |
| time | Simulation time |
Definition at line 57 of file bug-772.cc.