public class StringKt
| Modifier and Type | Method and Description |
|---|---|
static void |
contains(Assert<java.lang.String> $receiver,
java.lang.CharSequence other,
boolean ignoreCase)
Asserts the string contains the expected string.
|
static void |
doesNotContain(Assert<java.lang.String> $receiver,
java.lang.CharSequence other,
boolean ignoreCase)
Asserts the string does not contain the specified string.
|
static void |
endsWith(Assert<java.lang.String> $receiver,
java.lang.String other,
boolean ignoreCase)
Asserts the string ends with the expected string.
|
static void |
hasLineCount(Assert<java.lang.String> $receiver,
int lineCount)
Asserts the string has the expected number of lines.
|
static void |
isEqualTo(Assert<java.lang.String> $receiver,
java.lang.String other,
boolean ignoreCase)
Asserts the string is equal to the expected string.
|
static void |
isNotEqualTo(Assert<java.lang.String> $receiver,
java.lang.String other,
boolean ignoreCase)
Asserts the string is not equal to the expected string.
|
static void |
matches(Assert<java.lang.String> $receiver,
kotlin.text.Regex regex)
Asserts the string matches the expected regular expression.
|
static void |
startsWith(Assert<java.lang.String> $receiver,
java.lang.String other,
boolean ignoreCase)
Asserts the string starts with the expected string.
|
public static void hasLineCount(Assert<java.lang.String> $receiver, int lineCount)
Asserts the string has the expected number of lines.
public static void isEqualTo(Assert<java.lang.String> $receiver, java.lang.String other, boolean ignoreCase)
Asserts the string is equal to the expected string.
ignoreCase - true to compare ignoring case, the default if false.PrimativeArrayKt.isNotEqualTopublic static void isNotEqualTo(Assert<java.lang.String> $receiver, java.lang.String other, boolean ignoreCase)
Asserts the string is not equal to the expected string.
ignoreCase - true to compare ignoring case, the default if false.PrimativeArrayKt.isEqualTopublic static void contains(Assert<java.lang.String> $receiver, java.lang.CharSequence other, boolean ignoreCase)
Asserts the string contains the expected string.
ignoreCase - true to compare ignoring case, the default if false.public static void doesNotContain(Assert<java.lang.String> $receiver, java.lang.CharSequence other, boolean ignoreCase)
Asserts the string does not contain the specified string.
ignoreCase - true to compare ignoring case, the default if false.public static void startsWith(Assert<java.lang.String> $receiver, java.lang.String other, boolean ignoreCase)
Asserts the string starts with the expected string.
ignoreCase - true to compare ignoring case, the default if false.StringKt.endsWithpublic static void endsWith(Assert<java.lang.String> $receiver, java.lang.String other, boolean ignoreCase)
Asserts the string ends with the expected string.
ignoreCase - true to compare ignoring case, the default if false.StringKt.startsWithpublic static void matches(Assert<java.lang.String> $receiver, kotlin.text.Regex regex)
Asserts the string matches the expected regular expression.