|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ActivityInstrumentationTestCase2 org.safs.android.engine.DActivityInstrumentTestCase
public class DActivityInstrumentTestCase
Robotium requires the use of an ActivityInstrumentationTestCase2 and not the InstrumentationTestRunner of the test package.
In a general-purpose framework like SAFS this may be all that this class ever does-- instantiate a working version of Robotium Solo.
Constructor Summary | |
---|---|
DActivityInstrumentTestCase(java.lang.String targetPackage,
java.lang.Class targetClass)
Constructor for the class merely calling the superclass constructor. |
Method Summary | |
---|---|
Solo |
getRobotium()
Retrieve the Solo instance after it has been created. |
void |
setUp()
Acquires the launch Activity with a call to getActivity() and then creates the Robotium Solo instance from that Activity. |
void |
tearDown()
Currently, simply calls solo.finishOpenActivities() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DActivityInstrumentTestCase(java.lang.String targetPackage, java.lang.Class targetClass)
String
- targetPackageClass
- targetClassActivityInstrumentationTestCase2#ActivityInstrumentationTestCase2(String, Class)
Method Detail |
---|
public void setUp()
#getActivity()
,
com.jayway.android.robotium.solo.Solo#Solo(Instrumentation, Activity)
public Solo getRobotium()
public void tearDown()
Solo#finishOpenedActivities()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |