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.java60 private InstrumentationTest mInstrumentationTest; field in InstrumentationTestFuncTest
86 mInstrumentationTest = new InstrumentationTest(); in setUp()
87 mInstrumentationTest.setPackageName(TestAppConstants.TESTAPP_PACKAGE); in setUp()
88 mInstrumentationTest.setDevice(getDevice()); in setUp()
90 mInstrumentationTest.setShellTimeout(-1); in setUp()
92 mInstrumentationTest.setRerunMode(false); in setUp()
104 mInstrumentationTest.setClassName(TestAppConstants.TESTAPP_CLASS); in testRun()
105 mInstrumentationTest.setMethodName(TestAppConstants.PASSED_TEST_METHOD); in testRun()
106 mInstrumentationTest.setTestTimeout(TEST_TIMEOUT); in testRun()
107 mInstrumentationTest.setShellTimeout(SHELL_TIMEOUT); in testRun()
[all …]
DInstrumentationTestTest.java102 private InstrumentationTest mInstrumentationTest; field in InstrumentationTestTest
149 mInstrumentationTest = Mockito.spy(new InstrumentationTest()); in setUp()
150 mInstrumentationTest.setPackageName(TEST_PACKAGE_VALUE); in setUp()
151 mInstrumentationTest.setRunnerName(TEST_RUNNER_VALUE); in setUp()
152 mInstrumentationTest.setDevice(mMockTestDevice); in setUp()
153 mInstrumentationTest.setListInstrumentationParser(mMockListInstrumentationParser); in setUp()
154 mInstrumentationTest.setReRunUsingTestFile(false); in setUp()
162 mInstrumentationTest.setConfiguration(mConfig); in setUp()
187 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun()
189 InOrder inOrder = Mockito.inOrder(mInstrumentationTest, mMockTestDevice, mMockListener); in testRun()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationFileTest.java55 private InstrumentationTest mInstrumentationTest = null; field in InstrumentationFileTest
82 mInstrumentationTest = createInstrumentationTest(); in InstrumentationFileTest()
84 OptionCopier.copyOptions(instrumentationTest, mInstrumentationTest); in InstrumentationFileTest()
85 mInstrumentationTest.setConfiguration(instrumentationTest.getConfiguration()); in InstrumentationFileTest()
86 mInstrumentationTest.setDevice(instrumentationTest.getDevice()); in InstrumentationFileTest()
87 mInstrumentationTest.setForceAbi(instrumentationTest.getForceAbi()); in InstrumentationFileTest()
88 mInstrumentationTest.setReRunUsingTestFile(true); in InstrumentationFileTest()
90 mInstrumentationTest.setRerunMode(false); in InstrumentationFileTest()
91 mInstrumentationTest.setIsRerun(true); in InstrumentationFileTest()
103 if (mInstrumentationTest.getDevice() == null) { in run()
[all …]
DInstrumentationSerialTest.java47 private final InstrumentationTest mInstrumentationTest; field in InstrumentationSerialTest
60 mInstrumentationTest = createInstrumentationTest(instrumentationTest); in InstrumentationSerialTest()
90 if (mInstrumentationTest.getDevice() == null) { in run()
96 InstrumentationTest runner = createInstrumentationTest(mInstrumentationTest); in run()