Uses of Interface
org.fest.assertions.error.AssertionErrorFactory
-
Packages that use AssertionErrorFactory Package Description org.fest.assertions.error org.fest.assertions.internal -
-
Uses of AssertionErrorFactory in org.fest.assertions.error
Classes in org.fest.assertions.error that implement AssertionErrorFactory Modifier and Type Class Description class
ShouldBeEqual
Creates an
indicating that an assertion that verifies that two objects are equal failed.AssertionError
Methods in org.fest.assertions.error that return AssertionErrorFactory Modifier and Type Method Description static AssertionErrorFactory
ShouldBeEqual. shouldBeEqual(java.lang.Object actual, java.lang.Object expected)
Creates a new
.ShouldBeEqual
static AssertionErrorFactory
ShouldBeEqual. shouldBeEqual(java.lang.Object actual, java.lang.Object expected, ComparisonStrategy comparisonStrategy)
Creates a new
.ShouldBeEqual
-
Uses of AssertionErrorFactory in org.fest.assertions.internal
Methods in org.fest.assertions.internal with parameters of type AssertionErrorFactory Modifier and Type Method Description java.lang.AssertionError
Failures. failure(AssertionInfo info, AssertionErrorFactory factory)
Creates a
following this pattern: creates aAssertionError
usingAssertionError
as the error message if such value is notAssertionInfo.overridingErrorMessage()
null
, or uses the given
to create anAssertionErrorFactory
, prepending the value ofAssertionError
to the error messageAssertionInfo.description()
-