/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 | RetryConfigurationFactoryTest.java | 70 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoad_compatible() 72 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoad_compatible() 96 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoadRescheduler()
|
D | ConfigurationTest.java | 231 mConfig.getTests().get(0).run(new TextResultReporter()); in testGetTests() 234 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests()
|
/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() 160 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_noIntraModuleSharding() 195 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_testNotShardable() 223 assertSame(config.getTests().get(0), res.get(0).getTests().get(0)); in testSplitModule_testShardable_didNotShard() 247 assertNotSame(config.getTests().get(0), m.getTests().get(0)); in testSplitModule_testShardable_shard() 273 assertNotSame(config.getTests().get(0), m.getTests().get(0)); in testSplitModule_testShardable_shard_noDynamic()
|
D | SuiteModuleLoaderTest.java | 132 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs() 181 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs() 215 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs_alias()
|
D | AtestRunnerTest.java | 116 List<IRemoteTest> tests = config.getTests(); in testLoadTests_filter() 136 List<IRemoteTest> tests = config.getTests(); in testLoadTests_ignoreFilter() 151 IRemoteTest test = config.getTests().get(0); in testWaitForDebugger()
|
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() 597 for (IRemoteTest test : config.getTests()) { in testRun_sharding_withIndex() 676 for (IRemoteTest test : config.getTests()) { in helperTestShardIndex()
|
D | TfSuiteRunnerTest.java | 184 assertTrue(config.getTests().size() == 1); in testLoadSuite() 185 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoadSuite()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 137 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount() 146 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount() 163 assertEquals(1, mConfig.getTests().size()); in testSplit_noShardCount() 172 assertEquals(1, argument.getTests().size()); in testSplit_noShardCount() 195 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount_notEnoughTest() 206 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount_notEnoughTest() 240 assertEquals(1, mConfig.getTests().size()); in testCloneStatusChecker() 249 assertEquals(1, argument.getTests().size()); in testCloneStatusChecker() 287 assertEquals(1, mConfig.getTests().size()); in testCloneMetricCollector() 296 assertEquals(1, argument.getTests().size()); in testCloneMetricCollector() [all …]
|
D | StrictShardHelperTest.java | 94 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal() 103 assertEquals(1, argument.getTests().size()); in testShardConfig_internal() 122 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex() 127 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex() 129 assertNotEquals(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex() 153 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0() 158 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0() 160 assertSame(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex_notShardable_shard0() 184 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1() 190 assertEquals(0, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1() [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 | ModuleSplitter.java | 106 for (int i = 0; i < config.getTests().size(); i++) { in createAndAddModule() 111 config.getTests(), in createAndAddModule() 118 currentList, config.getTests().get(i), moduleName, config); in createAndAddModule() 125 for (IRemoteTest test : config.getTests()) { in createAndAddModule()
|
D | ITestSuite.java | 363 for (IRemoteTest test : config.getTests()) { in applyGuiceInjection() 446 config.getValue().getTests(), in createExecutionList() 865 for (IRemoteTest test : config.getTests()) { in injectInfo() 1246 Iterator<IRemoteTest> iterator = config.getTests().iterator(); in filterByRunnerType() 1257 if (config.getTests().isEmpty()) { in filterByRunnerType()
|
D | AtestRunner.java | 149 List<IRemoteTest> tests = testConfig.getTests(); in addFilter() 185 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
|
D | ModuleMerger.java | 32 module1.addTests(module2.getTests()); in mergeModules()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 68 .getTests("presubmit", null, true, null); in testparseTestMapping() 77 .getTests("presubmit", null, false, null); in testparseTestMapping() 86 .getTests("postsubmit", null, false, null); in testparseTestMapping() 103 .getTests("othertype", null, false, null); in testparseTestMapping() 132 .getTests("presubmit", null, false, null); in testparseTestMapping_BadJson() 166 Set<TestInfo> tests = TestMapping.getTests(mockBuildInfo, "presubmit", false, null); in testGetTests() 169 tests = TestMapping.getTests(mockBuildInfo, "presubmit", true, null); in testGetTests() 221 TestMapping.getTests( in testGetTests_matchKeywords()
|
/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/tests/src/com/android/tradefed/targetprep/app/ |
D | NoApkTestSkipperTest.java | 70 assertEquals(1, mConfig.getTests().size()); in testNoApkPresent() 76 assertTrue(mConfig.getTests().isEmpty()); in testNoApkPresent()
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 152 public Set<TestInfo> getTests( in getTests() method in TestMapping 231 public static Set<TestInfo> getTests( in getTests() method in TestMapping 245 .getTests( in getTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 172 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneMiss() 252 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneThrow() 332 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_cleanUpThrow()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 408 for (IRemoteTest test : config.getTests()) { in resume() 457 for (IRemoteTest test : config.getTests()) { in rescheduleTest() 744 if (config.getTests() == null || config.getTests().isEmpty()) { in invoke()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 159 IRemoteTest test = originalConfig.getTests().get(0); in run() 311 List<IRemoteTest> tests = config.getTests(); in updateConfiguration()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/ |
D | InstantAppHandler.java | 54 for (IRemoteTest test : moduleConfiguration.getTests()) { in applySetup()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 128 EasyMock.expect(mFastConfig.getTests()).andStubReturn(new ArrayList<>()); in setUp() 129 EasyMock.expect(mSlowConfig.getTests()).andStubReturn(new ArrayList<>()); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/guice/ |
D | InvocationScope.java | 106 for (Object obj : config.getTests()) { in injectToConfig()
|