Home
last modified time | relevance | path

Searched refs:mRunner (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DBaseTestSuiteTest.java53 private BaseTestSuite mRunner; field in BaseTestSuiteTest
63 mRunner = new AbiBaseTestSuite(); in setUp()
64 mRunner.setBuild(mBuildInfo); in setUp()
65 mRunner.setDevice(mMockDevice); in setUp()
92 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch()
94 mRunner.setupFilters(tmpDir); in testSetupFilters_noMatch()
112 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_oneMatch()
114 mRunner.setupFilters(tmpDir); in testSetupFilters_oneMatch()
115 assertEquals(1, mRunner.getIncludeFilter().size()); in testSetupFilters_oneMatch()
117 mRunner.getIncludeFilter(), in testSetupFilters_oneMatch()
[all …]
DTfSuiteRunnerTest.java71 private TfSuiteRunner mRunner; field in TfSuiteRunnerTest
77 mRunner = new TestTfSuiteRunner(); in setUp()
81 mRunner.setConfiguration(mStubMainConfiguration); in setUp()
103 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
106 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests()
118 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
121 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2()
129 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
132 Collection<IRemoteTest> tests = mRunner.split(2); in testSplit()
145 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad()
[all …]
DTestMappingSuiteRunnerTest.java57 private TestMappingSuiteRunner mRunner; field in TestMappingSuiteRunnerTest
65 mRunner = in setUp()
76 mRunner.setBuild(mBuildInfo); in setUp()
77 mRunner.setDevice(mMockDevice); in setUp()
91 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_conflictTestGroup()
94 mRunner.loadTests(); in testLoadTests_conflictTestGroup()
100 mRunner.loadTests(); in testLoadTests_noOption()
110 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_testMappingsZip()
131 mRunner.setBuild(mockBuildInfo); in testLoadTests_testMappingsZip()
134 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_testMappingsZip()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandRunnerTest.java125 CommandRunner mRunner = new TestableCommandRunner(); in testRun_noError() local
134 mRunner.run(args); in testRun_noError()
135 assertEquals(0, mRunner.getErrorCode().getCodeValue()); in testRun_noError()
144 CommandRunner mRunner = new TestableCommandRunner(); in testRun_deviceUnresponsive() local
152 mRunner.run(args); in testRun_deviceUnresponsive()
153 assertEquals(ExitCode.DEVICE_UNRESPONSIVE, mRunner.getErrorCode()); in testRun_deviceUnresponsive()
166 CommandRunner mRunner = new TestableCommandRunner(); in testRun_deviceUnavailable() local
174 mRunner.run(args); in testRun_deviceUnavailable()
175 assertEquals(ExitCode.DEVICE_UNAVAILABLE, mRunner.getErrorCode()); in testRun_deviceUnavailable()
188 CommandRunner mRunner = new TestableCommandRunner(); in testRun_throwable() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java127 private PythonUnitTestRunner mRunner; field in PythonUnitTestRunnerTest
132 mRunner = new PythonUnitTestRunner(); in setUp()
140 mRunner.checkPythonVersion(c); in testCheckPythonVersion_276given270min()
147 mRunner.setMinPythonVersion("3.3.1"); in testCheckPythonVersion_276given331min()
149 mRunner.checkPythonVersion(c); in testCheckPythonVersion_276given331min()
160 mRunner.setMinPythonVersion("2.7.6"); in testCheckPythonVersion_300given276min()
161 mRunner.checkPythonVersion(c); in testCheckPythonVersion_300given276min()
212 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunPass()
222 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunFail()
232 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunExecutionFail()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DInstrumentationTestDef.java24 private String mRunner = null; field in InstrumentationTestDef
41 mRunner = runnerName; in setRunner()
75 return mRunner; in getRunner()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java23 private String mRunner = BaseHostJUnit4Test.AJUR_RUNNER; // optional field in DeviceTestRunOptions
49 return mRunner; in getRunner()
57 this.mRunner = runner; in setRunner()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DAppTransitionTests.java140 private IRemoteAndroidTestRunner mRunner = null; field in AppTransitionTests
154 mRunner = createRemoteAndroidTestRunner(TEST_COLD_LAUNCH, mColdLaunchApps, null); in run()
159 mDevice.runInstrumentationTests(mRunner, mLaunchListener); in run()
171 mRunner = createRemoteAndroidTestRunner(TEST_HOT_LAUNCH, mHotLaunchApps, null); in run()
176 mDevice.runInstrumentationTests(mRunner, mLaunchListener); in run()
189 mRunner = createRemoteAndroidTestRunner(TEST_APP_TO_RECENT, mAppToRecents, in run()
195 mDevice.runInstrumentationTests(mRunner, mLaunchListener); in run()
208 mRunner = createRemoteAndroidTestRunner(TEST_HOT_LAUNCH_FROM_RECENTS, in run()
215 mDevice.runInstrumentationTests(mRunner, mLaunchListener); in run()
227 mRunner = createTestRunner(); in run()
[all …]
DHermeticLaunchTest.java144 private IRemoteAndroidTestRunner mRunner; field in HermeticLaunchTest
177 mRunner = createRemoteAndroidTestRunner(mPackageName, mRunnerName, in run()
180 mDevice.runInstrumentationTests(mRunner, collectingListener); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationTest.java272 private IRemoteAndroidTestRunner mRunner; field in InstrumentationTest
716 mRunner = createRemoteAndroidTestRunner(mPackageName, mRunnerName, mDevice.getIDevice()); in run()
717 setRunnerArgs(mRunner); in run()
792 Collection<TestDescription> collectedTests = collectTestsToRun(mRunner, listener); in doTestRun()
805 testsToRun = collectTestsToRun(mRunner, null); in doTestRun()
810 mRunner.setDebug(true); in doTestRun()
813 mRunner.addInstrumentationArg("coverage", "true"); in doTestRun()
821 mRunner.addInstrumentationArg("listener", ArrayUtil.join(",", mExtraDeviceListener)); in doTestRun()
826 mDevice.runInstrumentationTests(mRunner, listener); in doTestRun()
896 mRunner, in runWithRerun()
DInstalledInstrumentationsTest.java79 private String mRunner = null; field in InstalledInstrumentationsTest
273 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
DUiAutomatorTest.java72 private IRemoteAndroidTestRunner mRunner = null; field in UiAutomatorTest
181 mRunner = createTestRunner(); in run()
438 return mRunner; in getTestRunner()