Uses of Interface
org.fest.assertions.error.ErrorMessageFactory
Packages that use ErrorMessageFactory
-
Uses of ErrorMessageFactory in org.fest.assertions.error
Classes in org.fest.assertions.error that implement ErrorMessageFactoryModifier and TypeClassDescriptionclassBase class for text content error.classA factory of error messages typically shown when an assertion fails.classCreates an error message indicating that an assertion that verifies type of elements of group andConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that not verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classCreates an error message indicating that an assertion that verifies that a value satisfies afailed.ConditionclassCreates an error message indicating that an assertion that verifies that ais an absolute path failed.FileclassCreates an error message indicating that an assertion that verifies that aDateis after another one failed.classCreates an error message indicating that an assertion that verifies that aDateis after or equals to another one failed.classCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies afailed.ConditionclassCreates an error message indicating that an assertion that verifies that aDateis before another one failed.classCreates an error message indicating that an assertion that verifies that aDateis before or equals to another one failed.classCreates an error message indicating that an assertion that verifies that aDateis between start - end dates (inclusive or not) failed.classCreates an error message indicating that an assertion that verifies that aDateis close to another one from some delta failed.classCreates an error message indicating that an assertion that verifies that ais an existing directory failed.FileclassCreates an error message indicating that an assertion that verifies a group of elements is empty failed.classCreates an error message indicating that an assertion that verifies that twoStrings are equal, ignoring case considerations, failed.classCreates an error message that indicates an assertion that verifies that two images are equal failed.classCreates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.classCreates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.classCreates an error message indicating that an assertion that verifies that ais executable failed.FileclassCreates an error message indicating that an assertion that verifies that ais an existing file failed.FileclassCreates an error message indicating that an assertion that verifies that a value is greater than another one failed.classCreates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.classCreates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.classCreates an error message indicating that an assertion that verifies that aDateis in same year, month and day of month as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month and hour as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month, hour, minute, second adn millisecond as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month, hour and minute as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year and month as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month, hour, minute and second as another one failed.classCreates an error message indicating that an assertion that verifies that aDateis in same year as another one failed.classCreates an error message indicating that an assertion that verifies that an object is an instance of some type failed.classCreates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.classCreates an error message indicating that an assertion that verifies that aDateis in the future failed.classCreates an error message indicating that an assertion that verifies that aDateis in the past failed.classCreates anindicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionErrorclassCreates anindicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.AssertionErrorclassCreates an error message indicating that an assertion that verifies that a value is less than another one failed.classCreates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.classCreates an error message that indicates an assertion that verifies that a character is lowercase failed.classCreates an error message indicating that an assertion that verifies a group of elements isnullor empty failed.classCreates an error message indicating that an assertion that verifies that an object is of type in group of types failed.classCreates an error message indicating that an assertion that verifies that ais readable failed.FileclassCreates an error message indicating that an assertion that verifies that ais a relative path failed.FileclassCreates an error message indicating that an assertion that verifies that two object refer to same object failed.classCreates an error message indicating that an assertion that verifies a group of elements is sorted failed.
A group of elements can be a collection or an array.classCreates an error message indicating that an assertion that verifies that anIterableis a subset of an other setIterablefailed.classCreates an error message indicating that an assertion that verifies that aDateis today (matching only year, month and day but not hours).classCreates an error message that indicates an assertion that verifies that a character is uppercase failed.classCreates an error message indicating that an assertion that verifies that aDateis within a year, month, day, ...classCreates an error message indicating that an assertion that verifies that ais writable failed.FileclassCreates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.classCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.classCreates an error message indicating that an assertion that verifies a group of elements contains exactly a given set of values and nothing else failed, exactly meaning same elements in same order.classCreates an error message indicating that an assertion that verifies a map contains a key..classCreates an error message indicating that an assertion that verifies a group of elements contains a null element failed.classCreates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and nothing else failed.classCreates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.classCreates an error message indicating that an assertion that verifies that aStringcontains anotherStringfailed.classCreates an error message indicating that an assertion that verifies that aStringcontains anotherStringonly once failed.classCreates an error message indicating that an assertion that verifies a map contains a value.classCreates an error message indicating that an assertion that verifies that a group of elements ends with a given value or sequence of values failed.classCreates an error message indicating that an assertion that verifies that aexists failed.FileclassCreates an error message indicating that an assertion that verifies that a value satisfies afailed.ConditionclassCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies afailed.ConditionclassCreates an error message indicating that an assertion that verifies that a file has a given binary content failed.classCreates an error message indicating that an assertion that verifies that a file has a given text content failed.classCreates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.classCreates an error message indicating that an assertion that verifies that aThrowablehave certain message failed.classCreates an error message indicating that an assertion that verifies that anThrowablehas no cause failed.classCreates an error message indicating that an assertion that verifies that an object have same class as another instance failed.classCreates an error message indicating that an assertion that verifies that a value have certain size failed.classCreates an error message indicating that an assertion that verifies that a value have certain size failed.classCreates an error message indicating that an assertion that verifies that a date have a certain timestamp.classCreates an error message indicating that an assertion that verifies that aStringmatches a pattern failed.classCreates an error message indicating that an assertion that verifies that a value does not satisfy afailed.ConditionclassCreates an error message indicating that an assertion that verifies that aDateis not between start - end dates (inclusive or not) failed.classCreates an error message indicating that an assertion that verifies a group of elements is not empty failed.classCreates an error message indicating that an assertion that verifies that two objects are not equal failed.classCreates an error message that indicates an assertion that verifies that two images should not benullfailed.classCreates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type failed.classCreates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.classCreates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.classCreates an error message indicating that an assertion that verifies that an object is not an instance of one or more types failed.classCreates an error message that indicates an assertion that verifies that an object is notnullfailed.classCreates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.classCreates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.classCreates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.classCreates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given index failed.classCreates an error message indicating that an assertion that verifies a map does not contains a key failed.classCreates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.classCreates an error message indicating that an assertion that verifies that aStringdoes not contain anotherStringfailed.classCreates an error message indicating that an assertion that verifies a map does not contains a value.classCreates an error message indicating that an assertion that verifies that adoes not exist failed.FileclassCreates an error message indicating that an assertion that verifies that a value does not satisfy afailed.ConditionclassCreates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.classCreates an error message indicating that an assertion that verifies that an object has same class as another instance failed.classCreates an error message indicating that an assertion that verifies that aStringdoes not match a pattern failed.classCreates 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 ErrorMessageFactoryModifier and TypeMethodDescriptionstatic ErrorMessageFactoryElementsShouldBe.elementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldBe.static ErrorMessageFactoryElementsShouldBeAtLeast.elementsShouldBeAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeAtLeast.static ErrorMessageFactoryElementsShouldBeAtMost.elementsShouldBeAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeAtMost.static ErrorMessageFactoryElementsShouldBeExactly.elementsShouldBeExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldBeExactly.static ErrorMessageFactoryElementsShouldHave.elementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldHave.static ErrorMessageFactoryElementsShouldHaveAtLeast.elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveAtLeast.static ErrorMessageFactoryElementsShouldHaveAtMost.elementsShouldHaveAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveAtMost.static <E> ErrorMessageFactoryElementsShouldHaveExactly.elementsShouldHaveExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldHaveExactly.static ErrorMessageFactoryElementsShouldNotBe.elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition) Creates a newElementsShouldNotBe.static ErrorMessageFactoryElementsShouldNotBeAtLeast.elementsShouldNotBeAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeAtLeast.static <E> ErrorMessageFactoryElementsShouldNotBeAtMost.elementsShouldNotBeAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeAtMost.static <E> ErrorMessageFactoryElementsShouldNotBeExactly.elementsShouldNotBeExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotBeExactly.static ErrorMessageFactoryElementsShouldNotHave.elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition) Creates a newElementsShouldNotHave.static ErrorMessageFactoryElementsShouldNotHaveAtLeast.elementsShouldNotHaveAtLeast(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveAtLeast.static <E> ErrorMessageFactoryElementsShouldNotHaveAtMost.elementsShouldNotHaveAtMost(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveAtMost.static <E> ErrorMessageFactoryElementsShouldNotHaveExactly.elementsShouldNotHaveExactly(Object actual, int times, Condition<?> condition) Creates a newElementsShouldNotHaveExactly.static <T> ErrorMessageFactoryCreates a newShouldBe.static ErrorMessageFactoryShouldBeAbsolutePath.shouldBeAbsolutePath(File actual) Creates a new.ShouldBeAbsolutePathstatic ErrorMessageFactoryShouldBeAfter.shouldBeAfter(Date actual, int year) Creates a newShouldBeAfter.static ErrorMessageFactoryShouldBeAfter.shouldBeAfter(Date actual, Date other) Creates a newShouldBeAfter.static ErrorMessageFactoryShouldBeAfter.shouldBeAfter(Date actual, Date other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeAfter.static ErrorMessageFactoryShouldBeAfterOrEqualsTo.shouldBeAfterOrEqualsTo(Date actual, Date other) Creates a newShouldBeAfterOrEqualsTo.static ErrorMessageFactoryShouldBeAfterOrEqualsTo.shouldBeAfterOrEqualsTo(Date actual, Date other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeAfterOrEqualsTo.static <T> ErrorMessageFactoryShouldBeAtIndex.shouldBeAtIndex(List<T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldBeAtIndex.static ErrorMessageFactoryShouldBeBefore.shouldBeBefore(Date actual, int year) Creates a newShouldBeBefore.static ErrorMessageFactoryShouldBeBefore.shouldBeBefore(Date actual, Date other) Creates a newShouldBeBefore.static ErrorMessageFactoryShouldBeBefore.shouldBeBefore(Date actual, Date other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeBefore.static ErrorMessageFactoryShouldBeBeforeOrEqualsTo.shouldBeBeforeOrEqualsTo(Date actual, Date other) Creates a newShouldBeBeforeOrEqualsTo.static ErrorMessageFactoryShouldBeBeforeOrEqualsTo.shouldBeBeforeOrEqualsTo(Date actual, Date other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeBeforeOrEqualsTo.static ErrorMessageFactoryShouldBeBetween.shouldBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd) Creates a newShouldBeBetween.static ErrorMessageFactoryShouldBeBetween.shouldBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy) Creates a newShouldBeBetween.static ErrorMessageFactoryShouldBeCloseTo.shouldBeCloseTo(Date actual, Date other, long deltaInMilliseconds, long difference) Creates a newShouldBeCloseTo.static ErrorMessageFactoryShouldBeDirectory.shouldBeDirectory(File actual) Creates a new.ShouldBeDirectorystatic ErrorMessageFactoryShouldBeEmpty.shouldBeEmpty(Object actual) Creates a new.ShouldBeEmptystatic ErrorMessageFactoryShouldBeEqualIgnoringCase.shouldBeEqual(String actual, String expected) Creates a new.ShouldBeEqualIgnoringCasestatic <T extends Number>
ErrorMessageFactoryShouldBeEqualWithinOffset.shouldBeEqual(T actual, T expected, Offset<T> offset, T difference) Creates a new.ShouldBeEqualWithinOffsetstatic ErrorMessageFactoryShouldBeEqualImages.shouldBeEqualImages(Offset<Integer> offset) Creates a new.ShouldBeEqualImagesstatic ErrorMessageFactoryShouldBeExactlyInstanceOf.shouldBeExactlyInstance(Object actual, Class<?> type) Creates a newShouldBeExactlyInstanceOf.static ErrorMessageFactoryShouldBeExecutable.shouldBeExecutable(File actual) Creates a new.ShouldBeExecutablestatic ErrorMessageFactoryShouldBeFile.shouldBeFile(File actual) Creates a new.ShouldBeFilestatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreater.shouldBeGreater(T actual, T other) Creates a newShouldBeGreater.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreater.shouldBeGreater(T actual, T other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeGreater.static <T extends Comparable<T>>
ErrorMessageFactoryShouldBeGreaterOrEqual.shouldBeGreaterOrEqual(T actual, T other) Creates a newShouldBeGreaterOrEqual.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreaterOrEqual.shouldBeGreaterOrEqual(T actual, T other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeGreaterOrEqual.static ErrorMessageFactoryShouldBeIn.shouldBeIn(Object actual, Object values) Creates a new.ShouldBeInstatic ErrorMessageFactoryShouldBeIn.shouldBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy) Creates a new.ShouldBeInstatic ErrorMessageFactoryShouldBeInSameDay.shouldBeInSameDay(Date actual, Date other) Creates a newShouldBeInSameDay.static ErrorMessageFactoryShouldBeInSameHour.shouldBeInSameHour(Date actual, Date other) Creates a newShouldBeInSameHour.static ErrorMessageFactoryShouldBeInSameMillisecond.shouldBeInSameMillisecond(Date actual, Date other) Creates a newShouldBeInSameMillisecond.static ErrorMessageFactoryShouldBeInSameMinute.shouldBeInSameMinute(Date actual, Date other) Creates a newShouldBeInSameMinute.static ErrorMessageFactoryShouldBeInSameMonth.shouldBeInSameMonth(Date actual, Date other) Creates a newShouldBeInSameMonth.static ErrorMessageFactoryShouldBeInSameSecond.shouldBeInSameSecond(Date actual, Date other) Creates a newShouldBeInSameSecond.static ErrorMessageFactoryShouldBeInSameYear.shouldBeInSameYear(Date actual, Date other) Creates a newShouldBeInSameYear.static ErrorMessageFactoryShouldBeInstance.shouldBeInstance(Object object, Class<?> type) Creates a newShouldBeInstance.static ErrorMessageFactoryShouldBeInstance.shouldBeInstanceButWasNull(String objectDescription, Class<?> type) Creates a newShouldBeInstancewhen object we want to check type is null.static ErrorMessageFactoryShouldBeInstanceOfAny.shouldBeInstanceOfAny(Object actual, Class<?>[] types) Creates a newShouldBeInstanceOfAny.static ErrorMessageFactoryShouldBeInTheFuture.shouldBeInTheFuture(Date actual) Creates a newShouldBeInTheFuture.static ErrorMessageFactoryShouldBeInTheFuture.shouldBeInTheFuture(Date actual, ComparisonStrategy comparisonStrategy) Creates a newShouldBeInTheFuture.static ErrorMessageFactoryShouldBeInThePast.shouldBeInThePast(Date actual) Creates a newShouldBeInThePast.static ErrorMessageFactoryShouldBeInThePast.shouldBeInThePast(Date actual, ComparisonStrategy comparisonStrategy) Creates a newShouldBeInThePast.static <E> ErrorMessageFactoryShouldBeLenientEqualByAccepting.shouldBeLenientEqualByAccepting(Object actual, List<String> rejectedFields, List<Object> expectedValues, List<String> acceptedFields) Creates a newShouldBeLenientEqualByAccepting.static <E> ErrorMessageFactoryShouldBeLenientEqualByIgnoring.shouldBeLenientEqualByIgnoring(Object actual, List<String> rejectedFields, List<Object> expectedValues, List<String> ignoredFields) Creates a newShouldBeLenientEqualByIgnoring.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLess.shouldBeLess(T actual, T other) Creates a newShouldBeLess.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLess.shouldBeLess(T actual, T other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeLess.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLessOrEqual.shouldBeLessOrEqual(T actual, T other) Creates a newShouldBeLessOrEqual.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLessOrEqual.shouldBeLessOrEqual(T actual, T other, ComparisonStrategy comparisonStrategy) Creates a newShouldBeLessOrEqual.static ErrorMessageFactoryShouldBeLowerCase.shouldBeLowerCase(Character actual) Creates a new.ShouldBeLowerCasestatic ErrorMessageFactoryShouldBeNullOrEmpty.shouldBeNullOrEmpty(Object actual) Creates a new instance of.ShouldBeNullOrEmptystatic ErrorMessageFactoryShouldBeOfClassIn.shouldBeOfClassIn(Object actual, Object types) Creates a newShouldBeOfClassIn.static ErrorMessageFactoryShouldBeReadable.shouldBeReadable(File actual) Creates a new.ShouldBeReadablestatic ErrorMessageFactoryShouldBeRelativePath.shouldBeRelativePath(File actual) Creates a new.ShouldBeRelativePathstatic ErrorMessageFactoryShouldBeSame.shouldBeSame(Object actual, Object expected) Creates a new.ShouldBeSamestatic ErrorMessageFactoryConditionAndGroupGenericParameterTypeShouldBeTheSame.shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition) Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSamestatic ErrorMessageFactoryShouldBeSorted.shouldBeSorted(int i, Object group) Creates a new.ShouldBeSortedstatic ErrorMessageFactoryShouldBeSorted.shouldBeSortedAccordingToGivenComparator(int i, Object group, Comparator<?> comparator) static ErrorMessageFactoryShouldBeSubsetOf.shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected) Creates a new.ShouldBeSubsetOfstatic ErrorMessageFactoryShouldBeSubsetOf.shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected, ComparisonStrategy comparisonStrategy) Creates a newShouldBeSubsetOfstatic ErrorMessageFactoryShouldBeToday.shouldBeToday(Date actual) Creates a newShouldBeToday.static ErrorMessageFactoryShouldBeToday.shouldBeToday(Date actual, ComparisonStrategy comparisonStrategy) Creates a newShouldBeToday.static ErrorMessageFactoryShouldBeUpperCase.shouldBeUpperCase(Character actual) Creates a new.ShouldBeUpperCasestatic ErrorMessageFactoryShouldBeWithin.shouldBeWithin(Date actual, String fieldDescription, int fieldValue) Creates a newShouldBeWithin.static ErrorMessageFactoryShouldBeWritable.shouldBeWritable(File actual) Creates a new.ShouldBeWritablestatic ErrorMessageFactoryShouldContain.shouldContain(Object actual, Object expected, Object notFound) Creates a newShouldContain.static ErrorMessageFactoryShouldContain.shouldContain(Object actual, Object expected, Object notFound, ComparisonStrategy comparisonStrategy) Creates a newShouldContain.static ErrorMessageFactoryShouldContainString.shouldContain(String actual, String sequence) Creates a new.ShouldContainStringstatic ErrorMessageFactoryShouldContainString.shouldContain(String actual, String sequence, ComparisonStrategy comparisonStrategy) Creates a new.ShouldContainStringstatic ErrorMessageFactoryShouldContainAtIndex.shouldContainAtIndex(Object actual, Object expected, Index index, Object found) Creates a newShouldContainAtIndex.static ErrorMessageFactoryShouldContainAtIndex.shouldContainAtIndex(Object actual, Object expected, Index index, Object found, ComparisonStrategy comparisonStrategy) Creates a newShouldContainAtIndex.static ErrorMessageFactoryShouldContainExactly.shouldContainExactly(Object actualElement, Object expectedElement, int indexOfDifferentElements) Creates a newShouldContainExactlyfor the case where actual and expected have the same elements in different order.static ErrorMessageFactoryShouldContainExactly.shouldContainExactly(Object actualElement, Object expectedElement, int indexOfDifferentElements, ComparisonStrategy comparisonStrategy) Creates a newShouldContainExactlyfor the case where actual and expected have the same elements in different order according to the givenComparisonStrategy.static ErrorMessageFactoryShouldContainExactly.shouldContainExactly(Object actual, Object expected, Object notFound, Object notExpected) Creates a newShouldContainExactly.static ErrorMessageFactoryShouldContainExactly.shouldContainExactly(Object actual, Object expected, Object notFound, Object notExpected, ComparisonStrategy comparisonStrategy) Creates a newShouldContainExactly.static ErrorMessageFactoryShouldContainString.shouldContainIgnoringCase(String actual, String sequence) Creates a new.ShouldContainStringstatic ErrorMessageFactoryShouldContainKey.shouldContainKey(Object actual, Object key) Creates a newShouldContainKey.static ErrorMessageFactoryShouldContainNull.shouldContainNull(Object actual) Creates a newShouldContainNull.static ErrorMessageFactoryShouldContainOnly.shouldContainOnly(Object actual, Object expected, Object notFound, Object notExpected) Creates a newShouldContainOnly.static ErrorMessageFactoryShouldContainOnly.shouldContainOnly(Object actual, Object expected, Object notFound, Object notExpected, ComparisonStrategy comparisonStrategy) Creates a newShouldContainOnly.static ErrorMessageFactoryShouldContainStringOnlyOnce.shouldContainOnlyOnce(String actual, String sequence, int occurences) Creates a new.ShouldContainStringOnlyOncestatic ErrorMessageFactoryShouldContainStringOnlyOnce.shouldContainOnlyOnce(String actual, String sequence, int occurences, ComparisonStrategy comparisonStrategy) Creates a new.ShouldContainStringOnlyOncestatic ErrorMessageFactoryShouldContainSequence.shouldContainSequence(Object actual, Object sequence) Creates a new.ShouldContainSequencestatic ErrorMessageFactoryShouldContainSequence.shouldContainSequence(Object actual, Object sequence, ComparisonStrategy comparisonStrategy) Creates a new.ShouldContainSequencestatic ErrorMessageFactoryShouldContainValue.shouldContainValue(Object actual, Object value) Creates a newShouldContainValue.static ErrorMessageFactoryShouldEndWith.shouldEndWith(Object actual, Object expected) Creates a new.ShouldEndWithstatic ErrorMessageFactoryShouldEndWith.shouldEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy) Creates a new.ShouldEndWithstatic ErrorMessageFactoryShouldExist.shouldExist(File actual) Creates a new.ShouldExiststatic <T> ErrorMessageFactoryShouldHave.shouldHave(T actual, Condition<? super T> condition) Creates a newShouldHave.static <T> ErrorMessageFactoryShouldHaveAtIndex.shouldHaveAtIndex(List<T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldHaveAtIndex.static ErrorMessageFactoryShouldHaveBinaryContent.shouldHaveBinaryContent(File actual, BinaryDiffResult diff) Creates a new.ShouldHaveBinaryContentstatic ErrorMessageFactoryShouldBeSorted.shouldHaveComparableElementsAccordingToGivenComparator(Object actual, Comparator<?> comparator) static ErrorMessageFactoryShouldHaveContent.shouldHaveContent(File actual, Charset charset, List<String> diffs) Creates a new.ShouldHaveContentstatic ErrorMessageFactoryShouldHaveEqualContent.shouldHaveEqualContent(File actual, File expected, List<String> diffs) Creates a new.ShouldHaveEqualContentstatic ErrorMessageFactoryShouldHaveEqualContent.shouldHaveEqualContent(InputStream actual, InputStream expected, List<String> diffs) Creates a new.ShouldHaveEqualContentstatic ErrorMessageFactoryShouldHaveMessage.shouldHaveMessage(Throwable actual, String expectedMessage) Creates a newShouldHaveMessage.static ErrorMessageFactoryShouldBeSorted.shouldHaveMutuallyComparableElements(Object actual) static ErrorMessageFactoryShouldHaveNoCause.shouldHaveNoCause(Throwable actual) Creates a newShouldHaveNoCause.static ErrorMessageFactoryShouldHaveSameClass.shouldHaveSameClass(Object actual, Object other) Creates a newShouldHaveSameClass.static ErrorMessageFactoryShouldHaveSameSizeAs.shouldHaveSameSizeAs(Object actual, Object actualSize, Object expectedSize) Creates a newShouldHaveSameSizeAs.static ErrorMessageFactoryShouldHaveSize.shouldHaveSize(Object actual, Object actualSize, Object expectedSize) Creates a newShouldHaveSize.static ErrorMessageFactoryShouldHaveTime.shouldHaveTime(Date actual, long expectedTimestamp) Creates a newShouldHaveTime.static ErrorMessageFactoryShouldMatchPattern.shouldMatch(String actual, String pattern) Creates a new.ShouldMatchPatternstatic <T> ErrorMessageFactoryShouldNotBe.shouldNotBe(T actual, Condition<? super T> condition) Creates a newShouldNotBe.static ErrorMessageFactoryShouldNotBeBetween.shouldNotBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd) Creates a newShouldNotBeBetween.static ErrorMessageFactoryShouldNotBeBetween.shouldNotBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy) Creates a newShouldNotBeBetween.static ErrorMessageFactoryShouldNotBeEmpty.shouldNotBeEmpty()Returns the singleton instance of this class.static ErrorMessageFactoryShouldNotBeEqual.shouldNotBeEqual(Object actual, Object other) Creates a new.ShouldNotBeEqualstatic ErrorMessageFactoryShouldNotBeEqual.shouldNotBeEqual(Object actual, Object other, ComparisonStrategy comparisonStrategy) Creates a new.ShouldNotBeEqualstatic ErrorMessageFactoryShouldNotBeEqualImages.shouldNotBeEqualImages()Returns the singleton instance of this class.static ErrorMessageFactoryShouldNotBeExactlyInstanceOf.shouldNotBeExactlyInstance(Object actual, Class<?> type) Creates a newShouldNotBeExactlyInstanceOf.static ErrorMessageFactoryShouldNotBeIn.shouldNotBeIn(Object actual, Object values) Creates a new.ShouldNotBeInstatic ErrorMessageFactoryShouldNotBeIn.shouldNotBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy) Creates a new.ShouldNotBeInstatic ErrorMessageFactoryShouldNotBeInstance.shouldNotBeInstance(Object actual, Class<?> type) Creates a newShouldNotBeInstance.static ErrorMessageFactoryShouldNotBeInstanceOfAny.shouldNotBeInstanceOfAny(Object actual, Class<?>[] types) Creates a newShouldNotBeInstanceOfAny.static ErrorMessageFactoryShouldNotBeNull.shouldNotBeNull()Returns the singleton instance of this class.static ErrorMessageFactoryShouldNotBeOfClassIn.shouldNotBeOfClassIn(Object actual, Object types) Creates a newShouldNotBeOfClassIn.static ErrorMessageFactoryShouldNotBeSame.shouldNotBeSame(Object actual) Creates a new.ShouldNotBeSamestatic ErrorMessageFactoryShouldNotContain.shouldNotContain(Object actual, Object expected, Object found) Creates a newShouldNotContain.static ErrorMessageFactoryShouldNotContain.shouldNotContain(Object actual, Object expected, Object found, ComparisonStrategy comparisonStrategy) Creates a newShouldNotContain.static ErrorMessageFactoryShouldNotContainString.shouldNotContain(String actual, String sequence) Creates a new.ShouldNotContainStringstatic ErrorMessageFactoryShouldNotContainString.shouldNotContain(String actual, String sequence, ComparisonStrategy comparisonStrategy) Creates a new.ShouldNotContainStringstatic ErrorMessageFactoryShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual, Object expected, Index index) Creates a newShouldNotContainAtIndex.static ErrorMessageFactoryShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual, Object expected, Index index, ComparisonStrategy comparisonStrategy) Creates a newShouldNotContainAtIndex.static ErrorMessageFactoryShouldNotContainKey.shouldNotContainKey(Object actual, Object key) Creates a newShouldNotContainKey.static ErrorMessageFactoryShouldNotContainNull.shouldNotContainNull(Object actual) Creates a newShouldNotContainNull.static ErrorMessageFactoryShouldNotContainValue.shouldNotContainValue(Object actual, Object value) Creates a newShouldNotContainValue.static ErrorMessageFactoryShouldNotExist.shouldNotExist(File actual) Creates a new.ShouldNotExiststatic <T> ErrorMessageFactoryShouldNotHave.shouldNotHave(T actual, Condition<? super T> condition) Creates a newShouldNotHave.static ErrorMessageFactoryShouldNotHaveDuplicates.shouldNotHaveDuplicates(Object actual, Object duplicates) Creates a new.ShouldNotHaveDuplicatesstatic ErrorMessageFactoryShouldNotHaveDuplicates.shouldNotHaveDuplicates(Object actual, Object duplicates, ComparisonStrategy comparisonStrategy) Creates a new.ShouldNotHaveDuplicatesstatic ErrorMessageFactoryShouldNotHaveSameClass.shouldNotHaveSameClass(Object actual, Object other) Creates a newShouldNotHaveSameClass.static ErrorMessageFactoryShouldNotMatchPattern.shouldNotMatch(String actual, String pattern) Creates a new.ShouldStartWithstatic ErrorMessageFactoryShouldStartWith.shouldStartWith(Object actual, Object expected) Creates a new.ShouldStartWithstatic ErrorMessageFactoryShouldStartWith.shouldStartWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy) Creates a new.ShouldStartWith -
Uses of ErrorMessageFactory in org.fest.assertions.internal
Methods in org.fest.assertions.internal with parameters of type ErrorMessageFactoryModifier and TypeMethodDescriptionFailures.failure(AssertionInfo info, ErrorMessageFactory message) Creates afollowing this pattern: creates aAssertionErrorusingAssertionErroras the error message if such value is notAssertionInfo.overridingErrorMessage()null, or uses the givento create the detail message of theErrorMessageFactory, prepending the value ofAssertionErrorto the error messageAssertionInfo.description()