org.codehaus.groovy.grails.test.junit3
Class JUnit3ListenerEventPublisherAdapter
java.lang.Object
org.codehaus.groovy.grails.test.junit3.JUnit3ListenerEventPublisherAdapter
- All Implemented Interfaces:
- junit.framework.TestListener, org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter, org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror.JUnitResultFormatterMirror
public class JUnit3ListenerEventPublisherAdapter
- extends Object
- implements org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventPublisher
protected GrailsTestEventPublisher eventPublisher
out
protected String out
err
protected String err
JUnit3ListenerEventPublisherAdapter
public JUnit3ListenerEventPublisherAdapter(GrailsTestEventPublisher eventPublisher)
setOutput
public void setOutput(OutputStream outputStream)
- Specified by:
setOutput
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
- Specified by:
setOutput
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskMirror.JUnitResultFormatterMirror
setSystemOutput
public void setSystemOutput(String out)
- Specified by:
setSystemOutput
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
setSystemError
public void setSystemError(String err)
- Specified by:
setSystemError
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
startTestSuite
public void startTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest test)
- Specified by:
startTestSuite
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
startTest
public void startTest(junit.framework.Test test)
- Specified by:
startTest
in interface junit.framework.TestListener
addError
public void addError(junit.framework.Test test,
Throwable throwable)
- Specified by:
addError
in interface junit.framework.TestListener
addFailure
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError assertionFailedError)
- Specified by:
addFailure
in interface junit.framework.TestListener
endTest
public void endTest(junit.framework.Test test)
- Specified by:
endTest
in interface junit.framework.TestListener
endTestSuite
public void endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest test,
String out,
String err)
endTestSuite
public void endTestSuite(org.apache.tools.ant.taskdefs.optional.junit.JUnitTest test)
- Specified by:
endTestSuite
in interface org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter
Copyright (c) 2005-2009 The Grails project