Public Member Functions | |
Ns3TcpNoDelayTestCase (bool noDelay) | |
virtual | ~Ns3TcpNoDelayTestCase () |
![]() | |
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 |
bool | m_noDelay |
TestVectors< uint32_t > | m_responses |
bool | m_writeResults |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
Add an individual test case to this test suite. | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
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 47 of file ns3tcp-no-delay-test-suite.cc.
Ns3TcpNoDelayTestCase::Ns3TcpNoDelayTestCase | ( | bool | noDelay | ) |
Definition at line 64 of file ns3tcp-no-delay-test-suite.cc.
|
inlinevirtual |
Definition at line 51 of file ns3tcp-no-delay-test-suite.cc.
|
privatevirtual |
Definition at line 78 of file ns3tcp-no-delay-test-suite.cc.
References ns3::TestVectors< T >::Add(), ns3::Node::AddApplication(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), ns3::TestVectors< T >::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::TestVectors< T >::GetN(), ns3::PacketSinkHelper::Install(), ns3::InternetStackHelper::InstallAll(), m_inputs, m_noDelay, m_responses, m_writeResults, ns3::MakeCallback(), NS_TEST_ASSERT_MSG_EQ, ns3::TestCase::Run(), ns3::Seconds(), ns3::Ipv4AddressHelper::SetBase(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::Application::SetStartTime(), ns3::Application::SetStopTime(), ns3::SocketWriter::Setup(), SinkRx(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
|
private |
Definition at line 72 of file ns3tcp-no-delay-test-suite.cc.
References ns3::TestVectors< T >::Add(), ns3::Packet::GetSize(), and m_responses.
Referenced by DoRun().
|
private |
Definition at line 60 of file ns3tcp-no-delay-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 55 of file ns3tcp-no-delay-test-suite.cc.
Referenced by DoRun().
|
private |
Definition at line 61 of file ns3tcp-no-delay-test-suite.cc.
|
private |
Definition at line 56 of file ns3tcp-no-delay-test-suite.cc.
Referenced by DoRun().