Class AssertionRenderer
java.lang.Object
org.codehaus.groovy.runtime.powerassert.AssertionRenderer
public final class AssertionRenderer extends Object
Creates a string representation of an assertion and its recorded values.
-
Method Summary
Modifier and Type Method Description static String
render(String text, ValueRecorder recorder)
Creates a string representation of an assertion and its recorded values.
-
Method Details
-
render
Creates a string representation of an assertion and its recorded values.- Parameters:
text
- the assertion's source textrecorder
- a recorder holding the values recorded during evaluation of the assertion- Returns:
- a string representation of the assertion and its recorded values
-