xref: /aosp_15_r20/development/tools/templates/java_tests_file.template (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
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 ACTIVITY_FQ_NAME \
13 * PACKAGE.tests/android.test.InstrumentationTestRunner
14 */
15public class ACTIVITY_CLASS_NAME extends ActivityInstrumentationTestCase2<ACTIVITY_TESTED_CLASS_NAME> {
16
17    public ACTIVITY_CLASS_NAME() {
18        super("PACKAGE", ACTIVITY_TESTED_CLASS_NAME.class);
19    }
20
21}