Home
last modified time | relevance | path

Searched refs:mInstr (Results 1 – 6 of 6) sorted by relevance

/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
DAndroidTestSuite.java36 private final Instrumentation mInstr; field in AndroidTestSuite
40 mInstr = instrumentation; in AndroidTestSuite()
45 mInstr = instrumentation; in AndroidTestSuite()
51 ((AndroidTestCase)test).setContext(mInstr.getTargetContext()); in runTest()
54 ((InstrumentationTestCase)test).injectInstrumentation(mInstr); in runTest()
60 return mInstr; in getInstrumentation()
DAndroidJUnit3Builder.java31 private Instrumentation mInstr; field in AndroidJUnit3Builder
35 mInstr = instr; in AndroidJUnit3Builder()
44 return new AndroidJUnit3ClassRunner(testClass, mInstr); in runnerForClass()
46 return new AndroidJUnit3ClassRunner(testClass, mInstr); in runnerForClass()
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
DTestRequestBuilderTest.java61 public Instrumentation mInstr; field in TestRequestBuilderTest
70 TestRequest request = b.build(mInstr); in testNoSize()
84 TestRequest request = b.build(mInstr); in testSize()
99 TestRequest request = b.build(mInstr); in testSize_class()
114 TestRequest request = b.build(mInstr); in testAddAnnotationInclusionFilter()
129 TestRequest request = b.build(mInstr); in testAddAnnotationExclusionFilter()
/frameworks/testing/androidtestlib/src/com/android/test/runner/
DAndroidRunnerBuilder.java32 private final Instrumentation mInstr; field in AndroidRunnerBuilder
39 mInstr = instr; in AndroidRunnerBuilder()
40 mAndroidJUnit3Builder = new AndroidJUnit3Builder(mInstr, skipExecution); in AndroidRunnerBuilder()
41 mAndroidJUnit4Builder = new AndroidJUnit4Builder(mInstr, skipExecution); in AndroidRunnerBuilder()
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
DAndroidJUnit4ClassRunner.java39 private final Instrumentation mInstr; field in AndroidJUnit4ClassRunner
51 mInstr = instr; in AndroidJUnit4ClassRunner()
100 setFieldValue(test, instrField.getField(), mInstr); in inject()
105 setFieldValue(test, contextField.getField(), mInstr.getTargetContext()); in inject()
/frameworks/base/docs/html/tools/testing/
Dactivity_test.jd828 Instrumentation mInstr = this.getInstrumentation();
841 mInstr.callActivityOnPause(mActivity);
864 mInstr.callActivityOnResume(mActivity);