Skip to main content

I32BitTimeAssertions

Short summary

This interface provides assert statements for 32 bit TIME

AccessAbstractFinalExtendsImplements
-NoNo__SYSTEM.IQueryInterface-

UML Diagram

Methods

timeHasExpired

  • Parameters:
    • timestamp (TIME): start time you get it with TIME()
    • expiringTime (TIME): timeout like t#300ms
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks whether time has elapsed since the timestamp time

timeHasNotExpired

  • Parameters:
    • timestamp (TIME): start time you get it with TIME()
    • expiringTime (TIME): timeout like t#300ms
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks that the time since the timestamp time has not yet elapsed

valueIsEqualTo

  • Parameters:
    • currentValue (TIME): current value to check
    • expectedValue (TIME): expected value to compare
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is equal to the expected value

valueIsGreaterThan

  • Parameters:
    • currentValue (TIME): current value to check
    • lessValue (TIME): less than lower limit
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is greater than the less value

valueIsInRangeOf

  • Parameters:
    • lowerLimit (TIME): lower limit for the current value
    • currentValue (TIME): current value to check
    • upperLimit (TIME): upper limit for the current value
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is inside a limit

valueIsLessThan

  • Parameters:
    • currentValue (TIME): current value to check
    • greaterValue (TIME): greater than upper limit
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is less than the greater value

valueIsMax

  • Parameters:
    • currentValue (TIME): current value to check
    • maximumValue (TIME): upper limit for the current value
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is less than or equal to the maximum value

valueIsMin

  • Parameters:
    • currentValue (TIME): current value to check
    • minimumValue (TIME): lower limit for the current value
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is greater than or equal to the minimum value

valueIsNotEqualTo

  • Parameters:
    • currentValue (TIME): current value to check
    • unexpectedValue (TIME): unexpected value to compare
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if the current value is not equal to the unexpected value

Code

Declaration

INTERFACE I32BitTimeAssertions EXTENDS __SYSTEM.IQueryInterface