IByteAssertions
Short summary
This interface provides assert statements for bytes
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | __SYSTEM.IQueryInterface | - |
UML Diagram
Methods
andMaskIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationexpectedValue(BYTE): expected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise AND mask is equal to the expected value…
andMaskIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationunexpectedValue(BYTE): unexpected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise AND mask…
bitXIsEqualTo
- Parameters:
currentValue(BYTE): current value to checknumber(BitNumberByte): number of bit to checkexpectedValue(BOOL): expected value of bitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the selected bit of current value…
bitXIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checknumber(BitNumberByte): number of bit to checkunexpectedValue(BOOL): unexpected value of bitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the selected bit of current value…
bitXIsSet
- Parameters:
currentValue(BYTE): current value to checknumber(BitNumberByte): number of bit to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the selected bit of current value…
bitXIsUnset
- Parameters:
currentValue(BYTE): current value to checknumber(BitNumberByte): number of bit to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the selected bit of current value…
lsbIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkexpectedValue(BOOL): expected value of lsbmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the least significant bit of current value…
lsbIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checkunexpectedValue(BOOL): unexpected value of lsbmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the least significant bit of current value…
lsbIsSet
- Parameters:
currentValue(BYTE): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the least significant bit of current value…
lsbIsUnset
- Parameters:
currentValue(BYTE): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the least significant bit of current value…
msbIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkexpectedValue(BOOL): expected value of msbmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the most significant bit of current value…
msbIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checkunexpectedValue(BOOL): unexpected value of msbmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the most significant bit of current value…
msbIsSet
- Parameters:
currentValue(BYTE): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the most significant bit of current value…
msbIsUnset
- Parameters:
currentValue(BYTE): current value to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the most significant bit of current value…
orMaskIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationexpectedValue(BYTE): expected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise OR mask is equal to the expected value…
orMaskIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationunexpectedValue(BYTE): unexpected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise OR mask …
valueIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkexpectedValue(BYTE): expected value to comparemessage(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(BYTE): current value to checklessValue(BYTE): less than lower limitmessage(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(BYTE): lower limit for the current valuecurrentValue(BYTE): current value to checkupperLimit(BYTE): upper limit for the current valuemessage(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(BYTE): current value to checkgreaterValue(BYTE): greater than upper limitmessage(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(BYTE): current value to checkmaximumValue(BYTE): upper limit for the current valuemessage(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(BYTE): current value to checkminimumValue(BYTE): lower limit for the current valuemessage(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(BYTE): current value to checkunexpectedValue(BYTE): unexpected value to comparemessage(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…
xorMaskIsEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationexpectedValue(BYTE): expected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise XOR mask is equal to the expected value…
xorMaskIsNotEqualTo
- Parameters:
currentValue(BYTE): current value to checkmask(BYTE): 2nd operand for bitwise operationunexpectedValue(BYTE): unexpected result after maskingmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the result current value bitwise XOR mask …
Code
Declaration
INTERFACE IByteAssertions EXTENDS __SYSTEM.IQueryInterface