Public Member Functions | |
FileHeaderTestCase () | |
virtual | ~FileHeaderTestCase () |
![]() | |
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 | |
![]() | |
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 405 of file pcap-file-test-suite.cc.
FileHeaderTestCase::FileHeaderTestCase | ( | ) |
Definition at line 419 of file pcap-file-test-suite.cc.
|
virtual |
Definition at line 424 of file pcap-file-test-suite.cc.
|
privatevirtual |
Definition at line 444 of file pcap-file-test-suite.cc.
References ns3::PcapFile::Close(), ns3::PcapFile::Fail(), ns3::PcapFile::GetDataLinkType(), ns3::PcapFile::GetMagic(), ns3::PcapFile::GetSigFigs(), ns3::PcapFile::GetSnapLen(), ns3::PcapFile::GetSwapMode(), ns3::PcapFile::GetTimeZoneOffset(), ns3::PcapFile::GetVersionMajor(), ns3::PcapFile::GetVersionMinor(), ns3::PcapFile::Init(), m_testFilename, NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, ns3::PcapFile::Open(), and Swap().
|
privatevirtual |
Definition at line 429 of file pcap-file-test-suite.cc.
References ns3::TestCase::CreateTempDirFilename(), and m_testFilename.
|
privatevirtual |
Definition at line 438 of file pcap-file-test-suite.cc.
References m_testFilename.
|
private |
Definition at line 416 of file pcap-file-test-suite.cc.
Referenced by DoRun(), DoSetup(), and DoTeardown().