Android APIs
Added in API level 1
public interface

TestListener

junit.framework.TestListener
Known Indirect Subclasses

Class Overview

A Listener for test progress

Summary

Public Methods
abstract void addError(Test test, Throwable t)
An error occurred.
abstract void addFailure(Test test, AssertionFailedError t)
A failure occurred.
abstract void endTest(Test test)
A test ended.
abstract void startTest(Test test)
A test started.

Public Methods

public abstract void addError (Test test, Throwable t)

Added in API level 1

An error occurred.

Parameters
test Test
t Throwable

public abstract void addFailure (Test test, AssertionFailedError t)

Added in API level 1

A failure occurred.

Parameters
test Test
t AssertionFailedError

public abstract void endTest (Test test)

Added in API level 1

A test ended.

Parameters
test Test

public abstract void startTest (Test test)

Added in API level 1

A test started.

Parameters
test Test