Constructor and Description |
---|
Failures(List<org.junit.runner.notification.Failure> failures) |
Failures(org.junit.runner.Result result) |
Modifier and Type | Method and Description |
---|---|
void |
fail(String originalMessage,
String customMessage)
Call
Assert.fail(String) with a nice expanded string if there are failures. |
String |
toString() |
public Failures(org.junit.runner.Result result)
public void fail(String originalMessage, String customMessage)
Assert.fail(String)
with a nice expanded string if there are failures. It also replaces
original failure messages with a custom one if originalMessage is not null
.originalMessage
- Message to replace if found in a failurecustomMessage
- Custom message to use as replacement for originalMessageCopyright © 2015 Nuxeo SA. All rights reserved.