ns-3 tests to check if the source code, whitespaces and CMake formatting are according to the coding style More...
Public Member Functions | |
None | setUp (self) |
Import GitRepo and load the original diff state of the repository before the tests. | |
test_01_CheckCMakeFormat (self) | |
Check if there is any difference between tracked file after applying cmake-format. | |
Static Public Attributes | |
repo = None | |
Holds the GitRepo's repository object # noqa. | |
starting_diff = None | |
Holds the original diff, which must be maintained by each and every case tested # noqa. | |
ns-3 tests to check if the source code, whitespaces and CMake formatting are according to the coding style
Definition at line 536 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 547 of file test-ns3.py.
test-ns3.NS3StyleTestCase.test_01_CheckCMakeFormat | ( | self | ) |
Check if there is any difference between tracked file after applying cmake-format.
Definition at line 574 of file test-ns3.py.
References test-ns3.run_ns3().
|
static |
Holds the GitRepo's repository object # noqa.
Definition at line 545 of file test-ns3.py.
|
static |
Holds the original diff, which must be maintained by each and every case tested # noqa.
Definition at line 543 of file test-ns3.py.