TestCenter Reference
TestSupport.TestHelper.SpecialMessage Class Reference

Stores an additional message (usually the unformatted version) with a log message. More...

Public Member Functions

 add (cls, message, specialMessage)
 get (cls, message)

Static Public Attributes

 specialMessageMarker = re.compile(r".*<MLAB TC=(\d+)\/>")
int currentSpecialMessageId = 0
dict specialMessages = {}

Detailed Description

Stores an additional message (usually the unformatted version) with a log message.

Definition at line 42 of file TestHelper.py.

Member Function Documentation

◆ add()

TestSupport.TestHelper.SpecialMessage.add ( cls,
message,
specialMessage )

Definition at line 50 of file TestHelper.py.

References currentSpecialMessageId, and specialMessages.

◆ get()

TestSupport.TestHelper.SpecialMessage.get ( cls,
message )

Definition at line 57 of file TestHelper.py.

References get(), specialMessageMarker, and specialMessages.

Referenced by get().

Member Data Documentation

◆ currentSpecialMessageId

int TestSupport.TestHelper.SpecialMessage.currentSpecialMessageId = 0
static

Definition at line 46 of file TestHelper.py.

Referenced by add().

◆ specialMessageMarker

TestSupport.TestHelper.SpecialMessage.specialMessageMarker = re.compile(r".*<MLAB TC=(\d+)\/>")
static

Definition at line 45 of file TestHelper.py.

Referenced by get().

◆ specialMessages

dict TestSupport.TestHelper.SpecialMessage.specialMessages = {}
static

Definition at line 47 of file TestHelper.py.

Referenced by add(), and get().


The documentation for this class was generated from the following file:
  • MeVisLab/Standard/Modules/Scripts/python/TestSupport/TestHelper.py