|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.ShouldContainString
public class ShouldContainString
Creates an error message indicating that an assertion that verifies that a String
contains another
String
failed.
Method Summary | |
---|---|
static ErrorMessageFactory |
shouldContain(String actual,
String sequence)
Creates a new . |
static ErrorMessageFactory |
shouldContain(String actual,
String sequence,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
static ErrorMessageFactory |
shouldContainIgnoringCase(String actual,
String sequence)
Creates a new . |
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory |
---|
create, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ErrorMessageFactory shouldContain(String actual, String sequence)
ShouldContainString
.
actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.
ErrorMessageFactory
.public static ErrorMessageFactory shouldContain(String actual, String sequence, org.fest.util.ComparisonStrategy comparisonStrategy)
ShouldContainString
.
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 shouldContainIgnoringCase(String actual, String sequence)
ShouldContainString
.
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 |