Home
last modified time | relevance | path

Searched refs:mInstrumentationTest (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java58 private InstrumentationTest mInstrumentationTest; field in InstrumentationTestFuncTest
74 mInstrumentationTest = new InstrumentationTest(); in setUp()
75 mInstrumentationTest.setPackageName(TestAppConstants.TESTAPP_PACKAGE); in setUp()
76 mInstrumentationTest.setDevice(getDevice()); in setUp()
78 mInstrumentationTest.setShellTimeout(-1); in setUp()
80 mInstrumentationTest.setRerunMode(false); in setUp()
92 mInstrumentationTest.setClassName(TestAppConstants.TESTAPP_CLASS); in testRun()
93 mInstrumentationTest.setMethodName(TestAppConstants.PASSED_TEST_METHOD); in testRun()
94 mInstrumentationTest.setTestTimeout(TEST_TIMEOUT); in testRun()
95 mInstrumentationTest.setShellTimeout(SHELL_TIMEOUT); in testRun()
[all …]
DInstrumentationTestTest.java95 private InstrumentationTest mInstrumentationTest; field in InstrumentationTestTest
136 mInstrumentationTest = Mockito.spy(new InstrumentationTest()); in setUp()
137 mInstrumentationTest.setPackageName(TEST_PACKAGE_VALUE); in setUp()
138 mInstrumentationTest.setRunnerName(TEST_RUNNER_VALUE); in setUp()
139 mInstrumentationTest.setDevice(mMockTestDevice); in setUp()
140 mInstrumentationTest.setListInstrumentationParser(mMockListInstrumentationParser); in setUp()
141 mInstrumentationTest.setReRunUsingTestFile(false); in setUp()
164 mInstrumentationTest.run(mMockListener); in testRun()
166 InOrder inOrder = Mockito.inOrder(mInstrumentationTest, mMockTestDevice, mMockListener); in testRun()
169 inOrder.verify(mInstrumentationTest).setRunnerArgs(runner.capture()); in testRun()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationFileTest.java54 private InstrumentationTest mInstrumentationTest = null; field in InstrumentationFileTest
81 mInstrumentationTest = createInstrumentationTest(); in InstrumentationFileTest()
83 OptionCopier.copyOptions(instrumentationTest, mInstrumentationTest); in InstrumentationFileTest()
84 mInstrumentationTest.setDevice(instrumentationTest.getDevice()); in InstrumentationFileTest()
85 mInstrumentationTest.setForceAbi(instrumentationTest.getForceAbi()); in InstrumentationFileTest()
86 mInstrumentationTest.setReRunUsingTestFile(true); in InstrumentationFileTest()
88 mInstrumentationTest.setRerunMode(false); in InstrumentationFileTest()
89 mInstrumentationTest.setIsRerun(true); in InstrumentationFileTest()
102 if (mInstrumentationTest.getDevice() == null) { in run()
130 reRunTestsSerially(mInstrumentationTest, listener); in writeTestsToFileAndRun()
[all …]
DInstrumentationSerialTest.java46 private final InstrumentationTest mInstrumentationTest; field in InstrumentationSerialTest
59 mInstrumentationTest = createInstrumentationTest(instrumentationTest); in InstrumentationSerialTest()
89 if (mInstrumentationTest.getDevice() == null) { in run()
95 InstrumentationTest runner = createInstrumentationTest(mInstrumentationTest); in run()