Build 1.0_r1(from source)

android.test
Interface TestCase

All Superinterfaces:
Runnable

Deprecated.

@Deprecated
public interface TestCase
extends Runnable

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

setUp

void setUp(Context context)
Deprecated. 
Called before run() is called.


tearDown

void tearDown()
Deprecated. 
Called after run() is called, even if run() threw an exception, but not if setUp() threw an execption.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature