TestCenter Reference
TestCenterAdvanced.Master.TestCaseTimer Class Reference

Public Member Functions

 __init__ (self, seconds)
 extendTimeout (self, seconds)
 getSecondsRemaining (self)
 isExpired (self)

Public Attributes

 start = time.monotonic()
 availableSeconds = seconds

Detailed Description

Definition at line 54 of file Master.py.

Constructor & Destructor Documentation

◆ __init__()

TestCenterAdvanced.Master.TestCaseTimer.__init__ ( self,
seconds )

Definition at line 55 of file Master.py.

Member Function Documentation

◆ extendTimeout()

TestCenterAdvanced.Master.TestCaseTimer.extendTimeout ( self,
seconds )

Definition at line 59 of file Master.py.

References availableSeconds.

◆ getSecondsRemaining()

TestCenterAdvanced.Master.TestCaseTimer.getSecondsRemaining ( self)

Definition at line 62 of file Master.py.

References availableSeconds, and start.

Referenced by isExpired().

◆ isExpired()

TestCenterAdvanced.Master.TestCaseTimer.isExpired ( self)

Definition at line 66 of file Master.py.

References getSecondsRemaining().

Member Data Documentation

◆ availableSeconds

TestCenterAdvanced.Master.TestCaseTimer.availableSeconds = seconds

Definition at line 57 of file Master.py.

Referenced by extendTimeout(), and getSecondsRemaining().

◆ start

TestCenterAdvanced.Master.TestCaseTimer.start = time.monotonic()

Definition at line 56 of file Master.py.

Referenced by getSecondsRemaining().


The documentation for this class was generated from the following file:
  • MeVisLab/Standard/Modules/Macros/Tests/TestCenterAdvanced/Master.py