org.apache.qpid.test.framework.listeners
Class XMLTestListener.Result

java.lang.Object
  extended by org.apache.qpid.test.framework.listeners.XMLTestListener.Result
Enclosing class:
XMLTestListener

protected static class XMLTestListener.Result
extends Object

Used to capture the results of a particular test run.


Field Summary
 Throwable error
          Holds the exception that caused error in this test.
 junit.framework.AssertionFailedError failure
          Holds the assertion exception that caused failure in this test.
 String testClass
          Holds the name of the test class.
 String testName
          Holds the name of the test method.
 
Constructor Summary
XMLTestListener.Result(String testClass, String testName)
          Creates a placeholder for the results of a test.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testClass

public String testClass
Holds the name of the test class.


testName

public String testName
Holds the name of the test method.


error

public Throwable error
Holds the exception that caused error in this test.


failure

public junit.framework.AssertionFailedError failure
Holds the assertion exception that caused failure in this test.

Constructor Detail

XMLTestListener.Result

public XMLTestListener.Result(String testClass,
                              String testName)
Creates a placeholder for the results of a test.

Parameters:
testClass - The test class.
testName - The name of the test that was run.


Licensed to the Apache Software Foundation