Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java73 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()
DAtestRunnerTest.java113 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()
DSuiteModuleLoaderTest.java125 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs()
173 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs()
DITestSuiteIntegrationTest.java198 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()
DTfSuiteRunnerTest.java182 assertTrue(config.getTests().size() == 1); in testLoadSuite()
183 assertTrue(config.getTests().get(0) instanceof StubTest); in testLoadSuite()
DTestMappingSuiteRunnerTest.java146 (InstrumentationTest) configMap.get("arm64-v8a instrument").getTests().get(0); in testLoadTests_testMappingsZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java395 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 …]
DConfigurationTest.java230 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/
DShardHelperTest.java126 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/
DTestMappingTest.java55 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/
DModuleSplitter.java99 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()
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()
DAtestRunner.java146 List<IRemoteTest> tests = testConfig.getTests(); in addFilter()
182 for (IRemoteTest test : testConfig.getTests()) { in addDebugger()
DTestMappingSuiteRunner.java70 Set<TestMapping.TestInfo> testsToRun = TestMapping.getTests(getBuildInfo(), mTestGroup); in loadTests()
DITestSuite.java318 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/
DTestMapping.java156 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/
DTestInvocationMultiTest.java158 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/
DTestInvocation.java385 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/
DInvocationScope.java106 for (Object obj : config.getTests()) { in injectToConfig()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java81 for (IRemoteTest test : config.getTests()) { in updateConfigIfSharded()
109 for (IRemoteTest test : config.getTests()) { in getAllTests()
DShardHelper.java85 for (IRemoteTest test : config.getTests()) { in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java74 public List<IRemoteTest> getTests(); in getTests() method
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java213 List<InstrumentationTest> getTests() { in getTests() method in InstalledInstrumentationsTest
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java181 List<InstrumentationTest> getTests() { in getTests() method in XmlDefsTest

12