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 More...

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

Public Member Functions

 test_01_CheckImageBrightness (self)
 Check if images in the docs are above a brightness threshold.
 
 test_02_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

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

Member Function Documentation

◆ test_01_CheckImageBrightness()

test-ns3.NS3QualityControlTestCase.test_01_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 3201 of file test-ns3.py.

◆ test_02_CheckForBrokenLogs()

test-ns3.NS3QualityControlTestCase.test_02_CheckForBrokenLogs ( self)

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

Returns
None

Definition at line 3237 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: