/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | HostGTestTest.java | 149 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 …]
|
D | GTestBaseTest.java | 72 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 …]
|
D | GTestListenerTest.java | 60 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()
|
D | GoogleBenchmarkTestTest.java | 183 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/ |
D | ModuleSplitter.java | 108 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()
|
D | ITestSuite.java | 805 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 …]
|
D | BaseTestSuite.java | 491 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()
|
D | SuiteModuleLoader.java | 602 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()
|
D | TestMappingSuiteRunner.java | 178 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/ |
D | TestMappingsValidation.java | 249 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/ |
D | SuiteResultReporter.java | 294 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/ |
D | SuiteModuleLoaderTest.java | 126 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()
|
D | AtestRunnerTest.java | 273 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/ |
D | HostGTest.java | 216 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()
|
D | NativeStressTest.java | 99 public void setModuleName(String moduleName) { in setModuleName() argument 100 mTestModule = moduleName; in setModuleName()
|
D | NativeBenchmarkTest.java | 120 public void setModuleName(String moduleName) { in setModuleName() argument 121 mTestModule = moduleName; in setModuleName()
|
D | HostTest.java | 919 String moduleName = in getClasses() local 925 if (moduleName != null) { in getClasses() 928 File f = getJarFile(moduleName + ".jar", mTestInfo); in getClasses()
|
D | GoogleBenchmarkTest.java | 116 public void setModuleName(String moduleName) { in setModuleName() argument 117 mTestModule = moduleName; in setModuleName()
|
D | GTestBase.java | 209 public void setModuleName(String moduleName) { in setModuleName() argument 210 mTestModule = moduleName; in setModuleName()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/ |
D | AtestRunner.java | 151 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/ |
D | SubprocessEventHelper.java | 691 String moduleName = in toString() local 696 if (moduleName != null) { in toString() 697 tags.put(MODULE_NAME, moduleName); in toString()
|
D | BundletoolUtil.java | 130 String moduleName = helperArray[helperArray.length - 2]; in extractSplitsFromApks() local 131 destDir = new File(destDirPath, moduleName + SPLITS_KEYWORD); in extractSplitsFromApks()
|