script-astra/Android/Sdk/platforms/android-34/templates/java_tests_file.template

21 lines
650 B
Plaintext
Raw Normal View History

2025-01-20 15:15:20 +00:00
package PACKAGE;
import android.test.ActivityInstrumentationTestCase2;
/**
* 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 ACTIVITY_FQ_NAME \
* PACKAGE.tests/android.test.InstrumentationTestRunner
*/
public class ACTIVITY_CLASS_NAME extends ActivityInstrumentationTestCase2<ACTIVITY_TESTED_CLASS_NAME> {
public ACTIVITY_CLASS_NAME() {
super("PACKAGE", ACTIVITY_TESTED_CLASS_NAME.class);
}
}