Package org.fest.assertions.error

Interface Summary
AssertionErrorFactory Factory of AssertionErrors.
ErrorMessageFactory Factory of error messages.
 

Class Summary
BasicErrorMessageFactory A factory of error messages typically shown when an assertion fails.
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.
DescriptionFormatter Formats the Descriptions to be included in assertion errors.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
MessageFormatter Formats the messages to be included in assertion errors.
ShouldBe Creates an error message indicating that an assertion that verifies that a value satisfies a Condition failed.
ShouldBeAbsolutePath Creates an error message indicating that an assertion that verifies that a File is an absolute path failed.
ShouldBeAfter Creates an error message indicating that an assertion that verifies that a Date is after another one failed.
ShouldBeAfterOrEqualsTo Creates an error message indicating that an assertion that verifies that a Date is after or equals to another one failed.
ShouldBeBefore Creates an error message indicating that an assertion that verifies that a Date is before another one failed.
ShouldBeBeforeOrEqualsTo Creates an error message indicating that an assertion that verifies that a Date is before or equals to another one failed.
ShouldBeBetween Creates an error message indicating that an assertion that verifies that a Date is between start - end dates (inclusive or not) failed.
ShouldBeCloseTo Creates an error message indicating that an assertion that verifies that a Date is close to another one from some delta failed.
ShouldBeDirectory Creates an error message indicating that an assertion that verifies that a File is an existing directory failed.
ShouldBeEmpty Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
ShouldBeEqual Creates an AssertionError indicating that an assertion that verifies that two objects are equal failed.
ShouldBeEqualColors Creates an error message indicating that an assertion that verifies that a two colors are equal at a given point fails.
ShouldBeEqualIgnoringCase Creates an error message indicating that an assertion that verifies that two Strings are equal, ignoring case considerations, failed.
ShouldBeEqualImages Creates an error message that indicates an assertion that verifies that two images are equal failed.
ShouldBeEqualWithinOffset Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
ShouldBeExactlyInstanceOf Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.
ShouldBeFile Creates an error message indicating that an assertion that verifies that a File is an existing file failed.
ShouldBeGreater Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
ShouldBeGreaterOrEqual Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.
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.
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.
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.
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.
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.
ShouldBeInSameMonth Creates an error message indicating that an assertion that verifies that a Date is in same year and month as another one failed.
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.
ShouldBeInSameYear Creates an error message indicating that an assertion that verifies that a Date is in same year as another one failed.
ShouldBeInstance Creates an error message indicating that an assertion that verifies that an object is an instance of some type failed.
ShouldBeInstanceOfAny Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.
ShouldBeInTheFuture Creates an error message indicating that an assertion that verifies that a Date is in the future failed.
ShouldBeInThePast Creates an error message indicating that an assertion that verifies that a Date is in the past failed.
ShouldBeLess Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
ShouldBeLessOrEqual Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
ShouldBeLowerCase Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
ShouldBeNullOrEmpty Creates an error message indicating that an assertion that verifies a group of elements is null or empty failed.
ShouldBeRelativePath Creates an error message indicating that an assertion that verifies that a File is a relative path failed.
ShouldBeSame Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
ShouldBeSorted Creates an error message indicating that an assertion that verifies a group of elements is sorted failed.
ShouldBeSubsetOf Creates an error message indicating that an assertion that verifies that an Iterable is a subset of an other set Iterable failed.
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).
ShouldBeUpperCase Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
ShouldBeWithin Creates an error message indicating that an assertion that verifies that a Date is within a year, month, day, ... failed.
ShouldContain Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
ShouldContainAtIndex Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.
ShouldContainNull Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
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.
ShouldContainSequence Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.
ShouldContainString Creates an error message indicating that an assertion that verifies that a String contains another String failed.
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.
ShouldExist Creates an error message indicating that an assertion that verifies that a File exists failed.
ShouldHave Creates an error message indicating that an assertion that verifies that a value satisfies a Condition failed.
ShouldHaveEqualContent Creates an error message indicating that an assertion that verifies that two files/inputStreams have equal content failed.
ShouldHaveMessage Creates an error message indicating that an assertion that verifies that a Throwable have certain message failed.
ShouldHaveNoCause Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed.
ShouldHaveSize Creates an error message indicating that an assertion that verifies that a value have certain size failed.
ShouldMatchPattern Creates an error message indicating that an assertion that verifies that a String matches a pattern failed.
ShouldNotBe Creates an error message indicating that an assertion that verifies that a value does not satisfy a Condition failed.
ShouldNotBeBetween Creates an error message indicating that an assertion that verifies that a Date is not between start - end dates (inclusive or not) failed.
ShouldNotBeEmpty Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
ShouldNotBeEqual Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
ShouldNotBeEqualImages Creates an error message that indicates an assertion that verifies that two images should not be null failed.
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.
ShouldNotBeNull Creates an error message that indicates an assertion that verifies that an object is not null failed.
ShouldNotBeSame Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
ShouldNotContain Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.
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.
ShouldNotContainNull Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
ShouldNotContainString Creates an error message indicating that an assertion that verifies that a String does not contain another String failed.
ShouldNotExist Creates an error message indicating that an assertion that verifies that a File does not exist failed.
ShouldNotHave Creates an error message indicating that an assertion that verifies that a value does not satisfy a Condition failed.
ShouldNotHaveDuplicates Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
ShouldNotMatchPattern Creates an error message indicating that an assertion that verifies that a String does not match a pattern failed.
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.
 



Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.