A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
def test_02_MemoryCheckWithSanitizers (self)
 Test if all tests can be executed without hitting major memory bugs.
 
def test_03_CheckImageBrightness (self)
 Check if images in the docs are above a brightness threshold.
 

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 3178 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 3184 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 3364 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 3377 of file test-ns3.py.

References list.


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