Skip to content

Most visited

Recently visited

navigation
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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.