ns-3 tests to check if the source code, whitespaces and CMake formatting are according to the coding style More...
Inheritance diagram for test-ns3.NS3StyleTestCase:
Collaboration diagram for test-ns3.NS3StyleTestCase:Public Member Functions | |
| None | setUp (self) |
| Import GitRepo and load the original diff state of the repository before the tests. More... | |
| def | test_01_CheckCMakeFormat (self) |
| Check if there is any difference between tracked file after applying cmake-format. More... | |
Static Public Attributes | |
| repo = None | |
| Holds the GitRepo's repository object # noqa. More... | |
| starting_diff = None | |
| Holds the original diff, which must be maintained by each and every case tested # noqa. More... | |
ns-3 tests to check if the source code, whitespaces and CMake formatting are according to the coding style
Definition at line 392 of file test-ns3.py.
| None test-ns3.NS3StyleTestCase.setUp | ( | self | ) |
Import GitRepo and load the original diff state of the repository before the tests.
Definition at line 403 of file test-ns3.py.
| def test-ns3.NS3StyleTestCase.test_01_CheckCMakeFormat | ( | self | ) |
Check if there is any difference between tracked file after applying cmake-format.
Definition at line 431 of file test-ns3.py.
References test-ns3.run_ns3().
Here is the call graph for this function:
|
static |
Holds the GitRepo's repository object # noqa.
Definition at line 401 of file test-ns3.py.
|
static |
Holds the original diff, which must be maintained by each and every case tested # noqa.
Definition at line 399 of file test-ns3.py.