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.java79 private InstrumentationTest mInstrumentationTest; field in InstrumentationTestTest
120 mInstrumentationTest = Mockito.spy(new InstrumentationTest()); in setUp()
121 mInstrumentationTest.setPackageName(TEST_PACKAGE_VALUE); in setUp()
122 mInstrumentationTest.setRunnerName(TEST_RUNNER_VALUE); in setUp()
123 mInstrumentationTest.setDevice(mMockTestDevice); in setUp()
124 mInstrumentationTest.setListInstrumentationParser(mMockListInstrumentationParser); in setUp()
147 mInstrumentationTest.run(mMockListener); in testRun()
149 InOrder inOrder = Mockito.inOrder(mInstrumentationTest, mMockTestDevice, mMockListener); in testRun()
152 inOrder.verify(mInstrumentationTest).setRunnerArgs(runner.capture()); in testRun()
166 mInstrumentationTest.setAbi(mock(IAbi.class)); in testRun_bothAbi()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationFileTest.java52 private InstrumentationTest mInstrumentationTest = null; field in InstrumentationFileTest
79 mInstrumentationTest = createInstrumentationTest(); in InstrumentationFileTest()
81 OptionCopier.copyOptions(instrumentationTest, mInstrumentationTest); in InstrumentationFileTest()
82 mInstrumentationTest.setDevice(instrumentationTest.getDevice()); in InstrumentationFileTest()
83 mInstrumentationTest.setForceAbi(instrumentationTest.getForceAbi()); in InstrumentationFileTest()
84 mInstrumentationTest.setReRunUsingTestFile(true); in InstrumentationFileTest()
86 mInstrumentationTest.setRerunMode(false); in InstrumentationFileTest()
99 if (mInstrumentationTest.getDevice() == null) { in run()
127 reRunTestsSerially(mInstrumentationTest, listener); in writeTestsToFileAndRun()
157 mInstrumentationTest.setTestFilePathOnDevice(mFilePathOnDevice); in writeTestsToFileAndRun()
[all …]
DInstrumentationSerialTest.java44 private final InstrumentationTest mInstrumentationTest; field in InstrumentationSerialTest
57 mInstrumentationTest = createInstrumentationTest(instrumentationTest); in InstrumentationSerialTest()
86 if (mInstrumentationTest.getDevice() == null) { in run()
92 InstrumentationTest runner = createInstrumentationTest(mInstrumentationTest); in run()