aQute.junit.runtime
Class JUnitReport

java.lang.Object
  extended by aQute.junit.runtime.JUnitReport
All Implemented Interfaces:
TestReporter, junit.framework.TestListener

public class JUnitReport
extends Object
implements TestReporter


Constructor Summary
JUnitReport(int port)
           
 
Method Summary
 void addError(junit.framework.Test test, Throwable t)
           
 void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
           
 void begin(GenericFramework fw, org.osgi.framework.Bundle targetBundle, List tests, int realcount)
           
 void end()
           
 void endTest(junit.framework.Test test)
           
 void startTest(junit.framework.Test test)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitReport

public JUnitReport(int port)
            throws Exception
Throws:
Exception
Method Detail

begin

public void begin(GenericFramework fw,
                  org.osgi.framework.Bundle targetBundle,
                  List tests,
                  int realcount)
Specified by:
begin in interface TestReporter

end

public void end()
Specified by:
end in interface TestReporter

addError

public void addError(junit.framework.Test test,
                     Throwable t)
Specified by:
addError in interface junit.framework.TestListener

addFailure

public void addFailure(junit.framework.Test test,
                       junit.framework.AssertionFailedError t)
Specified by:
addFailure in interface junit.framework.TestListener

endTest

public void endTest(junit.framework.Test test)
Specified by:
endTest in interface junit.framework.TestListener

startTest

public void startTest(junit.framework.Test test)
Specified by:
startTest in interface junit.framework.TestListener


Copyright © 2010 aQute SARL. All Rights Reserved.