/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | BaseTestSuiteTest.java | 64 private BaseTestSuite mRunner; field in BaseTestSuiteTest 75 mRunner = new AbiBaseTestSuite(); in setUp() 76 mRunner.setBuild(mBuildInfo); in setUp() 77 mRunner.setDevice(mMockDevice); in setUp() 110 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_noMatch() 112 mRunner.setupFilters(tmpDir); in testSetupFilters_noMatch() 127 OptionSetter setter = new OptionSetter(mRunner); in testSetupFilters_match_parameterized() 131 mRunner.setExcludeFilter(excludeFilter); in testSetupFilters_match_parameterized() 132 mRunner.setupFilters(tmpDir); in testSetupFilters_match_parameterized() 133 assertEquals(1, mRunner.getIncludeFilter().size()); in testSetupFilters_match_parameterized() [all …]
|
D | TfSuiteRunnerTest.java | 75 private TfSuiteRunner mRunner; field in TfSuiteRunnerTest 82 mRunner = new TestTfSuiteRunner(); in setUp() 86 mRunner.setConfiguration(mStubMainConfiguration); in setUp() 113 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests() 116 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests() 130 OptionSetter setter = new OptionSetter(mRunner); in testLoadTests_suite2() 133 LinkedHashMap <String, IConfiguration> configMap = mRunner.loadTests(); in testLoadTests_suite2() 142 OptionSetter setter = new OptionSetter(mRunner); in testSplit() 145 Collection<IRemoteTest> tests = mRunner.split(2, mTestInfo); in testSplit() 158 OptionSetter setter = new OptionSetter(mRunner); in testSplit_nothingToLoad() [all …]
|
D | TestMappingSuiteRunnerTest.java | 81 private TestMappingSuiteRunner mRunner; field in TestMappingSuiteRunnerTest 103 mRunner = new AbiTestMappingSuite(); in setUp() 104 mRunner.setBuild(mBuildInfo); in setUp() 105 mRunner.setDevice(mMockDevice); in setUp() 107 mOptionSetter = new OptionSetter(mRunner); in setUp() 198 mRunner.loadTests(); in testLoadTests_conflictTestGroup() 209 mRunner.loadTests(); in testLoadTests_conflictOptions() 215 mRunner.loadTests(); in testLoadTests_noOption() 226 mRunner.loadTests(); in testLoadTests_conflictKeyword() 266 mRunner.setBuild(mockBuildInfo); in testLoadTests_testMappingsZip() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandRunnerTest.java | 125 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/ |
D | PythonUnitTestRunnerTest.java | 127 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/config/yaml/ |
D | YamlTestRunners.java | 34 private String mRunner; field in YamlTestRunners 46 mRunner = (String) entry.getValue(); in YamlTestRunners() 69 return mRunner; in getRunner()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstrumentationTest.java | 334 private IRemoteAndroidTestRunner mRunner; field in InstrumentationTest 813 mRunner = createRemoteAndroidTestRunner(mPackageName, mRunnerName, mDevice.getIDevice()); in run() 814 setRunnerArgs(mRunner); in run() 887 Collection<TestDescription> collectedTests = collectTestsToRun(mRunner, listener); in doTestRun() 900 testsToRun = collectTestsToRun(mRunner, null); in doTestRun() 905 mRunner.setDebug(true); in doTestRun() 908 mRunner.addInstrumentationArg("coverage", "true"); in doTestRun() 955 mRunner.addInstrumentationArg("listener", ArrayUtil.join(",", mExtraDeviceListener)); in doTestRun() 960 mDevice.runInstrumentationTests(mRunner, listener); in doTestRun() 1070 mDevice.runInstrumentationTests(mRunner, instrumentationListener); in runWithRerun()
|
D | InstalledInstrumentationsTest.java | 84 private String mRunner = null; field in InstalledInstrumentationsTest 343 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
|
D | UiAutomatorTest.java | 74 private IRemoteAndroidTestRunner mRunner = null; field in UiAutomatorTest 216 mRunner = createTestRunner(); in run() 502 return mRunner; in getTestRunner()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | AppTransitionTests.java | 170 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()
|
D | HermeticLaunchTest.java | 177 private IRemoteAndroidTestRunner mRunner; field in HermeticLaunchTest 215 mRunner = in run() 218 mDevice.runInstrumentationTests(mRunner, collectingListener); in run()
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |