Groovy Documentation

lsst.gruth.grutils
[Groovy] Enum RawDiagnostic

java.lang.Object
  lsst.gruth.grutils.RawDiagnostic

enum RawDiagnostic

A simple value that summarizes the result of an execution. It is "raw" because the analysis of test results may produce more sophisticated reports (for instance a FAILED test may be annotated with BEYOND_LIMIT to indicate that this is not an error : it is a feature!)

Authors:
bamade


Enum Constant Summary
FAILED

the test failed

MISSING_DATA

the test failed because some needed data could not be evaluated (usually because a previous test failed and did not produced this data).

NEUTRAL

no advice on fail or succeed, just a trace.

NOT_EVALUATED

the test was not evaluated .

NOT_YET_IMPLEMENTED

the resquested class or method is not yet implemented

OK_DONE_MARK

not use this is a programmatic mark: values superior to this are considered executed and not failed

OK_MARK

not used: this is a programmatic mark, values superior to this one are considered to mark a test that did not fail.

SUCCESS

success: expectations met

TOOL_OR_CODE_ERROR

the tests specification may be erroneous (or the testing tool itself failed)

WARNINGS

the test succeeded but with warnings

 
Method Summary
RawDiagnostic valueOf(java.lang.String name)

Returns the enum constant of this type with the specified name.

RawDiagnostic[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
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()
 

Enum Constant Detail

FAILED

RawDiagnostic FAILED
the test failed


MISSING_DATA

RawDiagnostic MISSING_DATA
the test failed because some needed data could not be evaluated (usually because a previous test failed and did not produced this data). Usually the data is null without being tagged with a NULL* name.


NEUTRAL

RawDiagnostic NEUTRAL
no advice on fail or succeed, just a trace.


NOT_EVALUATED

RawDiagnostic NOT_EVALUATED
the test was not evaluated . Example : the developer wrote a test but for the moment asked not to evaluate the result


NOT_YET_IMPLEMENTED

RawDiagnostic NOT_YET_IMPLEMENTED
the resquested class or method is not yet implemented


OK_DONE_MARK

RawDiagnostic OK_DONE_MARK
not use this is a programmatic mark: values superior to this are considered executed and not failed


OK_MARK

RawDiagnostic OK_MARK
not used: this is a programmatic mark, values superior to this one are considered to mark a test that did not fail.


SUCCESS

RawDiagnostic SUCCESS
success: expectations met


TOOL_OR_CODE_ERROR

RawDiagnostic TOOL_OR_CODE_ERROR
the tests specification may be erroneous (or the testing tool itself failed)


WARNINGS

RawDiagnostic WARNINGS
the test succeeded but with warnings


 
Method Detail

valueOf

RawDiagnostic valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.


values

RawDiagnostic[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation