Android Open Source - PTScreenOff Main Activity Test






From Project

Back to project page PTScreenOff.

License

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.

Java Source Code

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);
    }

}




Java Source Code List

eu.chainfire.libsuperuser.Application.java
eu.chainfire.libsuperuser.Debug.java
eu.chainfire.libsuperuser.HideOverlaysReceiver.java
eu.chainfire.libsuperuser.ShellNotClosedException.java
eu.chainfire.libsuperuser.ShellOnMainThreadException.java
eu.chainfire.libsuperuser.Shell.java
eu.chainfire.libsuperuser.StreamGobbler.java
org.liberty.android.ptplugin.screenoff.MainActivityTest.java
org.liberty.android.ptplugin.screenoff.MainActivity.java
org.liberty.android.ptplugin.screenoff.MainReceiver.java
org.liberty.android.ptplugin.screenoff.PowerTogglesPlugin.java
org.liberty.android.ptplugin.screenoff.ScreenOffUtil.java