TestCenter Reference
TestSupport.Generic Namespace Reference

Functions

 getTestsToOmit (moduleName)
 
 logThatTestWasOmittedByConfiguration (testIdentifier)
 
 isTestOmittedAndLogIfSo (moduleName, testIdentifier)
 
 isTestOmitted (moduleName, testIdentifier)
 

Variables

str TESTS_TO_OMIT_TAG = 'testsToOmit'
 
str FORMAL_TEST_IDENTIFIER = 'formal'
 
str ALL_TESTS_IDENTIFIER = 'all'
 
str EXAMPLE_NETWORK_TEST_IDENTIFIER = 'example_network'
 
str PANEL_TEST_IDENTIFIER = 'open_panel'
 

Detailed Description

Shared code for generic tests

Function Documentation

◆ getTestsToOmit()

TestSupport.Generic.getTestsToOmit ( moduleName)
Return list of tests to omit for this module.
If the module does not define this tag or if it is empty, an empty list
is returned.

Definition at line 24 of file Generic.py.

Referenced by TestSupport.Generic.isTestOmitted(), GenericTest.SharedTest.testOmitAll(), GenericTest.SharedTest.testOmitBoth(), and GenericTest.SharedTest.testOmitNothing().

◆ isTestOmitted()

TestSupport.Generic.isTestOmitted ( moduleName,
testIdentifier )

◆ isTestOmittedAndLogIfSo()

TestSupport.Generic.isTestOmittedAndLogIfSo ( moduleName,
testIdentifier )

Definition at line 41 of file Generic.py.

References TestSupport.Generic.isTestOmitted().

◆ logThatTestWasOmittedByConfiguration()

TestSupport.Generic.logThatTestWasOmittedByConfiguration ( testIdentifier)

Definition at line 38 of file Generic.py.

Variable Documentation

◆ ALL_TESTS_IDENTIFIER

str TestSupport.Generic.ALL_TESTS_IDENTIFIER = 'all'

Definition at line 20 of file Generic.py.

◆ EXAMPLE_NETWORK_TEST_IDENTIFIER

str TestSupport.Generic.EXAMPLE_NETWORK_TEST_IDENTIFIER = 'example_network'

Definition at line 21 of file Generic.py.

◆ FORMAL_TEST_IDENTIFIER

str TestSupport.Generic.FORMAL_TEST_IDENTIFIER = 'formal'

Definition at line 19 of file Generic.py.

◆ PANEL_TEST_IDENTIFIER

str TestSupport.Generic.PANEL_TEST_IDENTIFIER = 'open_panel'

Definition at line 22 of file Generic.py.

◆ TESTS_TO_OMIT_TAG

str TestSupport.Generic.TESTS_TO_OMIT_TAG = 'testsToOmit'

Definition at line 18 of file Generic.py.