Class Value
java.lang.Object
org.codehaus.groovy.runtime.powerassert.Value
A value recorded during evaluation of an assertion, along with the column it
is associated with in the assertion's normalized source text.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Value
Creates a recorded assertion value.- Parameters:
value- the recorded valuecolumn- the 1-based column in the normalized assertion text, or a non-positive value if the source position is unknown
-
-
Method Details
-
getValue
Returns the recorded value.- Returns:
- the recorded value
-
getColumn
public int getColumn()Returns the source column associated with the recorded value.- Returns:
- the 1-based column in the normalized assertion text, or a non-positive value if the source position is unknown
-