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

 test_01_CheckForDeadLinksInSources (self)
 Test if all urls in source files are alive.
 
 test_02_MemoryCheckWithSanitizers (self)
 Test if all tests can be executed without hitting major memory bugs.
 
 test_03_CheckImageBrightness (self)
 Check if images in the docs are above a brightness threshold.
 
 test_04_CheckForBrokenLogs (self)
 Check if one of the log statements of examples/tests contains/exposes a bug.
 

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 3190 of file test-ns3.py.

Member Function Documentation

◆ test_01_CheckForDeadLinksInSources()

test-ns3.NS3QualityControlTestCase.test_01_CheckForDeadLinksInSources ( self)

Test if all urls in source files are alive.

Returns
None

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

◆ test_02_MemoryCheckWithSanitizers()

test-ns3.NS3QualityControlTestCase.test_02_MemoryCheckWithSanitizers ( self)

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

Returns
None

Definition at line 3376 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()

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 3389 of file test-ns3.py.

◆ test_04_CheckForBrokenLogs()

test-ns3.NS3QualityControlTestCase.test_04_CheckForBrokenLogs ( self)

Check if one of the log statements of examples/tests contains/exposes a bug.

Returns
None

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

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

+ Here is the call graph for this function:

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