Test string Command Line processing. More...
Public Member Functions | |
CommandLineStringTestCase () | |
Constructor. More... | |
virtual | ~CommandLineStringTestCase () |
Destructor. More... | |
![]() | |
CommandLineTestCaseBase (std::string description) | |
Constructor. More... | |
virtual | ~CommandLineTestCaseBase () |
Destructor. More... | |
void | Parse (CommandLine &cmd, int n,...) |
Excercise the CommandLine with the provided arguments. More... | |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
Private Member Functions | |
virtual void | DoRun (void) |
Run the test. More... | |
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 child TestCase case to this TestCase. More... | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
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) |
Test string Command Line processing.
Definition at line 205 of file command-line-test-suite.cc.
CommandLineStringTestCase::CommandLineStringTestCase | ( | ) |
Constructor.
Definition at line 216 of file command-line-test-suite.cc.
|
inlinevirtual |
Destructor.
Definition at line 209 of file command-line-test-suite.cc.
|
privatevirtual |
Run the test.
Implements ns3::TestCase.
Definition at line 222 of file command-line-test-suite.cc.
References ns3::CommandLine::AddValue(), NS_TEST_ASSERT_MSG_EQ, and CommandLineTestCaseBase::Parse().