Public Member Functions | |
DualStackTestCase () | |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
virtual void | DoTeardown (void) |
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 | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
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.
ns3::DualStackTestCase::DualStackTestCase | ( | ) |
Definition at line 222 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr1, receivedAddr2, receivedAddr3, and receivedAddr4.
|
privatevirtual |
Definition at line 232 of file ipv6-dual-stack-test-suite.cc.
References ns3::Socket::Bind(), ns3::Socket::Connect(), ns3::InetSocketAddress::ConvertFrom(), ns3::Inet6SocketAddress::ConvertFrom(), ns3::Ipv4Address::GetAny(), ns3::Ipv6Address::GetAny(), ns3::Address::IsInvalid(), ns3::InetSocketAddress::IsMatchingType(), ns3::Inet6SocketAddress::IsMatchingType(), ns3::Socket::Listen(), ns3::MakeCallback(), ns3::MakeNullCallback(), NS_TEST_EXPECT_MSG_EQ, receivedAddr1, receivedAddr2, receivedAddr3, receivedAddr4, ns3::TestCase::Run(), server1, server2, server3, server4, ServerHandleConnectionCreated1(), ServerHandleConnectionCreated2(), ServerHandleConnectionCreated3(), ServerHandleConnectionCreated4(), ns3::Socket::SetAcceptCallback(), SetUpSim(), source1, source2, source3, and source4.
|
privatevirtual |
Definition at line 297 of file ipv6-dual-stack-test-suite.cc.
References ns3::Simulator::Destroy().
|
private |
Definition at line 194 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr1.
Referenced by DoRun().
|
private |
Definition at line 201 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr2.
Referenced by DoRun().
|
private |
Definition at line 208 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr3.
Referenced by DoRun().
|
private |
Definition at line 215 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr4.
Referenced by DoRun().
|
private |
Definition at line 163 of file ipv6-dual-stack-test-suite.cc.
References ns3::AddSimpleNetDevice(), ns3::CreateDualStackNode(), ns3::Socket::CreateSocket(), ns3::Object::GetObject(), node0, node1, server1, server2, server3, server4, ns3::SimpleNetDevice::SetChannel(), source1, source2, source3, and source4.
Referenced by DoRun().
Definition at line 64 of file ipv6-dual-stack-test-suite.cc.
Referenced by SetUpSim().
Definition at line 65 of file ipv6-dual-stack-test-suite.cc.
Referenced by wifi_intrastructure_link.WifiLink::destroy(), and SetUpSim().
|
private |
Definition at line 82 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), DualStackTestCase(), and ServerHandleConnectionCreated1().
|
private |
Definition at line 83 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), DualStackTestCase(), and ServerHandleConnectionCreated2().
|
private |
Definition at line 84 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), DualStackTestCase(), and ServerHandleConnectionCreated3().
|
private |
Definition at line 85 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), DualStackTestCase(), and ServerHandleConnectionCreated4().
Definition at line 72 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 73 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 74 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 75 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 77 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 78 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 79 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().
Definition at line 80 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and SetUpSim().