A Discrete-Event Network Simulator
API
AODV module tests
+ Collaboration diagram for AODV module tests:

Classes

class  ns3::aodv::AodvLoopbackTestSuite
 AODV Loopback test suite. More...
 
class  AodvRegressionTestSuite
 AODV regression test suite. More...
 
struct  ns3::aodv::AodvRtableEntryTest
 Unit test for AODV routing table entry. More...
 
struct  ns3::aodv::AodvRtableTest
 Unit test for AODV routing table. More...
 
class  ns3::aodv::AodvTestSuite
 AODV test suite. More...
 
class  ns3::aodv::IdCacheTest
 Unit test for id cache. More...
 
class  ns3::aodv::IdCacheTestSuite
 Id Cache Test Suite. More...
 
struct  ns3::aodv::NeighborTest
 Unit test for neighbors. More...
 
struct  ns3::aodv::QueueEntryTest
 Unit test for AODV routing table entry. More...
 
struct  ns3::aodv::RerrHeaderTest
 Unit test for RERR. More...
 
struct  ns3::aodv::RrepAckHeaderTest
 Unit test for RREP-ACK. More...
 
struct  ns3::aodv::RrepHeaderTest
 Unit test for RREP. More...
 
struct  ns3::aodv::RreqHeaderTest
 Unit test for RREQ. More...
 
struct  ns3::aodv::TypeHeaderTest
 Type header test case. More...
 

Functions

 ChainRegressionTest::ChainRegressionTest (const char *const prefix, Time time=Seconds(10), uint32_t size=5, Time arpAliveTimeout=Seconds(120))
 Create test case. More...
 

Variables

ns3::aodv::AodvLoopbackTestSuite ns3::aodv::g_aodvLoopbackTestSuite
 the test suite More...
 
AodvRegressionTestSuite g_aodvRegressionTestSuite
 the test suite More...
 
ns3::aodv::AodvTestSuite ns3::aodv::g_aodvTestSuite
 the test suite More...
 
ns3::aodv::IdCacheTestSuite ns3::aodv::g_idCacheTestSuite
 the test suite More...
 

Detailed Description

Function Documentation

◆ ChainRegressionTest()

ChainRegressionTest::ChainRegressionTest ( const char *const  prefix,
Time  time = Seconds(10),
uint32_t  size = 5,
Time  arpAliveTimeout = Seconds(120) 
)

Create test case.

Chain Regression Test.

Parameters
prefixUnique file names prefix
sizeNumber of nodes in the chain
timeSimulation time
arpAliveTimeoutARP alive timeout, this is used to check that ARP and routing do not interfere

Definition at line 74 of file aodv-regression.cc.

Variable Documentation

◆ g_aodvLoopbackTestSuite

ns3::aodv::AodvLoopbackTestSuite ns3::aodv::g_aodvLoopbackTestSuite

the test suite

◆ g_aodvRegressionTestSuite

AodvRegressionTestSuite g_aodvRegressionTestSuite

the test suite

◆ g_aodvTestSuite

ns3::aodv::AodvTestSuite ns3::aodv::g_aodvTestSuite

the test suite

◆ g_idCacheTestSuite

ns3::aodv::IdCacheTestSuite ns3::aodv::g_idCacheTestSuite

the test suite