Home
last modified time | relevance | path

Searched refs:includeFilters (Results 1 – 23 of 23) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/config/filter/
DGlobalFilterGetterTest.java70 String includeFilters = null; in testGetFilter() local
74 includeFilters = partResponse.getValue(); in testGetFilter()
79 assertNotNull(includeFilters); in testGetFilter()
81 String[] split = includeFilters.split(delimiter); in testGetFilter()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/
DAtestRunner.java127 LinkedHashMap<String, HashSet<String>> includeFilters = getIncludeFilters(); in loadTests() local
138 includeFilters.get(canonicalizeConfigName(testConfig.getName())); in loadTests()
151 LinkedHashMap<String, HashSet<String>> includeFilters = in getIncludeFilters() local
160 HashSet<String> moduleFilters = includeFilters.get(moduleName); in getIncludeFilters()
163 includeFilters.put(moduleName, moduleFilters); in getIncludeFilters()
167 return includeFilters; in getIncludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheWrapper.java63 List<String> includeFilters, in downloadZippedFiles() argument
67 destDir, remoteFilePath, includeFilters, excludeFilters); in downloadZippedFiles()
DIFileDownloader.java98 List<String> includeFilters, in downloadZippedFiles() argument
DBuildInfo.java727 List<String> includeFilters = Arrays.asList(String.format("/%s?($|/)", fileName)); in stageRemoteFile() local
733 args.put(ResolvePartialDownload.INCLUDE_FILTERS, String.join(";", includeFilters)); in stageRemoteFile()
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryExecutor.java223 Set<String> includeFilters = new LinkedHashSet<String>(); in discoverTestModulesFromTests() local
247 includeFilters.addAll(excludeFilters); in discoverTestModulesFromTests()
250 includeFilters.addAll(suiteIncludeFilters); in discoverTestModulesFromTests()
330 System.out.println(String.format("include filters: %s", includeFilters)); in discoverTestModulesFromTests()
333 extractTestModulesFromIncludeFilters(includeFilters); in discoverTestModulesFromTests()
348 private Set<String> extractTestModulesFromIncludeFilters(Set<String> includeFilters) in extractTestModulesFromIncludeFilters() argument
353 for (String includeFilter : includeFilters) { in extractTestModulesFromIncludeFilters()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java645 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters = new LinkedHashMap<>(); in testFilterParameterized_includeFilter_base() local
650 includeFilters.put("armeabi-v7a basemodule", mapFilter); in testFilterParameterized_includeFilter_base()
654 includeFilters, in testFilterParameterized_includeFilter_base()
674 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters = new LinkedHashMap<>(); in testFilterParameterized_includeFilter_param() local
679 includeFilters.put("armeabi-v7a basemodule[instant]", mapFilter); in testFilterParameterized_includeFilter_param()
683 includeFilters, in testFilterParameterized_includeFilter_param()
1031 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters = new LinkedHashMap<>(); in testLoadParameterizedMainlineModules_WithMultipleFilters() local
1037 includeFilters.put("armeabi-v7a basemodule[mod1.apk]", mapFilter); in testLoadParameterizedMainlineModules_WithMultipleFilters()
1046 includeFilters, excludeFilters, new ArrayList<>(), new ArrayList<>()); in testLoadParameterizedMainlineModules_WithMultipleFilters()
1126 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters = new LinkedHashMap<>(); in testLoadConfigsWithIncludeFilters() local
[all …]
DBaseTestSuiteTest.java546 Set<String> includeFilters = new HashSet<>(); in testLoadTests_parameterizedModule_multiAbi_filter() local
547 includeFilters.add("suite/stub-parameterized-abi[instant]"); in testLoadTests_parameterizedModule_multiAbi_filter()
548 mRunner.setIncludeFilter(includeFilters); in testLoadTests_parameterizedModule_multiAbi_filter()
DITestSuiteTest.java1835 List<String> includeFilters, in testStageTestArtifacts()
1840 assertArrayEquals(new String[] {"/test/"}, includeFilters.toArray()); in testStageTestArtifacts()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DBaseTestSuite.java266 String includeFilters = ""; in loadTests() local
269 includeFilters = "Includes: <too long to display>"; in loadTests()
280 includeFilters = in loadTests()
289 includeFilters = String.format("Includes: %s", mIncludeFiltersParsed.toString()); in loadTests()
320 mAbis, mTestArgs, mModuleArgs, includeFilters, excludeFilters); in loadTests()
469 public void setIncludeFilter(Set<String> includeFilters) { in setIncludeFilter() argument
470 mIncludeFilters.addAll(includeFilters); in setIncludeFilter()
DSuiteModuleLoader.java110 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters, in SuiteModuleLoader() argument
114 mIncludeAll = includeFilters.isEmpty(); in SuiteModuleLoader()
115 mIncludeFilters = includeFilters; in SuiteModuleLoader()
258 Map<String, LinkedHashSet<SuiteTestFilter>> includeFilters, in addFiltersToTest() argument
267 LinkedHashSet<SuiteTestFilter> mdIncludes = getFilterList(includeFilters, moduleId); in addFiltersToTest()
DITestSuite.java561 List<String> includeFilters = Arrays.asList(moduleRegex); in stageTestArtifacts() local
574 destination, includeFilters); in stageTestArtifacts()
578 String.join(";", includeFilters)); in stageTestArtifacts()
610 includeFilters, in stageTestArtifacts() local
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java164 private final Set<String> includeFilters = new LinkedHashSet<>(); field in PtsBotTest
169 includeFilters.add(filter); in addIncludeFilter()
174 includeFilters.addAll(filters); in addAllIncludeFilters()
189 return includeFilters; in getIncludeFilters()
199 includeFilters.clear(); in clearIncludeFilters()
397 for (var filter : includeFilters) { in shouldSkipProfileOrTest()
411 if (includeFilters.isEmpty()) { in shouldSkipProfileOrTest()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java38 Collection<String> includeFilters, in IsolationFilter() argument
42 mIncludeFilters = new HashSet<String>(includeFilters); in IsolationFilter()
/tools/tradefederation/core/src/com/android/tradefed/config/filter/
DGlobalTestFilter.java164 Set<String> includeFilters = new LinkedHashSet<>(filterableTest.getIncludeFilters()); in applyFiltersToTest() local
165 includeFilters.addAll(filtersFromGlobal(mIncludeFilters)); in applyFiltersToTest()
167 filterableTest.addAllIncludeFilters(includeFilters); in applyFiltersToTest()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DPythonUnitTestResultParserTest.java757 Set<String> includeFilters = new LinkedHashSet<>(); in testParseTestResults_withIncludeFilters() local
759 includeFilters.add("__main__.ConnectionTest#test_connect_ipv4_ipv6"); in testParseTestResults_withIncludeFilters()
760 includeFilters.add("__main__.EmulatorTest"); in testParseTestResults_withIncludeFilters()
763 ArrayUtil.list(mMockListener), "test", includeFilters, excludeFilters); in testParseTestResults_withIncludeFilters()
819 Set<String> includeFilters = new LinkedHashSet<>(); in testParseTestResults_withExcludeFilters() local
825 ArrayUtil.list(mMockListener), "test", includeFilters, excludeFilters); in testParseTestResults_withExcludeFilters()
873 Set<String> includeFilters = new LinkedHashSet<>(); in testParseSummary() local
877 ArrayUtil.list(mMockListener), "test", includeFilters, excludeFilters); in testParseSummary()
DJarHostTestTest.java221 private HostTest setupTestFilter(String... includeFilters) throws Exception { in setupTestFilter() argument
231 for (String filter : includeFilters) { in setupTestFilter()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java57 public TestFilterHelper(Collection<String> includeFilters, Collection<String> excludeFilters, in TestFilterHelper() argument
59 mIncludeFilters.addAll(includeFilters); in TestFilterHelper()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java331 final List<TestFilter> includeFilters = in filterTests() local
356 includeFilters.stream() in filterTests()
371 if (!excluded && (included || includeFilters.isEmpty())) includedTests.add(testName); in filterTests()
373 if (!includeFilters.isEmpty()) { in filterTests()
375 includeFilters.stream() in filterTests()
/tools/tradefederation/core/isolation/
Disolation_runner.proto55 repeated string includeFilters = 1; field
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DPythonUnitTestResultParser.java213 Set<String> includeFilters, in PythonUnitTestResultParser() argument
218 mIncludeFilters = includeFilters; in PythonUnitTestResultParser()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java346 List<String> includeFilters, in resolvePartialDownloadZip() argument
362 if (includeFilters != null) { in resolvePartialDownloadZip()
363 queryArgs.put("include_filters", String.join(";", includeFilters)); in resolvePartialDownloadZip()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java420 List<String> includeFilters = Arrays.asList("test1", "test2"); in testResolvePartialDownloadZip() local
435 new File("/tmp"), "gs:/fake/path", includeFilters, excludeFilters); in testResolvePartialDownloadZip()
443 List<String> includeFilters = Arrays.asList("test1", "test2"); in testResolvePartialDownloadZip_optional() local
463 new File("/tmp"), "gs:/fake/path?optional=true", includeFilters, excludeFilters); in testResolvePartialDownloadZip_optional()