Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DBaseTestSuiteTest.java73 private BaseTestSuite mRunner; field in BaseTestSuiteTest
85 mRunner = new AbiBaseTestSuite(); in setUp()
86 mRunner.setBuild(mBuildInfo); in setUp()
87 mRunner.setDevice(mMockDevice); in setUp()
123 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch()
125 mRunner.setupFilters(tmpDir); in testSetupFilters_noMatch()
140 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized()
144 mRunner.setExcludeFilter(excludeFilter); in testSetupFilters_match_parameterized()
145 mRunner.setupFilters(tmpDir); in testSetupFilters_match_parameterized()
146 assertEquals(1, mRunner.getIncludeFilter().size()); in testSetupFilters_match_parameterized()
[all …]
DAtestRunnerTest.java73 private AbiAtestRunner mRunner; field in AtestRunnerTest
96 mRunner = new AbiAtestRunner(); in setUp()
99 mRunner.setBuild(mBuildInfo); in setUp()
100 mRunner.setDevice(mMockDevice); in setUp()
114 setter = new OptionSetter(mRunner); in testLoadTests_one()
117 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_one()
124 setter = new OptionSetter(mRunner); in testLoadTests_two()
128 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_two()
136 setter = new OptionSetter(mRunner); in testLoadTests_filter()
141 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_filter()
[all …]
DTfSuiteRunnerTest.java78 private TfSuiteRunner mRunner; field in TfSuiteRunnerTest
87 mRunner = new TestTfSuiteRunner(); in setUp()
91 mRunner.setConfiguration(mStubMainConfiguration); in setUp()
118 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
121 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests()
135 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
138 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2()
147 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
150 Collection<IRemoteTest> tests = mRunner.split(2, mTestInfo); in testSplit()
163 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad()
[all …]
DTestMappingSuiteRunnerTest.java96 private TestMappingSuiteRunner mRunner; field in TestMappingSuiteRunnerTest
121 mRunner = new AbiTestMappingSuite(); in setUp()
122 mRunner.setBuild(mBuildInfo); in setUp()
123 mRunner.setDevice(mMockDevice); in setUp()
124 mRunner.setSkipjarLoading(false); in setUp()
126 mOptionSetter = new OptionSetter(mRunner); in setUp()
246 mRunner.setBuild(mockBuildInfo); in testLoadTestsWhenRemoteTestTimeoutIsSet()
248 LinkedHashMap<String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTestsWhenRemoteTestTimeoutIsSet()
274 mRunner.loadTests(); in testLoadTests_conflictTestGroup()
285 mRunner.loadTests(); in testLoadTests_conflictOptions()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandRunnerTest.java172 CommandRunner mRunner = new TestableCommandRunner(); in testRun_noError() local
182 mRunner.run(args); in testRun_noError()
183 assertEquals(0, mRunner.getErrorCode().getCodeValue()); in testRun_noError()
192 CommandRunner mRunner = new TestableCommandRunner(); in testRun_deviceUnresponsive() local
201 mRunner.run(args); in testRun_deviceUnresponsive()
202 assertEquals(ExitCode.DEVICE_UNRESPONSIVE, mRunner.getErrorCode()); in testRun_deviceUnresponsive()
215 CommandRunner mRunner = new TestableCommandRunner(); in testRun_deviceUnavailable() local
224 mRunner.run(args); in testRun_deviceUnavailable()
225 assertEquals(ExitCode.DEVICE_UNAVAILABLE, mRunner.getErrorCode()); in testRun_deviceUnavailable()
238 CommandRunner mRunner = new TestableCommandRunner(); in testRun_throwable() local
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java133 private PythonUnitTestRunner mRunner; field in PythonUnitTestRunnerTest
140 mRunner = new PythonUnitTestRunner(); in setUp()
147 mRunner.checkPythonVersion(c); in testCheckPythonVersion_276given270min()
154 mRunner.setMinPythonVersion("3.3.1"); in testCheckPythonVersion_276given331min()
156 mRunner.checkPythonVersion(c); in testCheckPythonVersion_276given331min()
167 mRunner.setMinPythonVersion("2.7.6"); in testCheckPythonVersion_300given276min()
168 mRunner.checkPythonVersion(c); in testCheckPythonVersion_300given276min()
220 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunPass()
230 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunFail()
242 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunExecutionFail()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java29 private String mRunner = null; // optional field in DeviceTestRunOptions
66 return mRunner; in getRunner()
74 this.mRunner = runner; in setRunner()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java355 private IRemoteAndroidTestRunner mRunner; field in InstrumentationTest
864 mRunner = in run()
867 setRunnerArgs(mRunner); in run()
869 mRunner.addInstrumentationArg( in run()
951 collectTestsToRun(testInfo, mRunner, listener); in doTestRun()
966 testsToRun = collectTestsToRun(testInfo, mRunner, null); in doTestRun()
971 mRunner.setDebug(true); in doTestRun()
974 mRunner.addInstrumentationArg("coverage", "true"); in doTestRun()
1023 mRunner.addInstrumentationArg("listener", ArrayUtil.join(",", mExtraDeviceListener)); in doTestRun()
1039 runInstrumentationTests(testInfo, mRunner, instrumentationListener); in doTestRun()
[all …]
DUiAutomatorTest.java74 private IRemoteAndroidTestRunner mRunner = null; field in UiAutomatorTest
216 mRunner = createTestRunner(); in run()
502 return mRunner; in getTestRunner()
DInstalledInstrumentationsTest.java95 private String mRunner = null; field in InstalledInstrumentationsTest
383 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppTransitionTests.java170 private IRemoteAndroidTestRunner mRunner = null; field in AppTransitionTests
185 mRunner = createRemoteAndroidTestRunner(TEST_COLD_LAUNCH, mColdLaunchApps, null); in run()
202 mRunner = createRemoteAndroidTestRunner(TEST_HOT_LAUNCH, mHotLaunchApps, null); in run()
220 mRunner = in run()
240 mRunner = in run()
259 mRunner = createTestRunner(); in run()
276 mDevice.runInstrumentationTests(mRunner, mLaunchListener); in runTests()
DHermeticLaunchTest.java177 private IRemoteAndroidTestRunner mRunner; field in HermeticLaunchTest
215 mRunner = in run()
218 mDevice.runInstrumentationTests(mRunner, collectingListener); in run()
DBootTimeTest.java348 private IRemoteAndroidTestRunner mRunner = null; field in BootTimeTest
491 mRunner = createRemoteAndroidTestRunner(SETUP_PIN_TEST); in run()
493 .runInstrumentationTests(mRunner, new CollectingTestListener()); in run()
692 mRunner = createRemoteAndroidTestRunner(UNLOCK_PIN_TEST); in testSuccessiveBoots()
693 getDevice().runInstrumentationTests(mRunner, new CollectingTestListener()); in testSuccessiveBoots()