|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.assertions.core.WritableAssertionInfo
public final class WritableAssertionInfo
Writable information about an assertion.
| Constructor Summary | |
|---|---|
WritableAssertionInfo()
|
|
| Method Summary | |
|---|---|
Description |
description()
Returns the description of an assertion. |
void |
description(Description newDescription)
Sets the description of an assertion. |
void |
description(String newDescription)
Sets the description of an assertion. |
String |
descriptionText()
Returns the text of this object's description, or null if such description is null. |
String |
overridingErrorMessage()
Returns the message that, if specified, will replace the default message of an assertion failure. |
void |
overridingErrorMessage(String newErrorMessage)
Sets the message that will replace the default message of an assertion failure. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WritableAssertionInfo()
| Method Detail |
|---|
public String overridingErrorMessage()
overridingErrorMessage in interface AssertionInfopublic void overridingErrorMessage(String newErrorMessage)
newErrorMessage - the new message. It can be null.public Description description()
description in interface AssertionInfopublic String descriptionText()
null if such description is null.
null if such description is null.public void description(String newDescription)
newDescription - the new description.
NullPointerException - if the given description is null.description(Description)public void description(Description newDescription)
EmptyTextDescription as argument.
newDescription - the new description.
NullPointerException - if the given description is null.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||