





















































































































<!DOCTYPE html>
<html devsite>
<head>

  
    <meta name="top_category" value="develop" />
    
    <meta name="subcategory" value="reference" />

    
      <meta name="book_path" value="/reference/android/support/test/_book.yaml" />
    

    

    

    

    

    

    


<title>AndroidJUnitRunner</title>


</head>

<body class="gc-documentation develop reference api apilevel-">
<div id="doc-api-level" class="" style="display:none"></div>




<div id="naMessage"></div>

<div id="api-info-block">
<div class="api-level">
  
  
  

</div>



  
   
  
  
  
  

  
   
  
  
   
  
  
  

  
   
  
  
  
  


<div class="sum-details-links">

Summary:






  <a href="#inhconstants">Inherited Constants</a>
  




  &#124; <a href="#pubctors">Ctors</a>
  



  &#124; <a href="#pubmethods">Methods</a>
  



  &#124; <a href="#inhmethods">Inherited Methods</a>

&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>

</div><!-- end sum-details-links -->
</div><!-- end api-info-block -->

<div class="api apilevel-" id="jd-content">

<!-- ======== START OF CLASS DATA ======== -->

<h1 class="api-title">AndroidJUnitRunner</h1>
<p>
<code class="api-signature">
  public
  
  
  
  class
  AndroidJUnitRunner
</code>
<br>


<code class="api-signature">
  
  
  
</code>

<code class="api-signature">
  
  
  
</code>

<code class="api-signature">
  
    extends <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html">MonitoringInstrumentation</a>
  
  
  
</code>

<code class="api-signature">
  
  
  
</code>

</p><table class="jd-inheritance-table">


  <tr>
    
    <td colspan="4" class="jd-inheritance-class-cell">java.lang.Object
    </td>
  </tr>
  

  <tr>
    
      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
    
    <td colspan="3" class="jd-inheritance-class-cell">android.app.Instrumentation
    </td>
  </tr>
  

  <tr>
    
      <td class="jd-inheritance-space">&nbsp;</td>
    
      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
    
    <td colspan="2" class="jd-inheritance-class-cell"><a href="/reference/android/support/test/runner/MonitoringInstrumentation.html">android.support.test.runner.MonitoringInstrumentation</a>
    </td>
  </tr>
  

  <tr>
    
      <td class="jd-inheritance-space">&nbsp;</td>
    
      <td class="jd-inheritance-space">&nbsp;</td>
    
      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
    
    <td colspan="1" class="jd-inheritance-class-cell">android.support.test.runner.AndroidJUnitRunner
    </td>
  </tr>
  

</table>
  

    

