Package org.nuxeo.runtime.test
Class Failures
- java.lang.Object
-
- org.nuxeo.runtime.test.Failures
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfail(String originalMessage, String customMessage)CallAssert.fail(String)with a nice expanded string if there are failures.StringtoString()
-
-
-
Method Detail
-
fail
public void fail(String originalMessage, String customMessage)
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
-
-