org.codehaus.groovy.transform.powerassert
Class AssertionRenderer
java.lang.Object
org.codehaus.groovy.transform.powerassert.AssertionRenderer
class AssertionRenderer
extends Object
Creates a string representation of an assertion and its recorded values.
- author:
- Peter Niederwieser
Methods inherited from class Object
|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
AssertionRenderer
private AssertionRenderer(String text, ValueRecorder recorder)
-
render
public static String render(String text, ValueRecorder recorder)
- Creates a string representation of an assertion and its recorded values.
- param:
- text the assertion's source text
- param:
- recorder a recorder holding the values recorded during evaluation
of the assertion
- return:
- a string representation of the assertion and its recorded values
Copyright © 2003-2009 The Codehaus. All rights reserved.