ns-3 tests related to checking if source files were left behind, not being used by CMake More...
Public Member Functions | |
def | setUp (self) |
Scan all C++ source files and add them to a list based on their path. More... | |
def | test_01_UnusedExampleSources (self) |
Test if all example source files are being used in their respective CMakeLists.txt. More... | |
def | test_02_UnusedModuleSources (self) |
Test if all module source files are being used in their respective CMakeLists.txt. More... | |
def | test_03_UnusedUtilsSources (self) |
Test if all utils source files are being used in their respective CMakeLists.txt. More... | |
Static Public Attributes | |
dictionary | directory_and_files = {} |
dictionary containing directories with .cc source files # noqa More... | |
ns-3 tests related to checking if source files were left behind, not being used by CMake
Definition at line 262 of file test-ns3.py.
def test-ns3.NS3UnusedSourcesTestCase.setUp | ( | self | ) |
Scan all C++ source files and add them to a list based on their path.
Definition at line 270 of file test-ns3.py.
References test-ns3.NS3UnusedSourcesTestCase.directory_and_files.
def test-ns3.NS3UnusedSourcesTestCase.test_01_UnusedExampleSources | ( | self | ) |
Test if all example source files are being used in their respective CMakeLists.txt.
Definition at line 286 of file test-ns3.py.
References test-ns3.NS3UnusedSourcesTestCase.directory_and_files, and list.
def test-ns3.NS3UnusedSourcesTestCase.test_02_UnusedModuleSources | ( | self | ) |
Test if all module source files are being used in their respective CMakeLists.txt.
Definition at line 311 of file test-ns3.py.
References test-ns3.NS3UnusedSourcesTestCase.directory_and_files, and list.
def test-ns3.NS3UnusedSourcesTestCase.test_03_UnusedUtilsSources | ( | self | ) |
Test if all utils source files are being used in their respective CMakeLists.txt.
Definition at line 354 of file test-ns3.py.
References test-ns3.NS3UnusedSourcesTestCase.directory_and_files, and list.
|
static |
dictionary containing directories with .cc source files # noqa
Definition at line 268 of file test-ns3.py.
Referenced by test-ns3.NS3UnusedSourcesTestCase.setUp(), test-ns3.NS3UnusedSourcesTestCase.test_01_UnusedExampleSources(), test-ns3.NS3UnusedSourcesTestCase.test_02_UnusedModuleSources(), and test-ns3.NS3UnusedSourcesTestCase.test_03_UnusedUtilsSources().