aQute.junit.runtime
Class XMLReport

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

public class XMLReport
extends Object
implements TestReporter


Constructor Summary
XMLReport(String reportName)
           
 
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 classNames, int realcount)
           
 void end()
           
 void endTest(junit.framework.Test test)
           
 void setTests(List flattened)
           
 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

XMLReport

public XMLReport(String reportName)
          throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

begin

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

end

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

setTests

public void setTests(List flattened)

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


Copyright © 2010 aQute SARL. All Rights Reserved.