Public Member Functions | |
Ns3TcpSocketTestCase2 () | |
virtual | ~Ns3TcpSocketTestCase2 () |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
void | SinkRx (std::string path, Ptr< const Packet > p, const Address &address) |
Private Attributes | |
TestVectors< uint32_t > | m_inputs |
TestVectors< uint32_t > | m_responses |
bool | m_writeResults |
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 153 of file ns3tcp-socket-test-suite.cc.
Ns3TcpSocketTestCase2::Ns3TcpSocketTestCase2 | ( | ) |
Definition at line 169 of file ns3tcp-socket-test-suite.cc.
|
inlinevirtual |
Definition at line 157 of file ns3tcp-socket-test-suite.cc.
|
privatevirtual |
Definition at line 182 of file ns3tcp-socket-test-suite.cc.
References ns3::TestVectors< T >::Add(), ns3::Node::AddApplication(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), ns3::NodeContainer::Create(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::NodeContainer::Get(), ns3::TestVectors< T >::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::TestVectors< T >::GetN(), ns3::PacketSinkHelper::Install(), ns3::CsmaHelper::Install(), ns3::InternetStackHelper::InstallAll(), m_inputs, m_responses, m_writeResults, ns3::MakeCallback(), NS_TEST_ASSERT_MSG_EQ, ns3::TestCase::Run(), ns3::Seconds(), ns3::Ipv4AddressHelper::SetBase(), ns3::CsmaHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Application::SetStartTime(), ns3::Application::SetStopTime(), ns3::SocketWriter::Setup(), SinkRx(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
|
private |
Definition at line 176 of file ns3tcp-socket-test-suite.cc.
References ns3::TestVectors< T >::Add(), ns3::Packet::GetSize(), and m_responses.
Referenced by DoRun().
|
private |
Definition at line 165 of file ns3tcp-socket-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 166 of file ns3tcp-socket-test-suite.cc.
|
private |
Definition at line 161 of file ns3tcp-socket-test-suite.cc.
Referenced by DoRun().