diff options
Diffstat (limited to 'tools/scripts/java_tests_file.template')
| -rw-r--r-- | tools/scripts/java_tests_file.template | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/scripts/java_tests_file.template b/tools/scripts/java_tests_file.template new file mode 100644 index 000000000..7781a33c3 --- /dev/null +++ b/tools/scripts/java_tests_file.template @@ -0,0 +1,21 @@ +package PACKAGE; + +import android.test.ActivityInstrumentationTestCase; + +/** + * This is a simple framework for a test of an Application. See + * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on + * how to write and extend Application tests. + * <p/> + * To run this test, you can type: + * adb shell am instrument -w \ + * -e class PACKAGE.ACTIVITY_NAMETest \ + * PACKAGE.tests/android.test.InstrumentationTestRunner + */ +public class ACTIVITY_NAMETest extends ActivityInstrumentationTestCase<ACTIVITY_NAME> { + + public ACTIVITY_NAMETest() { + super("PACKAGE", ACTIVITY_NAME.class); + } + +}
\ No newline at end of file |
