to top
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.

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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.