Public Member Functions | |
DualStackTestCase () | |
Public Member Functions inherited from ns3::TestCase | |
virtual | ~TestCase () |
Destructor. More... | |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
virtual void | DoTeardown (void) |
Implementation to do any local setup required for this TestCase. More... | |
void | ServerHandleConnectionCreated1 (Ptr< Socket > s, const Address &addr) |
void | ServerHandleConnectionCreated2 (Ptr< Socket > s, const Address &addr) |
void | ServerHandleConnectionCreated3 (Ptr< Socket > s, const Address &addr) |
void | ServerHandleConnectionCreated4 (Ptr< Socket > s, const Address &addr) |
void | SetUpSim () |
Private Attributes | |
Ptr< Node > | node0 |
Ptr< Node > | node1 |
Address | receivedAddr1 |
Address | receivedAddr2 |
Address | receivedAddr3 |
Address | receivedAddr4 |
Ptr< Socket > | server1 |
Ptr< Socket > | server2 |
Ptr< Socket > | server3 |
Ptr< Socket > | server4 |
Ptr< Socket > | source1 |
Ptr< Socket > | source2 |
Ptr< Socket > | source3 |
Ptr< Socket > | source4 |
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) |
Definition at line 55 of file ipv6-dual-stack-test-suite.cc.
DualStackTestCase::DualStackTestCase | ( | ) |
Definition at line 222 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr1, receivedAddr2, receivedAddr3, and receivedAddr4.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 232 of file ipv6-dual-stack-test-suite.cc.
References ns3::Socket::Bind(), ns3::Socket::Connect(), ns3::Address::IsInvalid(), ns3::Socket::Listen(), ns3::MakeCallback(), ns3::MakeNullCallback(), NS_TEST_EXPECT_MSG_EQ, receivedAddr1, receivedAddr2, receivedAddr3, receivedAddr4, server1, server2, server3, server4, ServerHandleConnectionCreated1(), ServerHandleConnectionCreated2(), ServerHandleConnectionCreated3(), ServerHandleConnectionCreated4(), ns3::Socket::SetAcceptCallback(), SetUpSim(), source1, source2, source3, and source4.
|
privatevirtual |
Implementation to do any local setup required for this TestCase.
Subclasses should override this method to perform any costly per-test teardown
Reimplemented from ns3::TestCase.
Definition at line 297 of file ipv6-dual-stack-test-suite.cc.
|
private |
Definition at line 194 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 201 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 208 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 215 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 163 of file ipv6-dual-stack-test-suite.cc.
References AddSimpleNetDevice(), CreateDualStackNode(), ns3::SocketFactory::CreateSocket(), ns3::Socket::CreateSocket(), and ns3::SimpleNetDevice::SetChannel().
Referenced by DoRun().
Definition at line 64 of file ipv6-dual-stack-test-suite.cc.
Definition at line 65 of file ipv6-dual-stack-test-suite.cc.
Referenced by wifi_intrastructure_link.WifiLink::destroy().
|
private |
Definition at line 82 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
|
private |
Definition at line 83 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
|
private |
Definition at line 84 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
|
private |
Definition at line 85 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
Definition at line 72 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 73 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 74 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 75 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 77 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 78 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 79 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Definition at line 80 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().