OSDN Git Service

Merge "Add Eclipse project files for ddmlib-tests."
[android-x86/sdk.git] / templates / java_tests_file.template
1 package PACKAGE;
2
3 import 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  */
15 public 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 }