|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldContainCharSequence
public class ShouldContainCharSequence
Creates an error message indicating that an assertion that verifies that a CharSequence
contains another
CharSequence
failed.
Field Summary |
---|
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory |
---|
arguments, format |
Method Summary | |
---|---|
static ErrorMessageFactory |
shouldContain(CharSequence actual,
CharSequence sequence)
Creates a new . |
static ErrorMessageFactory |
shouldContain(CharSequence actual,
CharSequence[] strings,
Set<? extends CharSequence> notFound)
Creates a new . |
static ErrorMessageFactory |
shouldContain(CharSequence actual,
CharSequence[] strings,
Set<? extends CharSequence> notFound,
ComparisonStrategy comparisonStrategy)
Creates a new . |
static ErrorMessageFactory |
shouldContain(CharSequence actual,
CharSequence sequence,
ComparisonStrategy comparisonStrategy)
Creates a new . |
static ErrorMessageFactory |
shouldContainIgnoringCase(CharSequence actual,
CharSequence sequence)
Creates a new . |
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory |
---|
create, create, equals, hashCode, toString, unquotedString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ErrorMessageFactory shouldContain(CharSequence actual, CharSequence sequence)
ShouldContainCharSequence
.
actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.
ErrorMessageFactory
.public static ErrorMessageFactory shouldContain(CharSequence actual, CharSequence sequence, ComparisonStrategy comparisonStrategy)
ShouldContainCharSequence
.
actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.
ErrorMessageFactory
.public static ErrorMessageFactory shouldContain(CharSequence actual, CharSequence[] strings, Set<? extends CharSequence> notFound, ComparisonStrategy comparisonStrategy)
ShouldContainCharSequence
.
actual
- the actual value in the failed assertion.strings
- the sequence of values expected to be in actual
.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.
ErrorMessageFactory
.public static ErrorMessageFactory shouldContain(CharSequence actual, CharSequence[] strings, Set<? extends CharSequence> notFound)
ShouldContainCharSequence
.
actual
- the actual value in the failed assertion.strings
- the sequence of values expected to be in actual
.
ErrorMessageFactory
.public static ErrorMessageFactory shouldContainIgnoringCase(CharSequence actual, CharSequence sequence)
ShouldContainCharSequence
.
actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.
ErrorMessageFactory
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |