public class Failures extends Object
Result.getFailures()
Constructor and Description |
---|
Failures(List<org.junit.runner.notification.Failure> failures) |
Failures(org.junit.runner.Result result) |
public Failures(List<org.junit.runner.notification.Failure> failures)
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.