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.java55 private BaseTestSuite mRunner; field in BaseTestSuiteTest
65 mRunner = new AbiBaseTestSuite(); in setUp()
66 mRunner.setBuild(mBuildInfo); in setUp()
67 mRunner.setDevice(mMockDevice); in setUp()
95 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch()
97 mRunner.setupFilters(tmpDir); in testSetupFilters_noMatch()
113 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized()
117 mRunner.setExcludeFilter(excludeFilter); in testSetupFilters_match_parameterized()
118 mRunner.setupFilters(tmpDir); in testSetupFilters_match_parameterized()
119 assertEquals(1, mRunner.getIncludeFilter().size()); in testSetupFilters_match_parameterized()
[all …]
DTfSuiteRunnerTest.java73 private TfSuiteRunner mRunner; field in TfSuiteRunnerTest
79 mRunner = new TestTfSuiteRunner(); in setUp()
83 mRunner.setConfiguration(mStubMainConfiguration); in setUp()
105 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests()
108 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests()
120 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2()
123 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2()
131 OptionSetter setter = new OptionSetter(mRunner); in testSplit()
134 Collection<IRemoteTest> tests = mRunner.split(2); in testSplit()
147 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad()
[all …]
DTestMappingSuiteRunnerTest.java66 private TestMappingSuiteRunner mRunner; field in TestMappingSuiteRunnerTest
74 mRunner = new AbiTestMappingSuite(); in setUp()
75 mRunner.setBuild(mBuildInfo); in setUp()
76 mRunner.setDevice(mMockDevice); in setUp()
105 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_conflictTestGroup()
108 mRunner.loadTests(); in testLoadTests_conflictTestGroup()
114 mRunner.loadTests(); in testLoadTests_noOption()
123 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_conflictKeyword()
126 mRunner.loadTests(); in testLoadTests_conflictKeyword()
136 OptionSetter setter = new OptionSetter(mRunner); 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()
208 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunPass()
218 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunFail()
228 mRunner.doRunTest(mMockListener, mockRunUtil, ""); in testRunExecutionFail()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationTest.java291 private IRemoteAndroidTestRunner mRunner; field in InstrumentationTest
764 mRunner = createRemoteAndroidTestRunner(mPackageName, mRunnerName, mDevice.getIDevice()); in run()
765 setRunnerArgs(mRunner); in run()
837 Collection<TestDescription> collectedTests = collectTestsToRun(mRunner, listener); in doTestRun()
850 testsToRun = collectTestsToRun(mRunner, null); in doTestRun()
855 mRunner.setDebug(true); in doTestRun()
858 mRunner.addInstrumentationArg("coverage", "true"); in doTestRun()
882 mRunner.addInstrumentationArg("listener", ArrayUtil.join(",", mExtraDeviceListener)); in doTestRun()
887 mDevice.runInstrumentationTests(mRunner, listener); in doTestRun()
953 mRunner, in runWithRerun()
DInstalledInstrumentationsTest.java85 private String mRunner = null; field in InstalledInstrumentationsTest
297 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
DUiAutomatorTest.java73 private IRemoteAndroidTestRunner mRunner = null; field in UiAutomatorTest
200 mRunner = createTestRunner(); in run()
471 return mRunner; in getTestRunner()
/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/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()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java29 private String mRunner = null; // optional field in DeviceTestRunOptions
58 return mRunner; in getRunner()
66 this.mRunner = runner; in setRunner()