/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 141 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount() 150 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount() 167 assertEquals(1, mConfig.getTests().size()); in testSplit_noShardCount() 176 assertEquals(1, argument.getTests().size()); in testSplit_noShardCount() 199 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount_notEnoughTest() 210 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount_notEnoughTest() 244 assertEquals(1, mConfig.getTests().size()); in testCloneStatusChecker() 253 assertEquals(1, argument.getTests().size()); in testCloneStatusChecker() 291 assertEquals(1, mConfig.getTests().size()); in testCloneMetricCollector() 300 assertEquals(1, argument.getTests().size()); in testCloneMetricCollector() [all …]
|
D | StrictShardHelperTest.java | 126 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal() 135 assertEquals(1, argument.getTests().size()); in testShardConfig_internal() 157 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex() 162 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex() 164 assertNotEquals(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex() 188 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0() 193 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0() 195 assertSame(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex_notShardable_shard0() 219 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1() 225 assertEquals(0, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 452 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig() 453 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig() 454 StubOptionTest fromTestConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_includeConfig() 455 StubOptionTest fromIncludeConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_includeConfig() 470 assertEquals(2, config.getTests().size()); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 471 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 472 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 473 StubOptionTest innerConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 474 StubOptionTest outerConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_defaultTemplateInclude_default() 490 assertEquals(3, config.getTests().size()); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault() [all …]
|
D | RetryConfigurationFactoryTest.java | 74 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoad_compatible() 76 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoad_compatible() 99 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoadRescheduler()
|
D | ConfigurationTest.java | 258 mConfig.getTests() in testGetTests() 263 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests() 776 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone() 800 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone_innerDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ModuleSplitterTest.java | 86 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotShardable() 88 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotShardable() 123 assertNotSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_dynamic() 124 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic() 159 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_notDynamic() 160 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic() 189 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_noIntraModuleSharding() 190 assertTrue(config.getTests().isEmpty()); in testSplitModule_noIntraModuleSharding() 230 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_testNotShardable() 231 assertTrue(config.getTests().isEmpty()); in testSplitModule_testNotShardable() [all …]
|
D | SuiteModuleLoaderTest.java | 299 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs() 373 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs() 410 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs_alias() 477 TestSuiteStub stubTest = (TestSuiteStub) instantModule.getTests().get(0); in testFilterParameterized() 534 TestSuiteStub stubTest = (TestSuiteStub) foldable1.getTests().get(0); in testLoad_foldable() 557 TestSuiteStub stubTest2 = (TestSuiteStub) foldable2.getTests().get(0); in testLoad_foldable() 724 TestSuiteStub stubTest = (TestSuiteStub) instantModule.getTests().get(0); in testFilterParameterized_WithModuleArg() 987 TestSuiteStub stubTest = (TestSuiteStub) module1.getTests().get(0); in testLoadParameterizedMainlineModule_WithFilters() 1020 TestSuiteStub stubTest = (TestSuiteStub) module1.getTests().get(0); in testLoadParameterizedMainlineModule_WithModuleArgs()
|
D | AtestRunnerTest.java | 146 List<IRemoteTest> tests = config.getTests(); in testLoadTests_filter() 215 List<IRemoteTest> tests = config.getTests(); in testLoadTests_ignoreFilter() 230 IRemoteTest test = config.getTests().get(0); in testWaitForDebugger()
|
D | ITestSuiteIntegrationTest.java | 215 for (IRemoteTest test : config.getTests()) { in loadTests() 419 for (IRemoteTest test : config.getTests()) { in scheduleConfig() 462 for (IRemoteTest test : config.getTests()) { in scheduleConfig() 626 for (IRemoteTest test : config.getTests()) { in testRun_sharding_withIndex() 737 for (IRemoteTest test : config.getTests()) { in helperTestShardIndex()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/yaml/ |
D | ConfigurationYamlParserTest.java | 89 assertEquals(1, config.getTests().size()); in testParseConfig() 90 assertTrue(config.getTests().get(0) instanceof AndroidJUnitTest); in testParseConfig() 93 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig() 143 assertEquals(1, config.getTests().size()); in testParseModule() 144 assertTrue(config.getTests().get(0) instanceof AndroidJUnitTest); in testParseModule() 147 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseModule() 193 assertEquals(2, config.getTests().size()); in testParseConfig_notoptions() 194 assertTrue(config.getTests().get(0) instanceof AndroidJUnitTest); in testParseConfig_notoptions() 195 assertNull(((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig_notoptions() 196 assertTrue(config.getTests().get(1) instanceof AndroidJUnitTest); in testParseConfig_notoptions() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | TestDescriptionsFileTest.java | 73 assertThat(fromFile.getTests()).containsExactly(td, td2); in getFile_caching() 80 assertThat(tdf.getTests()).isEmpty(); in getTests_empty() 90 List<TestDescription> tests = tdfFromFile.getTests(); in fromFile_empty() 105 List<TestDescription> tests = tdfFromFile.getTests(); in fromFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/observatory/ |
D | TestDiscoveryExecutorTest.java | 133 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverTestDependencies() 178 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverTestDependencies_parameterizedModules() 205 when(mMockedConfiguration.getTests()).thenReturn(new ArrayList<>()); in testDiscoverDependencies_NoTestModules() 230 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverDependencies_UnsupportedOptions() 287 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverDependencies_fallback() 340 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverDependencies_multiDevices() 374 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverDependencies_metadataAndIncludeFilters() 427 when(mMockedConfiguration.getTests()).thenReturn(testList); in testDiscoverTestMappingSuiteRunner()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 84 mTestMapping.getTests( in testparseTestMapping() 102 mTestMapping.getTests( in testparseTestMapping() 120 mTestMapping.getTests( in testparseTestMapping() 146 mTestMapping.getTests( in testparseTestMapping() 182 mTestMapping.getTests( in testparseTestMapping_BadJson() 225 mTestMapping.getTests( in testGetTests() 230 mTestMapping.getTests( in testGetTests() 280 mTestMapping.getTests( in testGetTests_matchKeywords() 320 mTestMapping.getTests( in testGetTests_withIgnoreKeywords() 763 testMapping.getTests( in testIncludeImports() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
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()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | RetryConfigurationFactory.java | 38 if (retryConfig.getTests().size() != 1) { in createRetryConfiguration() 43 IRemoteTest rerunner = retryConfig.getTests().get(0); in createRetryConfiguration()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/app/ |
D | NoApkTestSkipperTest.java | 71 assertEquals(1, mConfig.getTests().size()); in testNoApkPresent() 77 assertTrue(mConfig.getTests().isEmpty()); in testNoApkPresent()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | TestDescriptionsFile.java | 80 populateTestFile(getTests(), testfile); in populateTestFile() 98 public List<TestDescription> getTests() { in getTests() method in TestDescriptionsFile
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 396 Set<TestInfo> getTests( in getTests() method in TestMapping 448 public Set<TestInfo> getTests( in getTests() method in TestMapping 454 return getTests( in getTests() 481 public Set<TestInfo> getTests( in getTests() method in TestMapping 517 getTests( in getTests()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | DynamicShardHelper.java | 93 && config.getTests().stream() in shardConfig() 218 for (IRemoteTest test : config.getTests()) { in getAllModules()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/ |
D | AtestRunner.java | 189 List<IRemoteTest> tests = testConfig.getTests(); in addFilter() 225 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 186 when(mMockConfig.getTests()).thenReturn(new ArrayList<>()); in testRunBuildProvider_oneMiss() 270 when(mMockConfig.getTests()).thenReturn(new ArrayList<>()); in testResolveDynamicFails() 341 when(mMockConfig.getTests()).thenReturn(new ArrayList<>()); in testRunBuildProvider_oneThrow() 415 when(mMockConfig.getTests()).thenReturn(new ArrayList<>()); in testRunBuildProvider_cleanUpThrow()
|
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/ |
D | HostUnitTestsConfigValidation.java | 112 checkRunners(c.getTests(), "host-unit-tests"); in testConfigsLoad() 199 testMapping.getTests( in getErrors()
|
/tools/tradefederation/core/src/com/android/tradefed/config/filter/ |
D | GlobalTestFilter.java | 133 for (IRemoteTest test : config.getTests()) { in setUpFilters() 144 for (IRemoteTest test : config.getTests()) { in setUpFilters()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/ |
D | InstantAppHandler.java | 53 for (IRemoteTest test : moduleConfiguration.getTests()) { in applySetup()
|