|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of StringAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return StringAssert | |
---|---|
StringAssert |
StringAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
StringAssert |
StringAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static StringAssert |
Assertions.assertThat(String actual)
Creates a new instance of . |
StringAssert |
StringAssert.contains(String expected)
Verifies that the actual String contains the given one. |
StringAssert |
StringAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
StringAssert |
StringAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
StringAssert |
StringAssert.doesNotMatch(String regex)
Verifies that the actual String does not match the given one. |
StringAssert |
StringAssert.doesNotSatisfy(Condition<String> condition)
Verifies that the actual String does not satisfy the given condition. |
StringAssert |
StringAssert.endsWith(String expected)
Verifies that the actual String ends with the given one. |
StringAssert |
StringAssert.excludes(String s)
Verifies that the actual String does not contains the given one. |
StringAssert |
StringAssert.hasSize(int expected)
Verifies that the number of characters in the actual String is equal to the given one. |
StringAssert |
StringAssert.is(Condition<String> condition)
Alias for . |
StringAssert |
StringAssert.isEqualTo(String expected)
Verifies that the actual String is equal to the given one. |
StringAssert |
StringAssert.isNot(Condition<String> condition)
Alias for . |
StringAssert |
StringAssert.isNotEmpty()
Verifies that the actual String contains at least on character. |
StringAssert |
StringAssert.isNotEqualTo(String other)
Verifies that the actual String is not equal to the given one. |
StringAssert |
StringAssert.isNotNull()
Verifies that the actual String is not null . |
StringAssert |
StringAssert.isNotSameAs(String other)
Verifies that the actual String is not the same as the given one. |
StringAssert |
StringAssert.isSameAs(String expected)
Verifies that the actual String is the same as the given one. |
StringAssert |
StringAssert.matches(String regex)
Verifies that the actual String matches the given one. |
StringAssert |
StringAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
StringAssert |
StringAssert.satisfies(Condition<String> condition)
Verifies that the actual String satisfies the given condition. |
StringAssert |
StringAssert.startsWith(String expected)
Verifies that the actual String starts with the given one. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |