FileDocCategorySizeDatePackage
TestCase.javaAPI DocAndroid 1.5 API1451Wed May 06 22:42:02 BST 2009android.test

TestCase

public interface TestCase implements Runnable
{@hide} More complex interface for test cases.

Just implementing Runnable is enough for many test cases. If you have additional setup or teardown, this interface might be for you, especially if you need to share it between different test cases, or your teardown code must execute regardless of whether your test passed.

See the android.test package documentation (click the more... link) for a full description

Fields Summary
Constructors Summary
Methods Summary
public voidsetUp(android.content.Context context)
Called before run() is called.

public voidtearDown()
Called after run() is called, even if run() threw an exception, but not if setUp() threw an execption.