|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ErrorMessageFactory | |
---|---|
org.fest.assertions.error | |
org.fest.assertions.internal |
Uses of ErrorMessageFactory in org.fest.assertions.error |
---|
Classes in org.fest.assertions.error that implement ErrorMessageFactory | |
---|---|
class |
BasicErrorMessageFactory
A factory of error messages typically shown when an assertion fails. |
class |
ConditionAndGroupGenericParameterTypeShouldBeTheSame
Creates an error message indicating that an assertion that verifies type of elements of group and Condition A group of elements can be a
collection, an array. |
class |
ElementsShouldBe
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldBeAtLeast
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldBeAtMost
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldBeExactly
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldHave
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldHaveAtLeast
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldHaveAtMost
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldHaveExactly
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotBe
Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotBeAtLeast
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotBeAtMost
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotBeExactly
Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotHave
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotHaveAtLeast
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotHaveAtMost
Creates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times a Condition
A group of elements can be a collection, an array. |
class |
ElementsShouldNotHaveExactly
Creates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times a Condition
A group of elements can be a collection, an array. |
class |
ShouldBe
Creates an error message indicating that an assertion that verifies that a value satisfies a failed. |
class |
ShouldBeAbsolutePath
Creates an error message indicating that an assertion that verifies that a is an absolute
path failed. |
class |
ShouldBeAfter
Creates an error message indicating that an assertion that verifies that a Date is after another one failed. |
class |
ShouldBeAfterOrEqualsTo
Creates an error message indicating that an assertion that verifies that a Date is after or equals to another one failed. |
class |
ShouldBeBefore
Creates an error message indicating that an assertion that verifies that a Date is before another one failed. |
class |
ShouldBeBeforeOrEqualsTo
Creates an error message indicating that an assertion that verifies that a Date is before or equals to another one failed. |
class |
ShouldBeBetween
Creates an error message indicating that an assertion that verifies that a Date is between start - end dates
(inclusive or not) failed. |
class |
ShouldBeCloseTo
Creates an error message indicating that an assertion that verifies that a Date is close to another one from
some delta failed. |
class |
ShouldBeDirectory
Creates an error message indicating that an assertion that verifies that a is an existing
directory failed. |
class |
ShouldBeEmpty
Creates an error message indicating that an assertion that verifies a group of elements is empty failed. |
class |
ShouldBeEqualColors
Creates an error message indicating that an assertion that verifies that a two colors are equal at a given point fails. |
class |
ShouldBeEqualIgnoringCase
Creates an error message indicating that an assertion that verifies that two String s are equal, ignoring
case considerations, failed. |
class |
ShouldBeEqualImages
Creates an error message that indicates an assertion that verifies that two images are equal failed. |
class |
ShouldBeEqualWithinOffset
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed. |
class |
ShouldBeExactlyInstanceOf
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed. |
class |
ShouldBeFile
Creates an error message indicating that an assertion that verifies that a is an existing
file failed. |
class |
ShouldBeGreater
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed. |
class |
ShouldBeGreaterOrEqual
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed. |
class |
ShouldBeIn
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g. an array or collection) failed. |
class |
ShouldBeInSameDay
Creates an error message indicating that an assertion that verifies that a Date is in same year, month and
day of month as another one failed. |
class |
ShouldBeInSameHour
Creates an error message indicating that an assertion that verifies that a Date is in same year, month,
day of month and hour as another one failed. |
class |
ShouldBeInSameMillisecond
Creates an error message indicating that an assertion that verifies that a Date is in same year, month, day
of month, hour, minute, second adn millisecond as another one failed. |
class |
ShouldBeInSameMinute
Creates an error message indicating that an assertion that verifies that a Date is in same year, month, day
of month, hour and minute as another one failed. |
class |
ShouldBeInSameMonth
Creates an error message indicating that an assertion that verifies that a Date is in same year and month as another one failed. |
class |
ShouldBeInSameSecond
Creates an error message indicating that an assertion that verifies that a Date is in same year, month, day
of month, hour, minute and second as another one failed. |
class |
ShouldBeInSameYear
Creates an error message indicating that an assertion that verifies that a Date is in same year as another one failed. |
class |
ShouldBeInstance
Creates an error message indicating that an assertion that verifies that an object is an instance of some type failed. |
class |
ShouldBeInstanceOfAny
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed. |
class |
ShouldBeInTheFuture
Creates an error message indicating that an assertion that verifies that a Date is in the future failed. |
class |
ShouldBeInThePast
Creates an error message indicating that an assertion that verifies that a Date is in the past failed. |
class |
ShouldBeLess
Creates an error message indicating that an assertion that verifies that a value is less than another one failed. |
class |
ShouldBeLessOrEqual
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed. |
class |
ShouldBeLowerCase
Creates an error message that indicates an assertion that verifies that a character is lowercase failed. |
class |
ShouldBeNullOrEmpty
Creates an error message indicating that an assertion that verifies a group of elements is null or empty
failed. |
class |
ShouldBeRelativePath
Creates an error message indicating that an assertion that verifies that a is a relative
path failed. |
class |
ShouldBeSame
Creates an error message indicating that an assertion that verifies that two object refer to same object failed. |
class |
ShouldBeSorted
Creates an error message indicating that an assertion that verifies a group of elements is sorted failed. |
class |
ShouldBeSubsetOf
Creates an error message indicating that an assertion that verifies that an Iterable is
a subset of an other set Iterable failed. |
class |
ShouldBeToday
Creates an error message indicating that an assertion that verifies that a Date is today (matching only year, month and day but not hours). |
class |
ShouldBeUpperCase
Creates an error message that indicates an assertion that verifies that a character is uppercase failed. |
class |
ShouldBeWithin
Creates an error message indicating that an assertion that verifies that a Date is within a year, month, day, ... failed. |
class |
ShouldContain
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed. |
class |
ShouldContainAtIndex
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed. |
class |
ShouldContainNull
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed. |
class |
ShouldContainOnly
Creates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and nothing else failed. |
class |
ShouldContainSequence
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed. |
class |
ShouldContainString
Creates an error message indicating that an assertion that verifies that a String contains another
String failed. |
class |
ShouldEndWith
Creates an error message indicating that an assertion that verifies that a group of elements ends with a given value or sequence of values failed. |
class |
ShouldExist
Creates an error message indicating that an assertion that verifies that a exists failed. |
class |
ShouldHave
Creates an error message indicating that an assertion that verifies that a value satisfies a failed. |
class |
ShouldHaveEqualContent
Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed. |
class |
ShouldHaveMessage
Creates an error message indicating that an assertion that verifies that a Throwable have certain message failed. |
class |
ShouldHaveNoCause
Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed. |
class |
ShouldHaveSize
Creates an error message indicating that an assertion that verifies that a value have certain size failed. |
class |
ShouldMatchPattern
Creates an error message indicating that an assertion that verifies that a String matches a pattern failed. |
class |
ShouldNotBe
Creates an error message indicating that an assertion that verifies that a value does not satisfy a failed. |
class |
ShouldNotBeBetween
Creates an error message indicating that an assertion that verifies that a Date is not between start - end
dates (inclusive or not) failed. |
class |
ShouldNotBeEmpty
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed. |
class |
ShouldNotBeEqual
Creates an error message indicating that an assertion that verifies that two objects are not equal failed. |
class |
ShouldNotBeEqualImages
Creates an error message that indicates an assertion that verifies that two images should not be null failed. |
class |
ShouldNotBeIn
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g. an array or collection) failed. |
class |
ShouldNotBeNull
Creates an error message that indicates an assertion that verifies that an object is not null failed. |
class |
ShouldNotBeSame
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed. |
class |
ShouldNotContain
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed. |
class |
ShouldNotContainAtIndex
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given index failed. |
class |
ShouldNotContainNull
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed. |
class |
ShouldNotContainString
Creates an error message indicating that an assertion that verifies that a String does not contain another
String failed. |
class |
ShouldNotExist
Creates an error message indicating that an assertion that verifies that a does not exist
failed. |
class |
ShouldNotHave
Creates an error message indicating that an assertion that verifies that a value does not satisfy a failed. |
class |
ShouldNotHaveDuplicates
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed. |
class |
ShouldNotMatchPattern
Creates an error message indicating that an assertion that verifies that a String does not match a pattern
failed. |
class |
ShouldStartWith
Creates an error message indicating that an assertion that verifies that a group of elements starts with a given value or sequence of values failed. |
Methods in org.fest.assertions.error that return ErrorMessageFactory | ||
---|---|---|
static
|
ElementsShouldBe.elementsShouldBe(Object actual,
Object notSatisfies,
Condition<E> condition)
Creates a new ElementsShouldBe . |
|
static
|
ElementsShouldBeAtLeast.elementsShouldBeAtLeast(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldBeAtLeast . |
|
static
|
ElementsShouldBeAtMost.elementsShouldBeAtMost(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldBeAtMost . |
|
static
|
ElementsShouldBeExactly.elementsShouldBeExactly(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldBeExactly . |
|
static
|
ElementsShouldHave.elementsShouldHave(Object actual,
Object notSatisfies,
Condition<E> condition)
Creates a new ElementsShouldHave . |
|
static
|
ElementsShouldHaveAtLeast.elementsShouldHaveAtLeast(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldHaveAtLeast . |
|
static
|
ElementsShouldHaveAtMost.elementsShouldHaveAtMost(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldHaveAtMost . |
|
static
|
ElementsShouldHaveExactly.elementsShouldHaveExactly(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldHaveExactly . |
|
static
|
ElementsShouldNotBe.elementsShouldNotBe(Object actual,
Object satisfies,
Condition<E> condition)
Creates a new ElementsShouldNotBe . |
|
static
|
ElementsShouldNotBeAtLeast.elementsShouldNotBeAtLeast(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotBeAtLeast . |
|
static
|
ElementsShouldNotBeAtMost.elementsShouldNotBeAtMost(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotBeAtMost . |
|
static
|
ElementsShouldNotBeExactly.elementsShouldNotBeExactly(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotBeExactly . |
|
static
|
ElementsShouldNotHave.elementsShouldNotHave(Object actual,
Object notSatisfies,
Condition<E> condition)
Creates a new ElementsShouldNotHave . |
|
static
|
ElementsShouldNotHaveAtLeast.elementsShouldNotHaveAtLeast(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotHaveAtLeast . |
|
static
|
ElementsShouldNotHaveAtMost.elementsShouldNotHaveAtMost(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotHaveAtMost . |
|
static
|
ElementsShouldNotHaveExactly.elementsShouldNotHaveExactly(Object actual,
int times,
Condition<E> condition)
Creates a new ElementsShouldNotHaveExactly . |
|
static
|
ShouldBe.shouldBe(T actual,
Condition<T> condition)
Creates a new ShouldBe . |
|
static ErrorMessageFactory |
ShouldBeAbsolutePath.shouldBeAbsolutePath(File actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeAfter.shouldBeAfter(Date actual,
Date other)
Creates a new ShouldBeAfter . |
|
static ErrorMessageFactory |
ShouldBeAfter.shouldBeAfter(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeAfter . |
|
static ErrorMessageFactory |
ShouldBeAfter.shouldBeAfter(Date actual,
int year)
Creates a new ShouldBeAfter . |
|
static ErrorMessageFactory |
ShouldBeAfterOrEqualsTo.shouldBeAfterOrEqualsTo(Date actual,
Date other)
Creates a new ShouldBeAfterOrEqualsTo . |
|
static ErrorMessageFactory |
ShouldBeAfterOrEqualsTo.shouldBeAfterOrEqualsTo(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeAfterOrEqualsTo . |
|
static ErrorMessageFactory |
ShouldBeBefore.shouldBeBefore(Date actual,
Date other)
Creates a new ShouldBeBefore . |
|
static ErrorMessageFactory |
ShouldBeBefore.shouldBeBefore(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeBefore . |
|
static ErrorMessageFactory |
ShouldBeBefore.shouldBeBefore(Date actual,
int year)
Creates a new ShouldBeBefore . |
|
static ErrorMessageFactory |
ShouldBeBeforeOrEqualsTo.shouldBeBeforeOrEqualsTo(Date actual,
Date other)
Creates a new ShouldBeBeforeOrEqualsTo . |
|
static ErrorMessageFactory |
ShouldBeBeforeOrEqualsTo.shouldBeBeforeOrEqualsTo(Date actual,
Date other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeBeforeOrEqualsTo . |
|
static ErrorMessageFactory |
ShouldBeBetween.shouldBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd)
Creates a new ShouldBeBetween . |
|
static ErrorMessageFactory |
ShouldBeBetween.shouldBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeBetween . |
|
static ErrorMessageFactory |
ShouldBeCloseTo.shouldBeCloseTo(Date actual,
Date other,
long deltaInMilliseconds,
long difference)
Creates a new ShouldBeCloseTo . |
|
static ErrorMessageFactory |
ShouldBeDirectory.shouldBeDirectory(File actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeEmpty.shouldBeEmpty(Object actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeEqualIgnoringCase.shouldBeEqual(String actual,
String expected)
Creates a new . |
|
static
|
ShouldBeEqualWithinOffset.shouldBeEqual(T actual,
T expected,
Offset<T> offset)
Creates a new . |
|
static
|
ShouldBeEqualWithinOffset.shouldBeEqual(T actual,
T expected,
Offset<T> offset,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeEqualColors.shouldBeEqualColors(RgbColor expected,
RgbColor actual,
Point point,
Offset<?> offset)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeEqualImages.shouldBeEqualImages(Offset<Integer> offset)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeExactlyInstanceOf.shouldBeExactlyInstance(Object actual,
Class<?> type)
Creates a new ShouldBeExactlyInstanceOf . |
|
static ErrorMessageFactory |
ShouldBeFile.shouldBeFile(File actual)
Creates a new . |
|
static
|
ShouldBeGreater.shouldBeGreater(T actual,
T other)
Creates a new ShouldBeGreater . |
|
static
|
ShouldBeGreater.shouldBeGreater(T actual,
T other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeGreater . |
|
static
|
ShouldBeGreaterOrEqual.shouldBeGreaterOrEqual(T actual,
T other)
Creates a new ShouldBeGreaterOrEqual . |
|
static
|
ShouldBeGreaterOrEqual.shouldBeGreaterOrEqual(T actual,
T other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeGreaterOrEqual . |
|
static ErrorMessageFactory |
ShouldBeIn.shouldBeIn(Object actual,
Object values)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeIn.shouldBeIn(Object actual,
Object values,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeInSameDay.shouldBeInSameDay(Date actual,
Date other)
Creates a new ShouldBeInSameDay . |
|
static ErrorMessageFactory |
ShouldBeInSameHour.shouldBeInSameHour(Date actual,
Date other)
Creates a new ShouldBeInSameHour . |
|
static ErrorMessageFactory |
ShouldBeInSameMillisecond.shouldBeInSameMillisecond(Date actual,
Date other)
Creates a new ShouldBeInSameMillisecond . |
|
static ErrorMessageFactory |
ShouldBeInSameMinute.shouldBeInSameMinute(Date actual,
Date other)
Creates a new ShouldBeInSameMinute . |
|
static ErrorMessageFactory |
ShouldBeInSameMonth.shouldBeInSameMonth(Date actual,
Date other)
Creates a new ShouldBeInSameMonth . |
|
static ErrorMessageFactory |
ShouldBeInSameSecond.shouldBeInSameSecond(Date actual,
Date other)
Creates a new ShouldBeInSameSecond . |
|
static ErrorMessageFactory |
ShouldBeInSameYear.shouldBeInSameYear(Date actual,
Date other)
Creates a new ShouldBeInSameYear . |
|
static ErrorMessageFactory |
ShouldBeInstance.shouldBeInstance(Object actual,
Class<?> type)
Creates a new ShouldBeInstance . |
|
static ErrorMessageFactory |
ShouldBeInstanceOfAny.shouldBeInstanceOfAny(Object actual,
Class<?>[] types)
Creates a new ShouldBeInstanceOfAny . |
|
static ErrorMessageFactory |
ShouldBeInTheFuture.shouldBeInTheFuture(Date actual)
Creates a new ShouldBeInTheFuture . |
|
static ErrorMessageFactory |
ShouldBeInTheFuture.shouldBeInTheFuture(Date actual,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeInTheFuture . |
|
static ErrorMessageFactory |
ShouldBeInThePast.shouldBeInThePast(Date actual)
Creates a new ShouldBeInThePast . |
|
static ErrorMessageFactory |
ShouldBeInThePast.shouldBeInThePast(Date actual,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeInThePast . |
|
static
|
ShouldBeLess.shouldBeLess(T actual,
T other)
Creates a new ShouldBeLess . |
|
static
|
ShouldBeLess.shouldBeLess(T actual,
T other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeLess . |
|
static
|
ShouldBeLessOrEqual.shouldBeLessOrEqual(T actual,
T other)
Creates a new ShouldBeLessOrEqual . |
|
static
|
ShouldBeLessOrEqual.shouldBeLessOrEqual(T actual,
T other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeLessOrEqual . |
|
static ErrorMessageFactory |
ShouldBeLowerCase.shouldBeLowerCase(Character actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeNullOrEmpty.shouldBeNullOrEmpty(Object actual)
Creates a new instance of . |
|
static ErrorMessageFactory |
ShouldBeRelativePath.shouldBeRelativePath(File actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeSame.shouldBeSame(Object actual,
Object expected)
Creates a new . |
|
static
|
ConditionAndGroupGenericParameterTypeShouldBeTheSame.shouldBeSameGenericBetweenIterableAndCondition(Object actual,
Condition<E> condition)
Creates a new ConditionAndGroupGenericParameterTypeShouldBeTheSame |
|
static ErrorMessageFactory |
ShouldBeSorted.shouldBeSorted(int i,
Object group)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeSorted.shouldBeSortedAccordingToGivenComparator(int i,
Object group,
Comparator<?> comparator)
|
|
static ErrorMessageFactory |
ShouldBeSubsetOf.shouldBeSubsetOf(Object actual,
Object values,
Iterable<?> unexpected)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeSubsetOf.shouldBeSubsetOf(Object actual,
Object values,
Iterable<?> unexpected,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new
|
|
static ErrorMessageFactory |
ShouldBeToday.shouldBeToday(Date actual)
Creates a new ShouldBeToday . |
|
static ErrorMessageFactory |
ShouldBeToday.shouldBeToday(Date actual,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldBeToday . |
|
static ErrorMessageFactory |
ShouldBeUpperCase.shouldBeUpperCase(Character actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldBeWithin.shouldBeWithin(Date actual,
String fieldDescription,
int fieldValue)
Creates a new ShouldBeWithin . |
|
static ErrorMessageFactory |
ShouldContain.shouldContain(Object actual,
Object expected,
Object notFound)
Creates a new ShouldContain . |
|
static ErrorMessageFactory |
ShouldContain.shouldContain(Object actual,
Object expected,
Object notFound,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldContain . |
|
static ErrorMessageFactory |
ShouldContainString.shouldContain(String actual,
String sequence)
Creates a new . |
|
static ErrorMessageFactory |
ShouldContainString.shouldContain(String actual,
String sequence,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(Object actual,
Object expected,
Index index,
Object found)
Creates a new ShouldContainAtIndex . |
|
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(Object actual,
Object expected,
Index index,
Object found,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldContainAtIndex . |
|
static ErrorMessageFactory |
ShouldContainString.shouldContainIgnoringCase(String actual,
String sequence)
Creates a new . |
|
static ErrorMessageFactory |
ShouldContainNull.shouldContainNull(Object actual)
Creates a new ShouldContainNull . |
|
static ErrorMessageFactory |
ShouldContainOnly.shouldContainOnly(Object actual,
Object expected,
Object notFound,
Object notExpected)
Creates a new ShouldContainOnly . |
|
static ErrorMessageFactory |
ShouldContainOnly.shouldContainOnly(Object actual,
Object expected,
Object notFound,
Object notExpected,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldContainOnly . |
|
static ErrorMessageFactory |
ShouldContainSequence.shouldContainSequence(Object actual,
Object sequence)
Creates a new . |
|
static ErrorMessageFactory |
ShouldContainSequence.shouldContainSequence(Object actual,
Object sequence,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldEndWith.shouldEndWith(Object actual,
Object expected)
Creates a new . |
|
static ErrorMessageFactory |
ShouldEndWith.shouldEndWith(Object actual,
Object expected,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldExist.shouldExist(File actual)
Creates a new . |
|
static
|
ShouldHave.shouldHave(T actual,
Condition<T> condition)
Creates a new ShouldHave . |
|
static ErrorMessageFactory |
ShouldBeSorted.shouldHaveComparableElementsAccordingToGivenComparator(Object actual,
Comparator<?> comparator)
|
|
static ErrorMessageFactory |
ShouldHaveEqualContent.shouldHaveEqualContent(File actual,
File expected,
List<String> diffs)
Creates a new . |
|
static ErrorMessageFactory |
ShouldHaveEqualContent.shouldHaveEqualContent(InputStream actual,
InputStream expected,
List<String> diffs)
Creates a new . |
|
static ErrorMessageFactory |
ShouldHaveMessage.shouldHaveMessage(Throwable actual,
String expectedMessage)
Creates a new ShouldHaveMessage . |
|
static ErrorMessageFactory |
ShouldBeSorted.shouldHaveMutuallyComparableElements(Object actual)
|
|
static ErrorMessageFactory |
ShouldHaveNoCause.shouldHaveNoCause(Throwable actual)
Creates a new ShouldHaveNoCause . |
|
static ErrorMessageFactory |
ShouldHaveSize.shouldHaveSize(Object actual,
Object actualSize,
Object expectedSize)
Creates a new ShouldHaveSize . |
|
static ErrorMessageFactory |
ShouldMatchPattern.shouldMatch(String actual,
String pattern)
Creates a new . |
|
static
|
ShouldNotBe.shouldNotBe(T actual,
Condition<T> condition)
Creates a new ShouldNotBe . |
|
static ErrorMessageFactory |
ShouldNotBeBetween.shouldNotBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd)
Creates a new ShouldNotBeBetween . |
|
static ErrorMessageFactory |
ShouldNotBeBetween.shouldNotBeBetween(Date actual,
Date start,
Date end,
boolean inclusiveStart,
boolean inclusiveEnd,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldNotBeBetween . |
|
static ErrorMessageFactory |
ShouldNotBeEmpty.shouldNotBeEmpty()
Returns the singleton instance of this class. |
|
static ErrorMessageFactory |
ShouldNotBeEqual.shouldNotBeEqual(Object actual,
Object other)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotBeEqual.shouldNotBeEqual(Object actual,
Object other,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotBeEqualImages.shouldNotBeEqualImages()
Returns the singleton instance of this class. |
|
static ErrorMessageFactory |
ShouldNotBeIn.shouldNotBeIn(Object actual,
Object values)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotBeIn.shouldNotBeIn(Object actual,
Object values,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotBeNull.shouldNotBeNull()
Returns the singleton instance of this class. |
|
static ErrorMessageFactory |
ShouldNotBeSame.shouldNotBeSame(Object actual)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotContain.shouldNotContain(Object actual,
Object expected,
Object found)
Creates a new ShouldNotContain . |
|
static ErrorMessageFactory |
ShouldNotContain.shouldNotContain(Object actual,
Object expected,
Object found,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldNotContain . |
|
static ErrorMessageFactory |
ShouldNotContainString.shouldNotContain(String actual,
String sequence)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotContainString.shouldNotContain(String actual,
String sequence,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual,
Object expected,
Index index)
Creates a new ShouldNotContainAtIndex . |
|
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual,
Object expected,
Index index,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new ShouldNotContainAtIndex . |
|
static ErrorMessageFactory |
ShouldNotContainNull.shouldNotContainNull(Object actual)
Creates a new ShouldNotContainNull . |
|
static ErrorMessageFactory |
ShouldNotExist.shouldNotExist(File actual)
Creates a new . |
|
static
|
ShouldNotHave.shouldNotHave(T actual,
Condition<T> condition)
Creates a new ShouldNotHave . |
|
static ErrorMessageFactory |
ShouldNotHaveDuplicates.shouldNotHaveDuplicates(Object actual,
Object duplicates)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotHaveDuplicates.shouldNotHaveDuplicates(Object actual,
Object duplicates,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
|
static ErrorMessageFactory |
ShouldNotMatchPattern.shouldNotMatch(String actual,
String pattern)
Creates a new . |
|
static ErrorMessageFactory |
ShouldStartWith.shouldStartWith(Object actual,
Object expected)
Creates a new . |
|
static ErrorMessageFactory |
ShouldStartWith.shouldStartWith(Object actual,
Object expected,
org.fest.util.ComparisonStrategy comparisonStrategy)
Creates a new . |
Uses of ErrorMessageFactory in org.fest.assertions.internal |
---|
Methods in org.fest.assertions.internal with parameters of type ErrorMessageFactory | |
---|---|
AssertionError |
Failures.failure(AssertionInfo info,
ErrorMessageFactory message)
Creates a following this pattern:
creates a using
as the error message if such value is not null , or
uses the given to create the detail message of the
, prepending the value of to
the error message
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |