|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface TestCase
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
| Method Summary | |
|---|---|
void |
setUp(Context context)
Deprecated. Called before run() is called. |
void |
tearDown()
Deprecated. Called after run() is called, even if run() threw an exception, but not if setUp() threw an execption. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void setUp(Context context)
void tearDown()
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||