1package PACKAGE; 2 3import android.test.ActivityInstrumentationTestCase2; 4 5/** 6 * This is a simple framework for a test of an Application. See 7 * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on 8 * how to write and extend Application tests. 9 * <p/> 10 * To run this test, you can type: 11 * adb shell am instrument -w \ 12 * -e class PACKAGE.ACTIVITY_NAMETest \ 13 * PACKAGE.tests/android.test.InstrumentationTestRunner 14 */ 15public class ACTIVITY_NAMETest extends ActivityInstrumentationTestCase2<ACTIVITY_NAME> { 16 17 public ACTIVITY_NAMETest() { 18 super("PACKAGE", ACTIVITY_NAME.class); 19 } 20 21}