
Public Member Functions | |
| def | __init__ (self, source, line_prefix) |
Private Attributes | |
| _priority | |
| _timeout | |
Configuration for a test -- from any text-based syntax with a given prefix, e.g. for python:
#test:usb2
#test:device L500* D400*
#test:retries 3
#test:priority 0
And, for C++ the prefix could be:
//#test:...
Definition at line 276 of file run-unit-tests.py.
| def run-unit-tests.TestConfigFromText.__init__ | ( | self, | |
| source, | |||
| line_prefix | |||
| ) |
:param source: The path to the text file
:param line_prefix: A regex to denote a directive (must be first thing in a line), which will
be immediately followed by the directive itself and optional arguments
Definition at line 286 of file run-unit-tests.py.
|
private |
Definition at line 314 of file run-unit-tests.py.
|
private |
Definition at line 319 of file run-unit-tests.py.