Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 22 of 22) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostGTestTest.java149 String moduleName = "hello_world_test"; in testLoadFilter() local
165 Path path = Paths.get(mTestsDir.getAbsolutePath(), moduleName + GTestBase.FILTER_EXTENSION); in testLoadFilter()
171 mHostGTest.loadFilter(filterFile.getParent() + File.separator + moduleName), in testLoadFilter()
179 String moduleName = "hello_world_test"; in testRunTest() local
190 mSetter.setOptionValue("module-name", moduleName); in testRunTest()
193 createTestScript(hostLinkedFolder.getAbsolutePath(), moduleName); in testRunTest() local
212 String moduleName = "hello_world_test"; in testRun_priority_get_testcase_from_hostlinked_folder() local
216 createTestScript(hostLinkedFolder.getAbsolutePath(), moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
221 createTestScript(testcasesFolder.getAbsolutePath(), moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
223 mSetter.setOptionValue("module-name", moduleName); in testRun_priority_get_testcase_from_hostlinked_folder()
[all …]
DGTestBaseTest.java72 String moduleName = "test1"; in testGetGTestFilters_default() local
77 String filters = gTestBase.getGTestFilters(moduleName); in testGetGTestFilters_default()
85 String moduleName = "test1"; in testGTestFilters_positive() local
90 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positive()
98 String moduleName = "test1"; in testGTestFilters_negative() local
103 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_negative()
111 String moduleName = "test1"; in testGTestFilters_postive_and_negative() local
117 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_postive_and_negative()
172 String moduleName = "test1"; in testGTestFilters_positiveAndSharding() local
179 String filters = gTestBase.getGTestFilters(moduleName); in testGTestFilters_positiveAndSharding()
[all …]
DGTestListenerTest.java60 String moduleName = "testNoDuplicateTest"; in testNoDuplicateTests() local
67 mMockListener.testRunStarted(EasyMock.eq(moduleName), EasyMock.eq(2)); in testNoDuplicateTests()
84 listener.testRunStarted(moduleName, 2); in testNoDuplicateTests()
96 String moduleName = "testWithDuplicateTests"; in testDuplicateTestsFailsWithOptionEnabled() local
102 mMockListener.testRunStarted(EasyMock.eq(moduleName), EasyMock.eq(2)); in testDuplicateTestsFailsWithOptionEnabled()
121 listener.testRunStarted(moduleName, 2); in testDuplicateTestsFailsWithOptionEnabled()
DGoogleBenchmarkTestTest.java183 final String moduleName = "module"; in testRun_withModuleName() local
185 String.format("%s/%s", GoogleBenchmarkTest.DEFAULT_TEST_PATH, moduleName); in testRun_withModuleName()
186 mGoogleBenchmarkTest.setModuleName(moduleName); in testRun_withModuleName()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java108 String moduleName, in createAndAddModule() argument
127 moduleName, in createAndAddModule()
134 addModuleToListFromSingleTest(currentList, tests.get(i), moduleName, config); in createAndAddModule()
153 moduleName, in createAndAddModule()
164 currentList, moduleTest, moduleName, config); in createAndAddModule()
171 addModuleToListFromSingleTest(currentList, test, moduleName, config); in createAndAddModule()
183 String moduleName, in addModuleToListFromSingleTest() argument
189 moduleName, in addModuleToListFromSingleTest()
DITestSuite.java805 String moduleName, in runPreModuleCheck() argument
811 CLog.i("Running system status checker before module execution: %s", moduleName); in runPreModuleCheck()
843 String.format("bugreport-checker-pre-module-%s", moduleName), listener); in runPreModuleCheck()
848 reportModuleCheckerResult(MODULE_CHECKER_PRE, moduleName, failures, startTime, listener); in runPreModuleCheck()
856 String moduleName, in runPostModuleCheck() argument
862 CLog.i("Running system status checker after module execution: %s", moduleName); in runPostModuleCheck()
891 String.format("bugreport-checker-post-module-%s", moduleName), listener); in runPostModuleCheck()
896 reportModuleCheckerResult(MODULE_CHECKER_POST, moduleName, failures, startTime, listener); in runPostModuleCheck()
902 String moduleName, in reportModuleCheckerResult() argument
911 listener.testRunStarted(identifier + "_" + moduleName, 0, 0, System.currentTimeMillis()); in reportModuleCheckerResult()
[all …]
DBaseTestSuite.java491 String moduleName = mod.getName().replace(".config", ""); in setupFilters() local
492 checkFilters(mIncludeFilters, moduleName); in setupFilters()
493 checkFilters(mExcludeFilters, moduleName); in setupFilters()
495 new SuiteTestFilter(getRequestedAbi(), moduleName, mTestName).toString()); in setupFilters()
510 "%s[%s]", moduleName, moduleParam.getParameterIdentifier()); in setupFilters()
546 private static void checkFilters(Set<String> filters, String moduleName) { in checkFilters() argument
552 if (moduleName.equals(filterName) || moduleName.equals(filterBaseName)) { in checkFilters()
DSuiteModuleLoader.java602 String moduleName = arg.substring(0, moduleSep); in parseArgs() local
604 List<OptionDef> listOption = moduleOptions.get(moduleName); in parseArgs()
607 moduleOptions.put(moduleName, listOption); in parseArgs()
628 option = new OptionDef(optionName, tokens[0], moduleName); in parseArgs()
630 option = new OptionDef(optionName, tokens[0], tokens[1], moduleName); in parseArgs()
637 private List<IModuleParameter> getModuleParameters(String moduleName, IConfiguration config) in getModuleParameters() argument
662 moduleName, suiteParam, duplicateModule.get(family))); in getModuleParameters()
668 CLog.d("'%s' was excluded via exclude-module-parameters.", moduleName); in getModuleParameters()
DTestMappingSuiteRunner.java178 String moduleName = entry.getKey().replace(String.format("%s ", abi.getName()), ""); in loadTests() local
180 Set<TestInfo> testInfos = getTestInfos(testInfosToRun, moduleName); in loadTests()
341 Set<TestInfo> getTestInfos(Set<TestInfo> testInfos, String moduleName) { in getTestInfos() argument
344 .filter(testInfo -> moduleName.equals(testInfo.getName())) in getTestInfos()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java249 for (String moduleName : getModuleNames(testGroup)) { in testFilterOptions()
250 errors.addAll(validateFilterOption(moduleName, INCLUDE_FILTER, testGroup)); in testFilterOptions()
251 errors.addAll(validateFilterOption(moduleName, EXCLUDE_FILTER, testGroup)); in testFilterOptions()
271 String moduleName, String filterOption, String testGroup) { in validateFilterOption() argument
273 for (TestInfo test : getTestInfos(moduleName, testGroup)) { in validateFilterOption()
293 moduleName, in validateFilterOption()
446 private Set<TestInfo> getTestInfos(String moduleName, String testGroup) { in getTestInfos() argument
449 if (test.getName().equals(moduleName)) { in getTestInfos()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java294 for (String moduleName : metrics.keySet()) { in printPreparationMetrics()
297 " %s => %s\n", moduleName, metrics.get(moduleName).toString())); in printPreparationMetrics()
298 totalPrep += metrics.get(moduleName).mPrepTime; in printPreparationMetrics()
299 totalTear += metrics.get(moduleName).mTearDownTime; in printPreparationMetrics()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java126 private void createModuleConfig(String moduleName) throws IOException { in createModuleConfig() argument
127 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig()
131 private void createInstantModuleConfig(String moduleName) throws IOException { in createInstantModuleConfig() argument
132 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createInstantModuleConfig()
136 private void createMainlineModuleConfig(String moduleName) throws IOException { in createMainlineModuleConfig() argument
137 File moduleConfig = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createMainlineModuleConfig()
DAtestRunnerTest.java273 private String createModuleConfig(File dir, String moduleName) throws IOException { in createModuleConfig() argument
274 File moduleConfig = new File(dir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostGTest.java216 String moduleName = getTestModule(); in run() local
219 gTestFile = FileUtil.findFile(moduleName, mAbi, scanDirs.toArray(new File[] {})); in run()
229 FileUtil.findFile(moduleName + ".*", mAbi, scanDirs.toArray(new File[] {})); in run()
241 "Fail to find native test %s in directory %s.", moduleName, scanDirs)); in run()
DNativeStressTest.java99 public void setModuleName(String moduleName) { in setModuleName() argument
100 mTestModule = moduleName; in setModuleName()
DNativeBenchmarkTest.java120 public void setModuleName(String moduleName) { in setModuleName() argument
121 mTestModule = moduleName; in setModuleName()
DHostTest.java919 String moduleName = in getClasses() local
925 if (moduleName != null) { in getClasses()
928 File f = getJarFile(moduleName + ".jar", mTestInfo); in getClasses()
DGoogleBenchmarkTest.java116 public void setModuleName(String moduleName) { in setModuleName() argument
117 mTestModule = moduleName; in setModuleName()
DGTestBase.java209 public void setModuleName(String moduleName) { in setModuleName() argument
210 mTestModule = moduleName; in setModuleName()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/
DAtestRunner.java151 String moduleName = canonicalizeConfigName(filter.substring(0, moduleSep)); in getIncludeFilters() local
153 HashSet<String> moduleFilters = includeFilters.get(moduleName); in getIncludeFilters()
156 includeFilters.put(moduleName, moduleFilters); in getIncludeFilters()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java691 String moduleName = in toString() local
696 if (moduleName != null) { in toString()
697 tags.put(MODULE_NAME, moduleName); in toString()
DBundletoolUtil.java130 String moduleName = helperArray[helperArray.length - 2]; in extractSplitsFromApks() local
131 destDir = new File(destDirPath, moduleName + SPLITS_KEYWORD); in extractSplitsFromApks()