Back to project page PTScreenOff.
The source code is released under:
GNU General Public License
If you think the Android project PTScreenOff listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.liberty.android.ptplugin.screenoff; // w ww . j a va 2s. c o m 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 org.liberty.android.ptplugin.screenoff.MainActivityTest \ * org.liberty.android.ptplugin.screenoff.tests/android.test.InstrumentationTestRunner */ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActivity> { public MainActivityTest() { super("org.liberty.android.ptplugin.screenoff", MainActivity.class); } }