IUtf16StringAssertions
Short summary
This interface provides assert statements for UTF-16 strings until 255 WORD length
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | __SYSTEM.IQueryInterface | - |
UML Diagram
Methods
contains
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checksearchString(( Tc2_System.MAX_STRING_LENGTH )): string must be found instringToCheckmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal toonormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method for UTF-16 strings checks if the current string stringToCheck contains the search string searchString…
containsNo
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checksearchString(( Tc2_System.MAX_STRING_LENGTH )): string that must not be found instringToCheckmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal toonormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method for UTF-16 strings checks if the current string stringToCheck contains not the search string searchString…
endsWith
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkend(( Tc2_System.MAX_STRING_LENGTH )): expected end ofstringToCheckmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal tootrim(BOOL):TRUEmeans truncation of spaces on the right side ofstringToChecknormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method for UTF-16 strings checks if the current string stringToCheck ends with the string end…
isEmpty
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck is empty…
isEqualTo
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkexpected(( Tc2_System.MAX_STRING_LENGTH )):stringToCheckmust be equal to expectedmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal toonormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method checks if the current string stringToCheck is equal to expected…
isNotEmpty
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck is not empty…
isNotEqualTo
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkunexpected(( Tc2_System.MAX_STRING_LENGTH )):stringToCheckmust be not equal to expectedmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal toonormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method checks if the current string stringToCheck is not equal to unexpected…
lengthIsBetween
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkminLength(USINT): lower limit of the string lengthmaxLength(USINT): upper limit of the string lengthstringLengthUnit(UnicodeStringLengthUnit): string length units of measurementmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck length…
lengthIsExact
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkexpectedLength(USINT): expected length ofstringToCheckstringLengthUnit(UnicodeStringLengthUnit): string length units of measurementmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck length…
lengthIsMax
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkmaxLength(USINT): upper limit of the length ofstringToCheckstringLengthUnit(UnicodeStringLengthUnit): string length units of measurementmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck length…
lengthIsMin
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkminLength(USINT): lower limit of the length ofstringToCheckstringLengthUnit(UnicodeStringLengthUnit): string length units of measurementmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current string stringToCheck length…
startsWith
- Parameters:
stringToCheck(( Tc2_System.MAX_STRING_LENGTH )): current string to checkstart(( Tc2_System.MAX_STRING_LENGTH )): expected start ofstringToCheckmessage(AssertMessage): message if the assertion is falseignoreCases(BOOL):TRUEmeans ignore cases;FALSEmeans cases must be equal tootrim(BOOL):TRUEmeans truncation of spaces on the left side ofstringToChecknormalizeStrings(BOOL): normalize both strings for check
- Return type:
VOID
This assertion method checks if the current string stringToCheck starts with start…
Code
Declaration
INTERFACE IUtf16StringAssertions EXTENDS __SYSTEM.IQueryInterface