JavaScript is disabled on your browser.
java.lang.Object
android.app.Instrumentation
android.test.InstrumentationTestRunner
com.example.spoon.ordering.tests.SpoonInstrumentationTestRunner
All Implemented Interfaces:
android.test.TestSuiteProvider
public class SpoonInstrumentationTestRunner
extends android.test.InstrumentationTestRunner
Test runner which disables the keyguard and wake up the screen during execution. Requires test
application have android.permission.DISABLE_KEYGUARD permission declared.
Nested Class Summary
Nested classes/interfaces inherited from class android.app.Instrumentation
android.app.Instrumentation.ActivityMonitor, android.app.Instrumentation.ActivityResult
Field Summary
Fields inherited from class android.test.InstrumentationTestRunner
REPORT_KEY_NAME_CLASS, REPORT_KEY_NAME_TEST, REPORT_KEY_NUM_CURRENT, REPORT_KEY_NUM_TOTAL, REPORT_KEY_STACK, REPORT_VALUE_ID, REPORT_VALUE_RESULT_ERROR, REPORT_VALUE_RESULT_FAILURE, REPORT_VALUE_RESULT_OK, REPORT_VALUE_RESULT_START
Fields inherited from class android.app.Instrumentation
REPORT_KEY_IDENTIFIER, REPORT_KEY_STREAMRESULT
Method Summary
Methods
Modifier and Type
Method and Description
void
onStart ()
Methods inherited from class android.test.InstrumentationTestRunner
getAllTests, getAndroidTestRunner, getLoader, getTestSuite, onCreate
Methods inherited from class android.app.Instrumentation
addMonitor, addMonitor, addMonitor, callActivityOnCreate, callActivityOnDestroy, callActivityOnNewIntent, callActivityOnPause, callActivityOnPostCreate, callActivityOnRestart, callActivityOnRestoreInstanceState, callActivityOnResume, callActivityOnSaveInstanceState, callActivityOnStart, callActivityOnStop, callActivityOnUserLeaving, callApplicationOnCreate, checkMonitorHit, endPerformanceSnapshot, finish, getAllocCounts, getBinderCounts, getComponentName, getContext, getTargetContext, invokeContextMenuAction, invokeMenuActionSync, isProfiling, newActivity, newActivity, newApplication, newApplication, onDestroy, onException, removeMonitor, runOnMainSync, sendCharacterSync, sendKeyDownUpSync, sendKeySync, sendPointerSync, sendStatus, sendStringSync, sendTrackballEventSync, setAutomaticPerformanceSnapshots, setInTouchMode, start, startActivitySync, startAllocCounting, startPerformanceSnapshot, startProfiling, stopAllocCounting, stopProfiling, waitForIdle, waitForIdleSync, waitForMonitor, waitForMonitorWithTimeout
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
onStart
public void onStart()
Overrides:
onStart in class android.test.InstrumentationTestRunner
Copyright © 2012-2014 Square, Inc. . All Rights Reserved.