Android APIs
Added in API level 1
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.

Returns
int

public abstract void run (TestResult result)

Added in API level 1

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

Parameters
result TestResult