<br><hr>


  <p>An <code><a href="/reference/android/app/Instrumentation.html">Instrumentation</a></code> that runs JUnit3 and JUnit4 tests against
 an Android package (application).
 <p/>
 Based on and replacement for <code><a href="/reference/android/test/InstrumentationTestRunner.html">InstrumentationTestRunner</a></code>. Supports a superset
 of <code><a href="/reference/android/test/InstrumentationTestRunner.html">InstrumentationTestRunner</a></code> features,
 while maintaining command/output format compatibility with that class.

 <h3>Typical Usage</h3>
 <p/>
 Write JUnit3 style <code><a href="/reference/junit/framework/TestCase.html">TestCase</a></code>s and/or JUnit4 style
 <a href="http://junit.org/javadoc/latest/org/junit/Test.html">
 <code>Test</code></a>s that perform tests against the classes in your package.
 Make use of the <code><a href="/reference/android/support/test/InstrumentationRegistry.html">InstrumentationRegistry</a></code> if needed.
 <p/>
 In an appropriate AndroidManifest.xml, define an instrumentation with android:name set to
 <code><a href="/reference/android/support/test/runner/AndroidJUnitRunner.html">AndroidJUnitRunner</a></code> and the appropriate android:targetPackage
 set.
 <p/>
 Execution options:
 <p/>
 <b>Running all tests:</b> adb shell am instrument -w
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all tests in a class:</b> adb shell am instrument -w
 -e class com.android.foo.FooTest
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running a single test:</b> adb shell am instrument -w
 -e class com.android.foo.FooTest#testFoo
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all tests in multiple classes:</b> adb shell am instrument -w
 -e class com.android.foo.FooTest,com.android.foo.TooTest
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all tests except those in a particular class:</b> adb shell am instrument -w
 -e notClass com.android.foo.FooTest
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all but a single test:</b> adb shell am instrument -w
 -e notClass com.android.foo.FooTest#testFoo
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all tests listed in a file:</b> adb shell am instrument -w
 -e testFile /sdcard/tmp/testFile.txt com.android.foo/com.android.test.runner.AndroidJUnitRunner
 The file should contain a list of line separated test classes and optionally methods (expected
 format: com.android.foo.FooClassName#testMethodName).
 <p/>
 <b>Running all tests in a java package:</b> adb shell am instrument -w
 -e package com.android.foo.bar
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Running all tests except a particular package:</b> adb shell am instrument -w
 -e notPackage com.android.foo.bar
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>To debug your tests, set a break point in your code and pass:</b>
 -e debug true
 <p/>
 <b>Running a specific test size i.e. annotated with <code><a href="/reference/android/support/test/filters/SmallTest.html">SmallTest</a></code> or <code><a href="/reference/android/support/test/filters/MediumTest.html">MediumTest</a></code> or
 <code><a href="/reference/android/support/test/filters/LargeTest.html">LargeTest</a></code>:</b>
 adb shell am instrument -w -e size [small|medium|large]
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Filter test run to tests with given annotation:</b> adb shell am instrument -w
 -e annotation com.android.foo.MyAnnotation
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 If used with other options, the resulting test run will contain the intersection of the two
 options.
 e.g. "-e size large -e annotation com.android.foo.MyAnnotation" will run only tests with both
 the <code><a href="/reference/android/support/test/filters/LargeTest.html">LargeTest</a></code> and "com.android.foo.MyAnnotation" annotations.
 <p/>
 <b>Filter test run to tests <i>without</i> given annotation:</b> adb shell am instrument -w
 -e notAnnotation com.android.foo.MyAnnotation
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 As above, if used with other options, the resulting test run will contain the intersection of
 the two options.
 e.g. "-e size large -e notAnnotation com.android.foo.MyAnnotation" will run tests with
 the <code><a href="/reference/android/support/test/filters/LargeTest.html">LargeTest</a></code> annotation that do NOT have the "com.android.foo.MyAnnotation" annotations.
 <p/>
 <b>Filter test run to tests <i>without any</i> of a list of annotations:</b> adb shell am
 instrument -w -e notAnnotation com.android.foo.MyAnnotation,com.android.foo.AnotherAnnotation
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>Filter test run to a shard of all tests, where numShards is an integer greater than 0 and
 shardIndex is an integer between 0 (inclusive) and numShards (exclusive):</b> adb shell am
 instrument -w -e numShards 4 -e shardIndex 1
 com.android.foo/android.support.test.runner.AndroidJUnitRunner
 <p/>
 <b>To run in 'log only' mode</b>
 -e log true
 This option will load and iterate through all test classes and methods, but will bypass actual
 test execution. Useful for quickly obtaining info on the tests to be executed by an
 instrumentation command.
 <p/>
 <b>To generate code coverage files (*.ec) that can be used by EMMA or JaCoCo:</b>
 -e coverage true
 Note: For this to work, your classes have to be instrumented offline (i.e. at build time) by
 EMMA/JaCoCo. By default, the code coverage results file will be saved in a
 /data/data/<app>/files/coverage.ec file, unless overridden by coverageFile flag (see below)
 <p/>
 <b> To specify EMMA code coverage results file path:</b>
 -e coverageFile /sdcard/myFile.ec
 <p/>
 <b> To specify one or more
 <a href="http://junit.org/javadoc/latest/org/junit/runner/notification/RunListener.html">
 <code>RunListener</code></a>s to observe the test run:</b>
 -e listener com.foo.Listener,com.foo.Listener2
 <p/>
 <b>Set timeout (in milliseconds) that will be applied to each test:</b>
 -e timeout_msec 5000
 <p/>
 Supported for both JUnit3 and JUnit4 style tests. For JUnit3 tests, this flag is the only way
 to specify timeouts. For JUnit4 tests, this flag overrides timeouts specified via
 <a href="http://junit.org/javadoc/latest/org/junit/rules/Timeout.html">
 <code>org.junit.rules.Timeout</code></a>. Please note that in JUnit4
 <a href="http://junit.org/javadoc/latest/org/junit/Test.html#timeout()">
 <code>org.junit.Test#timeout()</code></a>
 annotation take precedence over both, this flag and
 <a href="http://junit.org/javadoc/latest/org/junit/Test.html#timeout()">
 <code>org.junit.Test#timeout()</code></a>
 annotation.
 <p/>
 <b>To disable Google Analytics:</b>
 -e disableAnalytics true
 <p/>
 In order to make sure we are on the right track with each new release,
 the test runner collects analytics. More specifically, it uploads a hash of the package name
 of the application under test for each invocation. This allows us to measure both the count of
 unique packages using this library as well as the volume of usage.
 <p/>
 <b/>All arguments can also be specified in the in the AndroidManifest via a meta-data tag:</b>
 eg. using listeners:
 instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" ...
    meta-data android:name="listener"
              android:value="com.foo.Listener,com.foo.Listener2"
 Arguments specified via shell will take override manifest specified arguments.
</p>







<h2 class="api-section">Summary</h2>
















<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<table id="inhconstants" class="responsive constants inhtable">
<tr><th><h3>Inherited constants</h3></th></tr>




  <tr class="api apilevel-" >
  <td>
  
  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-constants-android.app.Instrumentation" class="jd-expando-trigger closed"
          ><img height="34" id="inherited-constants-android.app.Instrumentation-trigger"
          src="/assets/images/styles/disclosure_down.png"
          class="jd-expando-trigger-img" /></a>From
  class
  <code>
    android.app.Instrumentation
  </code>
  <div id="inherited-constants-android.app.Instrumentation">
    <div id="inherited-constants-android.app.Instrumentation-list"
          class="jd-inheritedlinks">
    </div>
    <div id="inherited-constants-android.app.Instrumentation-summary" style="display: none;">
      <table class="jd-sumtable-expando responsive">
      

    
    <tr class="api apilevel-" >
        <td><code>String</code></td>
        <td width="100%">
          <code>REPORT_KEY_IDENTIFIER</code>
          <p>
          
    
</p>
        </td>
    </tr>
    
    
    <tr class="api apilevel-" >
        <td><code>String</code></td>
        <td width="100%">
          <code>REPORT_KEY_STREAMRESULT</code>
          <p>
          
    
</p>
        </td>
    </tr>
    
    
</table>
    </div>
  </div>
  </td></tr>




</table>









<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<table id="pubctors" class="responsive constructors">
<tr><th colspan="2"><h3>Public constructors</h3></th></tr>



  
  <tr class="api apilevel-" >
  
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/AndroidJUnitRunner.html#AndroidJUnitRunner()">AndroidJUnitRunner</a>()
      </code>
      
    </td>
  </tr>
  


</table>






<!-- ========== METHOD SUMMARY =========== -->
<table id="pubmethods" class="responsive methods">
<tr><th colspan="2"><h3>Public methods</h3></th></tr>



  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/AndroidJUnitRunner.html#finish(int, android.os.Bundle)">finish</a>(int resultCode, Bundle results)
      </code>
      
        <p>Ensures all activities launched in this instrumentation are finished before the
 instrumentation exits.
        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/AndroidJUnitRunner.html#onCreate(android.os.Bundle)">onCreate</a>(Bundle arguments)
      </code>
      
        <p>Sets up lifecycle monitoring, and argument registry.
        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/AndroidJUnitRunner.html#onException(java.lang.Object, java.lang.Throwable)">onException</a>(Object obj, Throwable e)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/AndroidJUnitRunner.html#onStart()">onStart</a>()
      </code>
      
        <p>This implementation of onStart() will guarantee that the Application's onCreate method
 has completed when it returns.
        
    
</p>
      
    </td>
  </tr>
  


</table>







<!-- ========== METHOD SUMMARY =========== -->
<table id="inhmethods" class="methods inhtable">
<tr><th><h3>Inherited methods</h3></th></tr>


<tr class="api apilevel-" >
<td colspan="2">

  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.support.test.runner.MonitoringInstrumentation" class="jd-expando-trigger closed"
          ><img height="34" id="inherited-methods-android.support.test.runner.MonitoringInstrumentation-trigger"
          src="/assets/images/styles/disclosure_down.png"
          class="jd-expando-trigger-img" /></a>From
class
<code>
  
    <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html">android.support.test.runner.MonitoringInstrumentation</a>
  
</code>
<div id="inherited-methods-android.support.test.runner.MonitoringInstrumentation">
  <div id="inherited-methods-android.support.test.runner.MonitoringInstrumentation-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-android.support.test.runner.MonitoringInstrumentation-summary" style="display: none;">
    <table class="jd-sumtable-expando responsive">
      


  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnCreate(android.app.Activity, android.os.Bundle)">callActivityOnCreate</a>(Activity activity, Bundle bundle)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnDestroy(android.app.Activity)">callActivityOnDestroy</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnPause(android.app.Activity)">callActivityOnPause</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnRestart(android.app.Activity)">callActivityOnRestart</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnResume(android.app.Activity)">callActivityOnResume</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnStart(android.app.Activity)">callActivityOnStart</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callActivityOnStop(android.app.Activity)">callActivityOnStop</a>(Activity activity)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#callApplicationOnCreate(android.app.Application)">callApplicationOnCreate</a>(Application app)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#dumpThreadStateToOutputs(java.lang.String)">dumpThreadStateToOutputs</a>(String outputFileName)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#execStartActivities(android.content.Context, android.os.IBinder, android.os.IBinder, android.app.Activity, android.content.Intent[], android.os.Bundle)">execStartActivities</a>(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options)
      </code>
      
        <p>

        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Instrumentation.ActivityResult</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#execStartActivity(android.content.Context, android.os.IBinder, android.os.IBinder, android.app.Activity, android.content.Intent, int, android.os.Bundle)">execStartActivity</a>(Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options)
      </code>
      
        <p>

        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Instrumentation.ActivityResult</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#execStartActivity(android.content.Context, android.os.IBinder, android.os.IBinder, android.app.Activity, android.content.Intent, int)">execStartActivity</a>(Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode)
      </code>
      
        <p>

        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Instrumentation.ActivityResult</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#execStartActivity(android.content.Context, android.os.IBinder, android.os.IBinder, android.app.Fragment, android.content.Intent, int, android.os.Bundle)">execStartActivity</a>(Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options)
      </code>
      
        <p>

        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#finish(int, android.os.Bundle)">finish</a>(int resultCode, Bundle results)
      </code>
      
        <p>Ensures all activities launched in this instrumentation are finished before the
 instrumentation exits.
        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        String</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#getThreadState()">getThreadState</a>()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#newActivity(java.lang.Class<?>, android.content.Context, android.os.IBinder, android.app.Application, android.content.Intent, android.content.pm.ActivityInfo, java.lang.CharSequence, android.app.Activity, java.lang.String, java.lang.Object)">newActivity</a>(Class&lt;?&gt; clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#onCreate(android.os.Bundle)">onCreate</a>(Bundle arguments)
      </code>
      
        <p>Sets up lifecycle monitoring, and argument registry.
        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#onDestroy()">onDestroy</a>()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#onException(java.lang.Object, java.lang.Throwable)">onException</a>(Object obj, Throwable e)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#onStart()">onStart</a>()
      </code>
      
        <p>This implementation of onStart() will guarantee that the Application's onCreate method
 has completed when it returns.
        
    
</p>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#specifyDexMakerCacheProperty()">specifyDexMakerCacheProperty</a>()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#startActivitySync(android.content.Intent)">startActivitySync</a>(Intent intent)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      <a href="/reference/android/support/test/runner/MonitoringInstrumentation.html#waitForActivitiesToComplete()">waitForActivitiesToComplete</a>()
      </code>
      
        <p>Ensures we've onStopped() all activities which were onStarted().
        
    
</p>
      
    </td>
  </tr>
  


    </table>
  </div>
</div>
</td></tr>



<tr class="api apilevel-" >
<td colspan="2">

  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.app.Instrumentation" class="jd-expando-trigger closed"
          ><img height="34" id="inherited-methods-android.app.Instrumentation-trigger"
          src="/assets/images/styles/disclosure_down.png"
          class="jd-expando-trigger-img" /></a>From
class
<code>
  
    android.app.Instrumentation
  
</code>
<div id="inherited-methods-android.app.Instrumentation">
  <div id="inherited-methods-android.app.Instrumentation-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-android.app.Instrumentation-summary" style="display: none;">
    <table class="jd-sumtable-expando responsive">
      


  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Instrumentation.ActivityMonitor</code>
    </td>
  
    <td width="100%">
      <code>
      addMonitor(String arg0, Instrumentation.ActivityResult arg1, boolean arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Instrumentation.ActivityMonitor</code>
    </td>
  
    <td width="100%">
      <code>
      addMonitor(IntentFilter arg0, Instrumentation.ActivityResult arg1, boolean arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      addMonitor(Instrumentation.ActivityMonitor arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnCreate(Activity arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnCreate(Activity arg0, Bundle arg1, PersistableBundle arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnDestroy(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnNewIntent(Activity arg0, Intent arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnPause(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnPostCreate(Activity arg0, Bundle arg1, PersistableBundle arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnPostCreate(Activity arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnRestart(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnRestoreInstanceState(Activity arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnRestoreInstanceState(Activity arg0, Bundle arg1, PersistableBundle arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnResume(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnSaveInstanceState(Activity arg0, Bundle arg1, PersistableBundle arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnSaveInstanceState(Activity arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnStart(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnStop(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callActivityOnUserLeaving(Activity arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      callApplicationOnCreate(Application arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      checkMonitorHit(Instrumentation.ActivityMonitor arg0, int arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      endPerformanceSnapshot()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      finish(int arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Bundle</code>
    </td>
  
    <td width="100%">
      <code>
      getAllocCounts()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Bundle</code>
    </td>
  
    <td width="100%">
      <code>
      getBinderCounts()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        ComponentName</code>
    </td>
  
    <td width="100%">
      <code>
      getComponentName()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Context</code>
    </td>
  
    <td width="100%">
      <code>
      getContext()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Context</code>
    </td>
  
    <td width="100%">
      <code>
      getTargetContext()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        UiAutomation</code>
    </td>
  
    <td width="100%">
      <code>
      getUiAutomation()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      invokeContextMenuAction(Activity arg0, int arg1, int arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      invokeMenuActionSync(Activity arg0, int arg1, int arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      isProfiling()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      newActivity(Class&lt;?&gt; arg0, Context arg1, IBinder arg2, Application arg3, Intent arg4, ActivityInfo arg5, CharSequence arg6, Activity arg7, String arg8, Object arg9)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      newActivity(ClassLoader arg0, String arg1, Intent arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Application</code>
    </td>
  
    <td width="100%">
      <code>
      newApplication(ClassLoader arg0, String arg1, Context arg2)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        static
        
        
        Application</code>
    </td>
  
    <td width="100%">
      <code>
      newApplication(Class&lt;?&gt; arg0, Context arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      onCreate(Bundle arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      onDestroy()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      onException(Object arg0, Throwable arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      onStart()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      removeMonitor(Instrumentation.ActivityMonitor arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      runOnMainSync(Runnable arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendCharacterSync(int arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendKeyDownUpSync(int arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendKeySync(KeyEvent arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendPointerSync(MotionEvent arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendStatus(int arg0, Bundle arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendStringSync(String arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      sendTrackballEventSync(MotionEvent arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      setAutomaticPerformanceSnapshots()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      setInTouchMode(boolean arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      start()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      startActivitySync(Intent arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      startAllocCounting()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      startPerformanceSnapshot()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      startProfiling()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      stopAllocCounting()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      stopProfiling()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      waitForIdle(Runnable arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      waitForIdleSync()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      waitForMonitor(Instrumentation.ActivityMonitor arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Activity</code>
    </td>
  
    <td width="100%">
      <code>
      waitForMonitorWithTimeout(Instrumentation.ActivityMonitor arg0, long arg1)
      </code>
      
    </td>
  </tr>
  


    </table>
  </div>
</div>
</td></tr>



<tr class="api apilevel-" >
<td colspan="2">

  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
          ><img height="34" id="inherited-methods-java.lang.Object-trigger"
          src="/assets/images/styles/disclosure_down.png"
          class="jd-expando-trigger-img" /></a>From
class
<code>
  
    java.lang.Object
  
</code>
<div id="inherited-methods-java.lang.Object">
  <div id="inherited-methods-java.lang.Object-list"
        class="jd-inheritedlinks">
  </div>
  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
    <table class="jd-sumtable-expando responsive">
      


  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        Object</code>
    </td>
  
    <td width="100%">
      <code>
      clone()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code>
      equals(Object arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      finalize()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        Class&lt;?&gt;</code>
    </td>
  
    <td width="100%">
      <code>
      getClass()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code>
      hashCode()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      notify()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      notifyAll()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        
        
        String</code>
    </td>
  
    <td width="100%">
      <code>
      toString()
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      wait(long arg0, int arg1)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      wait(long arg0)
      </code>
      
    </td>
  </tr>
  

  
  <tr class="api apilevel-" >
  
  
    <td><code>
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code>
      wait()
      </code>
      
    </td>
  </tr>
  


    </table>
  </div>
</div>
</td></tr>


</table>



<!-- XML Attributes -->


<!-- Enum Values -->


<!-- Constants -->


<!-- Fields -->


<!-- Public ctors -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->
<h2 class="api-section">Public constructors</h2>



<A NAME="AndroidJUnitRunner()"></A>

<div class="api apilevel-">
    <h3 class="api-name">AndroidJUnitRunner</h3>
    <div class="api-level">
      <div></div>
      
  

    </div>
<pre class="api-signature no-pretty-print">
AndroidJUnitRunner ()</pre>
    
    

    
  <p></p>

</div>





<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- Protected ctors -->



<!-- ========= METHOD DETAIL ======== -->
<!-- Public methdos -->

<h2 class="api-section">Public methods</h2>



<A NAME="finish(int, android.os.Bundle)"></A>

<div class="api apilevel-">
    <h3 class="api-name">finish</h3>
    <div class="api-level">
      <div></div>
      
  

    </div>
<pre class="api-signature no-pretty-print">
void finish (int resultCode, 
                Bundle results)</pre>
    
    

    
  <p>Ensures all activities launched in this instrumentation are finished before the
 instrumentation exits.
 <p>
 Subclasses who override this method should do their finish processing and then call
 super.finish to invoke this logic. Not waiting for all activities to finish() before exiting
 can cause device wide instability.
 </p>
</p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code>resultCode</code></td>
        <td width="100%">
          <code>int</code>
          <!-- no parameter comment --></td>
      </tr>
      <tr>
        <td><code>results</code></td>
        <td width="100%">
          <code>Bundle</code>
          <!-- no parameter comment --></td>
      </tr>
    </table>

</div>


<A NAME="onCreate(android.os.Bundle)"></A>

<div class="api apilevel-">
    <h3 class="api-name">onCreate</h3>
    <div class="api-level">
      <div></div>
      
  

    </div>
<pre class="api-signature no-pretty-print">
void onCreate (Bundle arguments)</pre>
    
    

    
  <p>Sets up lifecycle monitoring, and argument registry.
 <p>
 Subclasses must call up to onCreate(). This onCreate method does not call start()
 it is the subclasses responsibility to call start if it desires.
 </p>
</p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code>arguments</code></td>
        <td width="100%">
          <code>Bundle</code>
          <!-- no parameter comment --></td>
      </tr>
    </table>

</div>


<A NAME="onException(java.lang.Object, java.lang.Throwable)"></A>

<div class="api apilevel-">
    <h3 class="api-name">onException</h3>
    <div class="api-level">
      <div></div>
      
  

    </div>
<pre class="api-signature no-pretty-print">
boolean onException (Object obj, 
                Throwable e)</pre>
    
    

    
  <p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code>obj</code></td>
        <td width="100%">
          <code>Object</code>
          <!-- no parameter comment --></td>
      </tr>
      <tr>
        <td><code>e</code></td>
        <td width="100%">
          <code>Throwable</code>
          <!-- no parameter comment --></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code>boolean</code></td>
        <td width="100%"><!-- no returns description in source --></td>
      </tr>
    </table>

</div>


<A NAME="onStart()"></A>

<div class="api apilevel-">
    <h3 class="api-name">onStart</h3>
    <div class="api-level">
      <div></div>
      
  

    </div>
<pre class="api-signature no-pretty-print">
void onStart ()</pre>
    
    

    
  <p>This implementation of onStart() will guarantee that the Application's onCreate method
 has completed when it returns.
 <p>
 Subclasses should call super.onStart() before executing any code that touches the application
 and it's state.
 </p>
</p>

</div>





<!-- ========= METHOD DETAIL ======== -->



<!-- ========= END OF CLASS DATA ========= -->

</div><!-- end jd-content -->



<div class="data-reference-resources-wrapper">
  
  <ul data-reference-resources>
    
    
    
    <li><h2>Classes</h2>
      <ul>
          <li class="api apilevel-"><a href="/reference/android/support/test/runner/AndroidJUnit4.html">AndroidJUnit4</a></li>
          <li class="selected api apilevel-"><a href="/reference/android/support/test/runner/AndroidJUnitRunner.html">AndroidJUnitRunner</a></li>
          <li class="api apilevel-"><a href="/reference/android/support/test/runner/MonitoringInstrumentation.html">MonitoringInstrumentation</a></li>
          <li class="api apilevel-"><a href="/reference/android/support/test/runner/MonitoringInstrumentation.ActivityFinisher.html">MonitoringInstrumentation.ActivityFinisher</a></li>
          <li class="api apilevel-"><a href="/reference/android/support/test/runner/UsageTrackerFacilitator.html">UsageTrackerFacilitator</a></li>
      </ul>
    </li>
    
    
    
  </ul>
  
</div>



</body>
</html>
