Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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.

public abstract void addFailure ( Test test, AssertionFailedError t)

Added in API level 1

A failure occurred.

public abstract void endTest ( Test test)

Added in API level 1

A test ended.

public abstract void startTest ( Test test)

Added in API level 1

A test started.