Build 1.0_r1(from source)

android.test
Class BundlePrinter

java.lang.Object
  extended by junit.textui.ResultPrinter
      extended by android.test.BundlePrinter
All Implemented Interfaces:
TestListener

public class BundlePrinter
extends ResultPrinter

Subclass of ResultPrinter that adds test case results to a bundle. - This class is deprecated, and will be going away. Please don't use it.


Constructor Summary
BundlePrinter(PrintStream writer, Bundle result)
           
 
Method Summary
 void addError(Test test, Throwable t)
          An error occurred.
 void addFailure(Test test, AssertionFailedError t)
          A failure occurred.
 void endTest(Test test)
          A test ended.
 void startTest(Test test)
          A test started.
 
Methods inherited from class junit.textui.ResultPrinter
elapsedTimeAsString, getWriter, printDefect, printDefectHeader, printDefects, printDefectTrace, printErrors, printFailures, printFooter, printHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundlePrinter

public BundlePrinter(PrintStream writer,
                     Bundle result)
Method Detail

addError

public void addError(Test test,
                     Throwable t)
Description copied from interface: TestListener
An error occurred.

Specified by:
addError in interface TestListener
Overrides:
addError in class ResultPrinter
See Also:
TestListener.addError(Test, Throwable)

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)
Description copied from interface: TestListener
A failure occurred.

Specified by:
addFailure in interface TestListener
Overrides:
addFailure in class ResultPrinter
See Also:
TestListener.addFailure(Test, AssertionFailedError)

endTest

public void endTest(Test test)
Description copied from interface: TestListener
A test ended.

Specified by:
endTest in interface TestListener
Overrides:
endTest in class ResultPrinter
See Also:
TestListener.endTest(Test)

startTest

public void startTest(Test test)
Description copied from interface: TestListener
A test started.

Specified by:
startTest in interface TestListener
Overrides:
startTest in class ResultPrinter
See Also:
TestListener.startTest(Test)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature