Home | History | Annotate | Download | only in test

Lines Matching refs:Instrumentation

23 import android.app.Instrumentation;
56 * An {@link Instrumentation} that runs various types of {@link junit.framework.TestCase}s against
77 * <li>In an appropriate AndroidManifest.xml, define the this instrumentation with
79 * <li>Run the instrumentation using "adb shell am instrument -w",
81 * <li>Run the instrumentation using "adb shell am instrument -w",
84 * <li>Run the instrumentation using "adb shell am instrument -w",
87 * <li>Run the instrumentation using "adb shell am instrument -w",
145 * instrumentation command.
164 * instrumentation to the AndroidManifest.xml and the command to run it would look like:
172 public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider {
211 * This value, if stored with key {@link android.app.Instrumentation#REPORT_KEY_IDENTIFIER},
539 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID);
565 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
614 Instrumentation.REPORT_KEY_STREAMRESULT);
615 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
649 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg);
727 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
753 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID);
770 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
774 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "");
837 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
849 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT,
865 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ".");
882 // via Instrumentation.finish