@Deprecated public class TestPrinter extends Object implements TestRunner.Listener
android.test
package description for information about
getting test results.
Not needed for 1.0 SDK.Constructor and Description |
---|
TestPrinter(String tag,
boolean onlyFailures)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addError(Test test,
Throwable t)
Deprecated.
|
void |
addFailure(Test test,
junit.framework.AssertionFailedError t)
Deprecated.
|
void |
endTest(Test test)
Deprecated.
|
void |
failed(String className,
Throwable exception)
Deprecated.
|
void |
finished(String className)
Deprecated.
|
void |
passed(String className)
Deprecated.
|
void |
performance(String className,
long itemTimeNS,
int iterations,
List<TestRunner.IntermediateTime> intermediates)
Deprecated.
|
void |
started(String className)
Deprecated.
|
void |
startTest(Test test)
Deprecated.
|
public TestPrinter(String tag, boolean onlyFailures)
public void started(String className)
started
in interface TestRunner.Listener
public void finished(String className)
finished
in interface TestRunner.Listener
public void performance(String className, long itemTimeNS, int iterations, List<TestRunner.IntermediateTime> intermediates)
performance
in interface TestRunner.Listener
public void passed(String className)
passed
in interface TestRunner.Listener
public void failed(String className, Throwable exception)
failed
in interface TestRunner.Listener
public void addError(Test test, Throwable t)
public void addFailure(Test test, junit.framework.AssertionFailedError t)
public void endTest(Test test)
public void startTest(Test test)