/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 73 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_configNotShardable() 104 assertNotSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_dynamic() 135 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_notDynamic() 170 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_testNotShardable() 198 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_testShardable_didNotShard() 222 assertNotSame(config.getTests().get(0), m.getTests().get(0)); in testSplitModule_testShardable_shard() 248 assertNotSame(config.getTests().get(0), m.getTests().get(0)); in testSplitModule_testShardable_shard_noDynamic()
|
D | AtestRunnerTest.java | 113 List<IRemoteTest> tests = config.getTests(); in testLoadTests_filter() 132 List<IRemoteTest> tests = config.getTests(); in testLoadTests_ignoreFilter() 146 IRemoteTest test = config.getTests().get(0); in testWaitForDebugger()
|
D | SuiteModuleLoaderTest.java | 125 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs() 173 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs()
|
D | ITestSuiteIntegrationTest.java | 198 for (IRemoteTest test : config.getTests()) { in loadTests() 402 for (IRemoteTest test : config.getTests()) { in scheduleConfig() 443 for (IRemoteTest test : config.getTests()) { in scheduleConfig() 600 for (IRemoteTest test : config.getTests()) { in testRun_sharding_withIndex() 681 for (IRemoteTest test : config.getTests()) { in helperTestShardIndex()
|
D | TfSuiteRunnerTest.java | 182 assertTrue(config.getTests().size() == 1); in testLoadSuite() 183 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoadSuite()
|
D | TestMappingSuiteRunnerTest.java | 146 (InstrumentationTest) configMap.get("arm64-v8a instrument").getTests().get(0); in testLoadTests_testMappingsZip()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 395 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig() 396 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig() 397 StubOptionTest fromTestConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_includeConfig() 398 StubOptionTest fromIncludeConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_includeConfig() 412 assertEquals(2, config.getTests().size()); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 413 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 414 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 415 StubOptionTest innerConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 416 StubOptionTest outerConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 430 assertEquals(3, config.getTests().size()); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault() [all …]
|
D | ConfigurationTest.java | 230 mConfig.getTests().get(0).run(new TextResultReporter()); in testGetTests() 233 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 126 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount() 135 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount() 152 assertEquals(1, mConfig.getTests().size()); in testSplit_noShardCount() 161 assertEquals(1, argument.getTests().size()); in testSplit_noShardCount() 184 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount_notEnoughTest() 195 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount_notEnoughTest() 229 assertEquals(1, mConfig.getTests().size()); in testCloneStatusChecker() 238 assertEquals(1, argument.getTests().size()); in testCloneStatusChecker() 276 assertEquals(1, mConfig.getTests().size()); in testCloneMetricCollector() 285 assertEquals(1, argument.getTests().size()); in testCloneMetricCollector() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | TestMappingTest.java | 55 new TestMapping(testMappingFile.toPath()).getTests("presubmit"); in testparseTestMapping() 58 tests = new TestMapping(testMappingFile.toPath()).getTests("postsubmit"); in testparseTestMapping() 66 tests = new TestMapping(testMappingFile.toPath()).getTests("othertype"); in testparseTestMapping() 84 new TestMapping(testMappingFile.toPath()).getTests("presubmit"); in testparseTestMapping_BadJson() 112 Set<TestMapping.TestInfo> tests = TestMapping.getTests(mockBuildInfo, "presubmit"); in testGetTests()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 99 for (int i = 0; i < config.getTests().size(); i++) { in createAndAddModule() 104 config.getTests(), in createAndAddModule() 111 currentList, config.getTests().get(i), moduleName, config); in createAndAddModule() 118 for (IRemoteTest test : config.getTests()) { in createAndAddModule()
|
D | TfSuiteRunner.java | 153 for (IRemoteTest test : testConfig.getTests()) { in loadTests() 190 for (IRemoteTest test : testConfig.getTests()) { in canRunMultipleAbis() 220 List<IRemoteTest> tests = new ArrayList<>(config.getTests()); in expandTestSuites() 247 config.getTests().remove(test); in expandTestSuites() 251 if (!config.getTests().isEmpty()) { in expandTestSuites()
|
D | ModuleMerger.java | 32 module1.addTests(module2.getTests()); in mergeModules()
|
D | AtestRunner.java | 146 List<IRemoteTest> tests = testConfig.getTests(); in addFilter() 182 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
|
D | TestMappingSuiteRunner.java | 70 Set<TestMapping.TestInfo> testsToRun = TestMapping.getTests(getBuildInfo(), mTestGroup); in loadTests()
|
D | ITestSuite.java | 318 config.getValue().getTests(), in createExecutionList() 663 for (IRemoteTest test : config.getTests()) { in injectInfo() 945 Iterator<IRemoteTest> iterator = config.getTests().iterator(); in filterByRunnerType() 956 if (config.getTests().isEmpty()) { in filterByRunnerType()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestMapping.java | 156 public List<TestInfo> getTests(String testGroup) { in getTests() method in TestMapping 181 public static Set<TestInfo> getTests(IBuildInfo buildInfo, String testGroup) { in getTests() method in TestMapping 194 .forEach(path -> tests.addAll((new TestMapping(path)).getTests(testGroup))); in getTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 158 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneMiss() 217 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneThrow() 295 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_cleanUpThrow()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 385 for (IRemoteTest test : config.getTests()) { in resume() 434 for (IRemoteTest test : config.getTests()) { in rescheduleTest() 657 if (config.getTests() == null || config.getTests().isEmpty()) { in invoke()
|
/tools/tradefederation/core/src/com/android/tradefed/guice/ |
D | InvocationScope.java | 106 for (Object obj : config.getTests()) { in injectToConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 81 for (IRemoteTest test : config.getTests()) { in updateConfigIfSharded() 109 for (IRemoteTest test : config.getTests()) { in getAllTests()
|
D | ShardHelper.java | 85 for (IRemoteTest test : config.getTests()) { in shardConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | IConfiguration.java | 74 public List<IRemoteTest> getTests(); in getTests() method
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | InstalledInstrumentationsTest.java | 213 List<InstrumentationTest> getTests() { in getTests() method in InstalledInstrumentationsTest
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/ |
D | XmlDefsTest.java | 181 List<InstrumentationTest> getTests() { in getTests() method in XmlDefsTest
|