|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.griffon.test.event.GriffonTestEventPublisher
class GriffonTestEventPublisher
Publishes test related events to the Griffon build system.
Field Summary | |
---|---|
protected Closure |
event
|
Constructor Summary | |
GriffonTestEventPublisher(Closure event)
@param event the "event" closure from the Griffon build system |
Method Summary | |
---|---|
void
|
testCaseEnd(String name, String out = null, String err = null)
Signifies the end of a "unit" of tests. |
void
|
testCaseStart(String name)
Signifies the start of a "unit" of tests. |
void
|
testEnd(String name)
Signifies that a test has ended. |
void
|
testFailure(String name, Throwable failure, boolean isError = false)
Signifies that a test did not complete successfully. |
void
|
testFailure(String name, String failure = null, boolean isError = false)
Signifies that a test did not complete successfully. |
void
|
testStart(String name)
Signifies the start of an individual test, inside a parent "unit". |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected Closure event
Constructor Detail |
---|
GriffonTestEventPublisher(Closure event)
event
- the "event" closure from the Griffon build system
Method Detail |
---|
void testCaseEnd(String name, String out = null, String err = null)
name
- a logical name for the test "unit"
void testCaseStart(String name)
name
- a logical name for the test "unit"
void testEnd(String name)
name
- a logical name for the testfailure
- a description of the failureisError
- true if this failure was due to an indirect error,
false if this failure was a direct assertion failure or incorrect assumption
void testFailure(String name, Throwable failure, boolean isError = false)
name
- a logical name for the testfailure
- the throwable raised from the failureisError
- true if this failure was due to an indirect error,
false if this failure was a direct assertion failure or incorrect assumption
void testFailure(String name, String failure = null, boolean isError = false)
name
- a logical name for the testfailure
- a description of the failureisError
- true if this failure was due to an indirect error,
false if this failure was a direct assertion failure or incorrect assumption
void testStart(String name)
name
- a logical name for the test
Groovy Documentation