Searched refs:testFiles (Results 1 – 6 of 6) sorted by relevance
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | BaseModelTest.kt | 96 val testFiles: List<TestFile>, in <lambda>() constant in com.android.tools.metalava.model.testsuite.BaseModelTest.InputSet 100 fun inputSet(testFiles: List<TestFile>): InputSet = inputSet(*testFiles.toTypedArray()) in <lambda>() 109 fun inputSet(vararg testFiles: TestFile): InputSet { in <lambda>() 110 if (testFiles.isEmpty()) { in <lambda>() 115 testFiles in <lambda>() 127 return InputSet(inputFormat, testFiles.toList()) in <lambda>() 177 val mainSourceDir = ModelSuiteRunner.SourceDir(dir = tempDir, contents = inputSet.testFiles) in <lambda>() 181 private fun testFilesToInputSets(testFiles: Array<out TestFile>): Array<InputSet> { in <lambda>() 182 return testFiles.map { inputSet(it) }.toTypedArray() in <lambda>()
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | MultipleFileTest.kt | 30 val testFiles = in Test parse multiple files correctly updates super class() constant 82 checkSuperClass(testFiles, "narrowest to widest", "test.pkg.Baz") in Test parse multiple files correctly updates super class() 83 checkSuperClass(testFiles.reversed(), "widest to narrowest", "test.pkg.Bar") in Test parse multiple files correctly updates super class()
|
D | ApiFileTest.kt | 481 val testFiles = in <lambda>() constant 522 val files = testFiles.map { it.createFile(temporaryFolder.newFolder()) } in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 327 private List<File> optimizeModuleInstallation(Set<ApexInfo> activatedApex, List<File> testFiles, in optimizeModuleInstallation() argument 336 mApexModulesToUninstall.addAll(getModulesToUninstall(apexInData, testFiles, device)); in optimizeModuleInstallation() 339 mApkModulesToUninstall.addAll(getModulesToUninstall(apkModuleInData, testFiles, device)); in optimizeModuleInstallation() 351 return testFiles; in optimizeModuleInstallation() 363 List<File> testFiles, ITestDevice device) throws TargetSetupError { in getModulesToUninstall() argument 366 for (File testFile : testFiles) { in getModulesToUninstall() 376 testFiles.removeAll(filesToSkipInstall); in getModulesToUninstall()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 373 List<File> testFiles = new ArrayList<>(); in testGetModulesToUninstall_NoneUninstallAndInstallFiles() local 374 testFiles.add(mFakeApex); in testGetModulesToUninstall_NoneUninstallAndInstallFiles() 375 testFiles.add(mFakeApex2); in testGetModulesToUninstall_NoneUninstallAndInstallFiles() 394 apexInData, testFiles, mMockDevice); in testGetModulesToUninstall_NoneUninstallAndInstallFiles() 396 assertEquals(0, testFiles.size()); in testGetModulesToUninstall_NoneUninstallAndInstallFiles() 406 List<File> testFiles = new ArrayList<>(); in testGetModulesToUninstall_UninstallAndInstallFiles() local 407 testFiles.add(mFakeApex3); in testGetModulesToUninstall_UninstallAndInstallFiles() 426 apexInData, testFiles, mMockDevice); in testGetModulesToUninstall_UninstallAndInstallFiles() 427 assertEquals(1, testFiles.size()); in testGetModulesToUninstall_UninstallAndInstallFiles() 428 assertEquals(mFakeApex3, testFiles.get(0)); in testGetModulesToUninstall_UninstallAndInstallFiles() [all …]
|
D | ModuleOemTargetPreparerTest.java | 364 private void addTestFiles(File... testFiles) throws Exception { in addTestFiles() argument 365 for (File testFile : testFiles) { in addTestFiles()
|