Package org.nuxeo.runtime.test
Class Failures
java.lang.Object
org.nuxeo.runtime.test.Failures
Utility class for working with
Result.getFailures()
- Since:
- 5.9.5
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Failures
-
Failures
public Failures(org.junit.runner.Result result)
-
-
Method Details
-
toString
-
fail
CallAssert.fail(String)
with a nice expanded string if there are failures. It also replaces original failure messages with a custom one if originalMessage is notnull
.- Parameters:
originalMessage
- Message to replace if found in a failurecustomMessage
- Custom message to use as replacement for originalMessage
-