[Java] Class AssertionRenderer
- org.codehaus.groovy.runtime.powerassert.AssertionRenderer
public final class AssertionRenderer extends Object
Creates a string representation of an assertion and its recorded values.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public static String |
render(String text, ValueRecorder recorder) Creates a string representation of an assertion and its recorded values. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public static String render(String text, ValueRecorder recorder)
Creates a string representation of an assertion and its recorded values.
- Parameters:
-
text
- the assertion's source text -
recorder
- a recorder holding the values recorded during evaluation of the assertion
- Returns:
- a string representation of the assertion and its recorded values
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.html