Generic test case with basic function inherited by more complex tests. More...
Public Member Functions | |
config_ok (self, return_code, stdout, stderr) | |
Check if configuration for release mode worked normally. | |
setUp (self) | |
Clean configuration/build artifacts before testing configuration and build settings After configuring the build as release, check if configuration worked and check expected output files. | |
Public Attributes | |
ns3_executables | |
ns3_executables holds a list of executables in .lock-ns3 # noqa | |
ns3_modules | |
ns3_modules holds a list to the modules enabled stored in .lock-ns3 # noqa | |
Generic test case with basic function inherited by more complex tests.
Definition at line 787 of file test-ns3.py.
test-ns3.NS3BaseTestCase.config_ok | ( | self, | |
return_code, | |||
stdout, | |||
stderr ) |
Check if configuration for release mode worked normally.
return_code | return code from CMake |
stdout | output from CMake. |
stderr | error from CMake. |
Definition at line 792 of file test-ns3.py.
Referenced by test-ns3.NS3BaseTestCase.setUp(), test-ns3.NS3ExpectedUseTestCase.setUp(), test-ns3.NS3ConfigureTestCase.test_01_Examples(), test-ns3.NS3ConfigureTestCase.test_02_Tests(), test-ns3.NS3ConfigureTestCase.test_03_EnableModules(), test-ns3.NS3ConfigureTestCase.test_04_DisableModules(), test-ns3.NS3ConfigureTestCase.test_05_EnableModulesComma(), test-ns3.NS3ConfigureTestCase.test_06_DisableModulesComma(), test-ns3.NS3BuildBaseTestCase.test_06_TestVersionFile(), test-ns3.NS3BuildBaseTestCase.test_07_OutputDirectory(), test-ns3.NS3BuildBaseTestCase.test_08_InstallationAndUninstallation(), test-ns3.NS3ConfigureTestCase.test_19_FilterModuleExamplesAndTests(), and test-ns3.NS3ConfigureTestCase.test_25_CheckBareConfig().
test-ns3.NS3BaseTestCase.setUp | ( | self | ) |
Clean configuration/build artifacts before testing configuration and build settings After configuring the build as release, check if configuration worked and check expected output files.
Reimplemented in test-ns3.NS3BuildBaseTestCase, test-ns3.NS3ConfigureTestCase, and test-ns3.NS3ExpectedUseTestCase.
Definition at line 805 of file test-ns3.py.
References test-ns3.NS3BaseTestCase.config_ok(), test-ns3.run_ns3(), and test-ns3.NS3BaseTestCase.setUp().
Referenced by test-ns3.NS3BaseTestCase.setUp().
test-ns3.NS3BaseTestCase.ns3_executables |
ns3_executables holds a list of executables in .lock-ns3 # noqa
Definition at line 827 of file test-ns3.py.
Referenced by test-ns3.NS3BuildBaseTestCase.test_07_OutputDirectory(), test-ns3.NS3ExpectedUseTestCase.test_14_EnableSudo(), and test-ns3.NS3ConfigureTestCase.test_19_FilterModuleExamplesAndTests().
test-ns3.NS3BaseTestCase.ns3_modules |
ns3_modules holds a list to the modules enabled stored in .lock-ns3 # noqa
Definition at line 832 of file test-ns3.py.
Referenced by test-ns3.NS3ConfigureTestCase.test_04_DisableModules(), test-ns3.NS3ConfigureTestCase.test_05_EnableModulesComma(), test-ns3.NS3ConfigureTestCase.test_06_DisableModulesComma(), and test-ns3.NS3ConfigureTestCase.test_19_FilterModuleExamplesAndTests().