to top
Android APIs
Since: 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)

Since: API Level 1

An error occurred.

public abstract void addFailure (Test test, AssertionFailedError t)

Since: API Level 1

A failure occurred.

public abstract void endTest (Test test)

Since: API Level 1

A test ended.

public abstract void startTest (Test test)

Since: API Level 1

A test started.