Public Member Functions | Private Attributes | List of all members
run-unit-tests.TestConfigFromText Class Reference
Inheritance diagram for run-unit-tests.TestConfigFromText:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, source, line_prefix)
 

Private Attributes

 _priority
 
 _timeout
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Data Documentation

run-unit-tests.TestConfigFromText._priority
private

Definition at line 314 of file run-unit-tests.py.

run-unit-tests.TestConfigFromText._timeout
private

Definition at line 319 of file run-unit-tests.py.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43