|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectlsst.gruth.grutils.AssertionReport
class AssertionReport
Generated by assertion methods. Gru assertions do not fail at once when evaluated: AssertionReport keeps the result of an assertion evaluation: the test overall result is the "worst" contained in all AssertionReports (see RawDiagnostic order to evaluate Result order).
There is an exception to this rule: if the force boolean is used the result of the test is forced to the first "forced" assertion (this happens for example when an exception is fired: the test result may be temporarily failed but if the exception is expected the assertion forces to SUCCESS).
Property Summary | |
---|---|
boolean |
force
|
java.lang.String |
message
|
RawDiagnostic |
result
|
Constructor Summary | |
AssertionReport(java.lang.String message, RawDiagnostic result)
|
|
AssertionReport(boolean force, java.lang.String message, RawDiagnostic result)
|
Method Summary | |
---|---|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
boolean force
java.lang.String message
RawDiagnostic result
Constructor Detail |
---|
AssertionReport(java.lang.String message, RawDiagnostic result)
AssertionReport(boolean force, java.lang.String message, RawDiagnostic result)
Method Detail |
---|
java.lang.String toString()
Groovy Documentation