Home
last modified time | relevance | path

Searched refs:getTests (Results 1 – 25 of 46) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java80 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotShardable()
82 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotShardable()
116 assertNotSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_dynamic()
117 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic()
151 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_notDynamic()
152 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic()
180 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_noIntraModuleSharding()
181 assertTrue(config.getTests().isEmpty()); in testSplitModule_noIntraModuleSharding()
220 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_testNotShardable()
221 assertTrue(config.getTests().isEmpty()); in testSplitModule_testNotShardable()
[all …]
DAtestRunnerTest.java124 List<IRemoteTest> tests = config.getTests(); in testLoadTests_filter()
193 List<IRemoteTest> tests = config.getTests(); in testLoadTests_ignoreFilter()
208 IRemoteTest test = config.getTests().get(0); in testWaitForDebugger()
DSuiteModuleLoaderTest.java257 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs()
331 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs()
368 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs_alias()
406 TestSuiteStub stubTest = (TestSuiteStub) instantModule.getTests().get(0); in testFilterParameterized()
754 TestSuiteStub stubTest = (TestSuiteStub) module1.getTests().get(0); in testLoadParameterizedMainlineModule_WithFilters()
DITestSuiteIntegrationTest.java212 for (IRemoteTest test : config.getTests()) { in loadTests()
416 for (IRemoteTest test : config.getTests()) { in scheduleConfig()
459 for (IRemoteTest test : config.getTests()) { in scheduleConfig()
623 for (IRemoteTest test : config.getTests()) { in testRun_sharding_withIndex()
703 for (IRemoteTest test : config.getTests()) { in helperTestShardIndex()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java442 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig()
443 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_includeConfig()
444 StubOptionTest fromTestConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_includeConfig()
445 StubOptionTest fromIncludeConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_includeConfig()
459 assertEquals(2, config.getTests().size()); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
460 assertTrue(config.getTests().get(0) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
461 assertTrue(config.getTests().get(1) instanceof StubOptionTest); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
462 StubOptionTest innerConfig = (StubOptionTest) config.getTests().get(0); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
463 StubOptionTest outerConfig = (StubOptionTest) config.getTests().get(1); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
477 assertEquals(3, config.getTests().size()); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
[all …]
DRetryConfigurationFactoryTest.java69 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoad_compatible()
71 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoad_compatible()
95 assertFalse(config.getTests().get(0) instanceof RetryRescheduler); in testLoadRescheduler()
DConfigurationTest.java252 mConfig.getTests() in testGetTests()
257 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests()
754 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone()
777 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone_innerDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java138 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount()
147 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount()
164 assertEquals(1, mConfig.getTests().size()); in testSplit_noShardCount()
173 assertEquals(1, argument.getTests().size()); in testSplit_noShardCount()
196 assertEquals(1, mConfig.getTests().size()); in testSplitWithShardCount_notEnoughTest()
207 assertEquals(1, argument.getTests().size()); in testSplitWithShardCount_notEnoughTest()
241 assertEquals(1, mConfig.getTests().size()); in testCloneStatusChecker()
250 assertEquals(1, argument.getTests().size()); in testCloneStatusChecker()
288 assertEquals(1, mConfig.getTests().size()); in testCloneMetricCollector()
297 assertEquals(1, argument.getTests().size()); in testCloneMetricCollector()
[all …]
DStrictShardHelperTest.java120 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal()
129 assertEquals(1, argument.getTests().size()); in testShardConfig_internal()
151 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex()
156 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex()
158 assertNotEquals(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex()
182 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0()
187 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard0()
189 assertSame(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex_notShardable_shard0()
213 assertEquals(1, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1()
219 assertEquals(0, mConfig.getTests().size()); in testShardConfig_internal_shardIndex_notShardable_shard1()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionsFileTest.java73 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/src/com/android/tradefed/config/
DRetryConfigurationFactory.java38 if (retryConfig.getTests().size() != 1) { in createRetryConfiguration()
43 IRemoteTest rerunner = retryConfig.getTests().get(0); in createRetryConfiguration()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java78 assertEquals(1, config.getTests().size()); in testParseConfig()
79 assertTrue(config.getTests().get(0) instanceof AndroidJUnitTest); in testParseConfig()
82 ((AndroidJUnitTest) config.getTests().get(0)).getPackageName()); in testParseConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java153 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()
DModuleMerger.java32 module1.addTests(module2.getTests()); in mergeModules()
DTestMappingSuiteRunner.java142 TestMapping.getTests( in loadTests()
225 tests.addAll(entry.getValue().getTests()); in createIndividualTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java71 assertEquals(1, mConfig.getTests().size()); in testNoApkPresent()
77 assertTrue(mConfig.getTests().isEmpty()); in testNoApkPresent()
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescriptionsFile.java80 populateTestFile(getTests(), testfile); in populateTestFile()
85 public List<TestDescription> getTests() { in getTests() method in TestDescriptionsFile
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java71 .getTests("presubmit", null, true, null); in testparseTestMapping()
80 .getTests("presubmit", null, false, null); in testparseTestMapping()
89 .getTests("postsubmit", null, false, null); in testparseTestMapping()
106 .getTests("othertype", null, false, null); in testparseTestMapping()
135 .getTests("presubmit", null, false, null); in testparseTestMapping_BadJson()
169 Set<TestInfo> tests = TestMapping.getTests(mockBuildInfo, "presubmit", false, null); in testGetTests()
172 tests = TestMapping.getTests(mockBuildInfo, "presubmit", true, null); in testGetTests()
222 TestMapping.getTests( in testGetTests_matchKeywords()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DInstantAppHandler.java54 for (IRemoteTest test : moduleConfiguration.getTests()) { in applySetup()
DSecondaryUserHandler.java54 for (IRemoteTest test : moduleConfiguration.getTests()) { in applySetup()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/
DAtestRunner.java182 List<IRemoteTest> tests = testConfig.getTests(); in addFilter()
218 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java194 public Set<TestInfo> getTests( in getTests() method in TestMapping
300 public static Set<TestInfo> getTests( in getTests() method in TestMapping
319 .getTests( in getTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DDeviceTestsConfigValidation.java80 GeneralTestsConfigValidation.checkRunners(c.getTests(), "device-tests"); in testConfigsLoad()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporter.java52 for (IRemoteTest test : mConfiguration.getTests()) { in invocationEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java183 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneMiss()
279 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testResolveDynamicFails()
361 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_oneThrow()
451 EasyMock.expect(mMockConfig.getTests()).andStubReturn(new ArrayList<>()); in testRunBuildProvider_cleanUpThrow()

12