Public Member Functions | |
ReadFileTestCase () | |
virtual | ~ReadFileTestCase () |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
virtual void | DoRun (void) |
virtual void | DoSetup (void) |
virtual void | DoTeardown (void) |
Private Attributes | |
std::string | m_testFilename |
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 944 of file pcap-file-test-suite.cc.
ReadFileTestCase::ReadFileTestCase | ( | ) |
Definition at line 958 of file pcap-file-test-suite.cc.
|
virtual |
Definition at line 963 of file pcap-file-test-suite.cc.
|
privatevirtual |
Definition at line 1005 of file pcap-file-test-suite.cc.
References ns3::PcapFile::Close(), ns3::TestCase::CreateDataDirFilename(), data, ns3::PcapFile::Eof(), ns3::PcapFile::Fail(), PacketEntry::inclLen, knownPackets, N_KNOWN_PACKETS, N_PACKET_BYTES, NS_TEST_ASSERT_MSG_EQ, ns3::PcapFile::Open(), PacketEntry::origLen, ns3::PcapFile::Read(), PacketEntry::tsSec, and PacketEntry::tsUsec.
|
privatevirtual |
Definition at line 968 of file pcap-file-test-suite.cc.
|
privatevirtual |
Definition at line 973 of file pcap-file-test-suite.cc.
|
private |
Definition at line 955 of file pcap-file-test-suite.cc.