Skip to main content

IBinaryAssertions

Short summary

This interface provides assert statements for binaries e.g. structures, arrays etc...

AccessAbstractFinalExtendsImplements
-NoNo__SYSTEM.IQueryInterface-

UML Diagram

Methods

isEqualTo

  • Parameters:
    • data (ANY): current binary data
    • dataToCompare (ANY): binary data with the expected values
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if all bytes of memory of

isGreaterThan

  • Parameters:
    • data (ANY): current binary data
    • dataToCompare (ANY): binary data with smaller values
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks the bytes of memory of

isLessThan

  • Parameters:
    • data (ANY): current binary data
    • dataToCompare (ANY): binary data with greater values
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks the bytes of memory of

isNotEqualTo

  • Parameters:
    • data (ANY): current binary data
    • dataToCompare (ANY): binary data with the unexpected values
    • message (AssertMessage): message if the assertion is false
  • Return type: VOID

This assertion method checks if minimal one byte of memory of

Code

Declaration

INTERFACE IBinaryAssertions EXTENDS __SYSTEM.IQueryInterface