org.fest.assertions.error
Interface ErrorMessageFactory

All Known Implementing Classes:
BasicErrorMessageFactory, ConditionAndGroupGenericParameterTypeShouldBeTheSame, ElementsShouldBe, ElementsShouldBeAtLeast, ElementsShouldBeAtMost, ElementsShouldBeExactly, ElementsShouldHave, ElementsShouldHaveAtLeast, ElementsShouldHaveAtMost, ElementsShouldHaveExactly, ElementsShouldNotBe, ElementsShouldNotBeAtLeast, ElementsShouldNotBeAtMost, ElementsShouldNotBeExactly, ElementsShouldNotHave, ElementsShouldNotHaveAtLeast, ElementsShouldNotHaveAtMost, ElementsShouldNotHaveExactly, ShouldBe, ShouldBeAbsolutePath, ShouldBeAfter, ShouldBeAfterOrEqualsTo, ShouldBeBefore, ShouldBeBeforeOrEqualsTo, ShouldBeBetween, ShouldBeCloseTo, ShouldBeDirectory, ShouldBeEmpty, ShouldBeEqualColors, ShouldBeEqualIgnoringCase, ShouldBeEqualImages, ShouldBeEqualWithinOffset, ShouldBeExactlyInstanceOf, ShouldBeFile, ShouldBeGreater, ShouldBeGreaterOrEqual, ShouldBeIn, ShouldBeInSameDay, ShouldBeInSameHour, ShouldBeInSameMillisecond, ShouldBeInSameMinute, ShouldBeInSameMonth, ShouldBeInSameSecond, ShouldBeInSameYear, ShouldBeInstance, ShouldBeInstanceOfAny, ShouldBeInTheFuture, ShouldBeInThePast, ShouldBeLenientEqualByAccepting, ShouldBeLenientEqualByIgnoring, ShouldBeLess, ShouldBeLessOrEqual, ShouldBeLowerCase, ShouldBeNullOrEmpty, ShouldBeRelativePath, ShouldBeSame, ShouldBeSorted, ShouldBeSubsetOf, ShouldBeToday, ShouldBeUpperCase, ShouldBeWithin, ShouldContain, ShouldContainAtIndex, ShouldContainNull, ShouldContainOnly, ShouldContainSequence, ShouldContainString, ShouldEndWith, ShouldExist, ShouldHave, ShouldHaveEqualContent, ShouldHaveMessage, ShouldHaveNoCause, ShouldHaveSameSizeAs, ShouldHaveSize, ShouldMatchPattern, ShouldNotBe, ShouldNotBeBetween, ShouldNotBeEmpty, ShouldNotBeEqual, ShouldNotBeEqualImages, ShouldNotBeIn, ShouldNotBeNull, ShouldNotBeSame, ShouldNotContain, ShouldNotContainAtIndex, ShouldNotContainNull, ShouldNotContainString, ShouldNotExist, ShouldNotHave, ShouldNotHaveDuplicates, ShouldNotMatchPattern, ShouldStartWith

public interface ErrorMessageFactory

Factory of error messages.

Author:
Alex Ruiz

Method Summary
 String create(Description d)
          Creates a new error message as a result of a failed assertion.
 

Method Detail

create

String create(Description d)
Creates a new error message as a result of a failed assertion.

Parameters:
d - the description of the failed assertion.
Returns:
the created error message.


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