Most visited


Recently visited


Added in API level 1

Test

public interface Test

junit.framework.Test
Known Indirect Subclasses


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


countTestCases

Added in API level 1
int countTestCases ()

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

Returns
int

run

Added in API level 1
void run (TestResult result)

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

Parameters
result TestResult

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.