A Discrete-Event Network Simulator
API
test-ns3.NS3QualityControlTestCase Class Reference

ns-3 tests to control the quality of the repository over time, by checking the state of URLs listed and more More...

+ Inheritance diagram for test-ns3.NS3QualityControlTestCase:
+ Collaboration diagram for test-ns3.NS3QualityControlTestCase:

Public Member Functions

def test_01_CheckForDeadLinksInSources (self)
 Test if all urls in source files are alive. More...
 
def test_02_MemoryCheckWithSanitizers (self)
 Test if all tests can be executed without hitting major memory bugs. More...
 
def test_03_CheckImageBrightness (self)
 Check if images in the docs are above a brightness threshold. More...
 

Detailed Description

ns-3 tests to control the quality of the repository over time, by checking the state of URLs listed and more

Definition at line 3175 of file test-ns3.py.

Member Function Documentation

◆ test_01_CheckForDeadLinksInSources()

def test-ns3.NS3QualityControlTestCase.test_01_CheckForDeadLinksInSources (   self)

Test if all urls in source files are alive.

Returns
None

Definition at line 3181 of file test-ns3.py.

References list.

◆ test_02_MemoryCheckWithSanitizers()

def test-ns3.NS3QualityControlTestCase.test_02_MemoryCheckWithSanitizers (   self)

Test if all tests can be executed without hitting major memory bugs.

Returns
None

Definition at line 3361 of file test-ns3.py.

References test-ns3.run_ns3(), and test-ns3.run_program().

+ Here is the call graph for this function:

◆ test_03_CheckImageBrightness()

def test-ns3.NS3QualityControlTestCase.test_03_CheckImageBrightness (   self)

Check if images in the docs are above a brightness threshold.

This should prevent screenshots with dark UI themes.

Returns
None

Definition at line 3374 of file test-ns3.py.

References list.


The documentation for this class was generated from the following file: