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

Test

junit.framework.Test
Known Indirect Subclasses

Class Overview

A Test can be run and collect its results.

See Also

Summary

Public Methods
abstract int countTestCases ()
Counts the number of test cases that will be run by this test.
abstract void run ( TestResult result)
Runs a test and collects its result in a TestResult instance.

Public Methods

public abstract int countTestCases ()

Added in API level 1

Counts the number of test cases that will be run by this test.

public abstract void run ( TestResult result)

Added in API level 1

Runs a test and collects its result in a TestResult instance.