Check that all templates are instantiated correctly. More...
Public Member Functions | |
SimulatorTemplateTestCase () | |
void | Ref (void) const |
Ref and Unref - only here for testing of Ptr<> More... | |
void | Unref (void) const |
Ref and Unref - only here for testing of Ptr<> More... | |
Public Member Functions inherited from ns3::TestCase | |
TestCase (const TestCase &)=delete | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
TestCase & | operator= (const TestCase &)=delete |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
void | bar0 (void) |
Function used for scheduling. More... | |
void | bar1 (int) |
Function used for scheduling. More... | |
void | bar2 (int, int) |
Function used for scheduling. More... | |
void | bar3 (int, int, int) |
Function used for scheduling. More... | |
void | bar4 (int, int, int, int) |
Function used for scheduling. More... | |
void | bar5 (int, int, int, int, int) |
Function used for scheduling. More... | |
void | baz1 (int &) |
Function used for scheduling. More... | |
void | baz2 (int &, int &) |
Function used for scheduling. More... | |
void | baz3 (int &, int &, int &) |
Function used for scheduling. More... | |
void | baz4 (int &, int &, int &, int &) |
Function used for scheduling. More... | |
void | baz5 (int &, int &, int &, int &, int &) |
Function used for scheduling. More... | |
void | cbaz1 (const int &) |
Function used for scheduling. More... | |
void | cbaz2 (const int &, const int &) |
Function used for scheduling. More... | |
void | cbaz3 (const int &, const int &, const int &) |
Function used for scheduling. More... | |
void | cbaz4 (const int &, const int &, const int &, const int &) |
Function used for scheduling. More... | |
void | cbaz5 (const int &, const int &, const int &, const int &, const int &) |
Function used for scheduling. More... | |
void | bar0c (void) const |
Function used for scheduling. More... | |
void | bar1c (int) const |
Function used for scheduling. More... | |
void | bar2c (int, int) const |
Function used for scheduling. More... | |
void | bar3c (int, int, int) const |
Function used for scheduling. More... | |
void | bar4c (int, int, int, int) const |
Function used for scheduling. More... | |
void | bar5c (int, int, int, int, int) const |
Function used for scheduling. More... | |
void | baz1c (int &) const |
Function used for scheduling. More... | |
void | baz2c (int &, int &) const |
Function used for scheduling. More... | |
void | baz3c (int &, int &, int &) const |
Function used for scheduling. More... | |
void | baz4c (int &, int &, int &, int &) const |
Function used for scheduling. More... | |
void | baz5c (int &, int &, int &, int &, int &) const |
Function used for scheduling. More... | |
void | cbaz1c (const int &) const |
Function used for scheduling. More... | |
void | cbaz2c (const int &, const int &) const |
Function used for scheduling. More... | |
void | cbaz3c (const int &, const int &, const int &) const |
Function used for scheduling. More... | |
void | cbaz4c (const int &, const int &, const int &, const int &) const |
Function used for scheduling. More... | |
void | cbaz5c (const int &, const int &, const int &, const int &, const int &) const |
Function used for scheduling. More... | |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
enum | TestDuration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Protected Member Functions inherited from ns3::TestCase | |
TestCase (std::string name) | |
Constructor. More... | |
void | AddTestCase (TestCase *testCase, TestDuration duration=QUICK) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () const |
Get the parent of this TestCsse. More... | |
bool | IsStatusFailure (void) const |
Check if any tests failed. More... | |
bool | IsStatusSuccess (void) const |
Check if all tests passed. More... | |
void | SetDataDir (std::string directory) |
Set the data directory where reference trace files can be found. More... | |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
Log the failure of this TestCase. More... | |
bool | MustAssertOnFailure (void) const |
Check if this run should assert on failure. More... | |
bool | MustContinueOnFailure (void) const |
Check if this run should continue on failure. More... | |
std::string | CreateDataDirFilename (std::string filename) |
Construct the full path to a file in the data directory. More... | |
std::string | CreateTempDirFilename (std::string filename) |
Construct the full path to a file in a temporary directory. More... | |
Check that all templates are instantiated correctly.
This is a compilation test, it cannot fail at runtime.
Definition at line 223 of file simulator-test-suite.cc.
SimulatorTemplateTestCase::SimulatorTemplateTestCase | ( | ) |
Definition at line 322 of file simulator-test-suite.cc.
|
inlineprivate |
Function used for scheduling.
Definition at line 245 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 262 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 246 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 263 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 247 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 264 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 248 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 265 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 249 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 266 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 250 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 267 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 251 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 268 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 252 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 269 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 253 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 270 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 254 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 271 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 255 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 272 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 256 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 273 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 257 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 274 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 258 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 275 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 259 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 276 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 260 of file simulator-test-suite.cc.
Referenced by DoRun().
|
inlineprivate |
Function used for scheduling.
Definition at line 277 of file simulator-test-suite.cc.
Referenced by DoRun().
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 326 of file simulator-test-suite.cc.
References bar0(), bar0c(), bar1(), bar1c(), bar2(), bar2c(), bar3(), bar3c(), bar4(), bar4c(), bar5(), bar5c(), baz1(), baz1c(), baz2(), baz2c(), baz3(), baz3c(), baz4(), baz4c(), baz5(), baz5c(), ber1(), ber2(), ber3(), ber4(), ber5(), cbaz1(), cbaz1c(), cbaz2(), cbaz2c(), cbaz3(), cbaz3c(), cbaz4(), cbaz4c(), cbaz5(), cbaz5c(), cber1(), cber2(), cber3(), cber4(), cber5(), foo0(), foo1(), foo2(), foo3(), foo4(), foo5(), and ns3::Seconds().
|
inline |
Ref and Unref - only here for testing of Ptr<>
Definition at line 232 of file simulator-test-suite.cc.
|
inline |
Ref and Unref - only here for testing of Ptr<>
Definition at line 233 of file simulator-test-suite.cc.