public interface StringConditions extends Conditions<String>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(CharSequence charSequence)
Check that this contains the given sequence of characters.
|
boolean |
endsWith(String suffix)
Check that this ends with the given string.
|
boolean |
equalTo(String anotherString)
Check that this is equal to with the given string.
|
boolean |
equalToIgnoreCase(String anotherString)
Check that this is equal to with the given string, ignoring case.
|
boolean |
matches(Pattern pattern)
Check that this matches the given regular expression pattern.
|
boolean |
matches(String regex)
Check that this matches the given regular expression string.
|
StringConditions |
not()
Negates this condition object.
|
boolean |
startsWith(String prefix)
Check that this starts with the given string.
|
verifyStringConditions not()
Conditionsnot in interface Conditions<String>boolean contains(CharSequence charSequence)
charSequence - sequence of charactersboolean startsWith(String prefix)
prefix - stringboolean endsWith(String suffix)
suffix - stringboolean equalTo(String anotherString)
anotherString - another stringboolean equalToIgnoreCase(String anotherString)
anotherString - another stringboolean matches(String regex)
regex - regular expression stringboolean matches(Pattern pattern)
pattern - regular expression patternCopyright © 2016 FluentLenium. All Rights Reserved.