Home
last modified time | relevance | path

Searched refs:newFolder (Results 1 – 25 of 27) sorted by relevance

12

/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DTemporaryFolderOwner.kt34 val dir = newFolder("project") in createProject()
41 fun newFolder(children: String = ""): File { in newFolder() method
46 temporaryFolder.newFolder(children) in newFolder()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/
DMakeAnnotationsPackagePrivateCommandTest.kt73 val target = newFolder("private-annotations") in Test copying private annotations from one of the stubs()
149 val source = newFolder("annotations-copy") in Test stub-annotations containing unknown annotation()
160 val target = newFolder("private-annotations") in Test stub-annotations containing unknown annotation()
/tools/metalava/metalava-testing/src/test/java/com/android/tools/metalava/testing/
DMutableBaselineFileTest.kt32 val projectDir = temporaryFolder.newFolder("project") in Update file()
83 val projectDir = temporaryFolder.newFolder("project") in Write empty()
99 val projectDir = temporaryFolder.newFolder("project") in Write empty after removing last failure()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DDeviceActionUtilTest.java65 mTmpDir = tempFolder.newFolder("tmp-dir"); in setUp()
66 mGenDir = tempFolder.newFolder("gen-dir"); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java147 when(mBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in setUp()
243 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTestsWhenRemoteTestTimeoutIsSet()
337 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZip()
402 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
515 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_testMappingsZipHostTests()
558 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_shard()
602 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_shardNoTest()
632 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTests_noTest()
691 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTestsWithModule()
740 when(mockBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in testLoadTestsWithMultiModules()
[all …]
DAtestRunnerTest.java102 when(mBuildInfo.getTestsDir()).thenReturn(mTempFolder.newFolder()); in setUp()
DBaseTestSuiteTest.java89 mBuildInfo.setTestsDir(mTempFolder.newFolder(), "testsdir"); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DTestOutputUploaderTest.java72 File destDir = tmpDir.newFolder(); in testUploadFile_fileProtocol_rootPath()
85 File destDir = tmpDir.newFolder(); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DModuleOemTargetPreparerTest.java98 testDir.newFolder("FakeSplit"); in setUp()
101 mRecoverRootDir = testDir.newFolder(); in setUp()
102 testDir.newFolder(mRecoverRootDir.getName(), APEX_PACKAGE_NAME); in setUp()
107 testDir.newFolder(mRecoverRootDir.getName(), SPLIT_APK_PACKAGE_NAME); in setUp()
DDeviceActionTargetPreparerTest.java170 File trainFolder = tempFolder.newFolder("train"); in setUp_installTrainFolder()
DModulePusherTest.java98 mFakeSplitDir = testDir.newFolder("FakeSplit"); in setUp()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/
DCorrectApiLevelForReleaseTest.kt68 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Correct API Level for release()
DCorrectApiLevelForNonReleaseTest.kt69 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Correct API Level for non-release()
DExtractPublicApiLevelsTest.kt82 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Extract API levels()
DApiGeneratorTest.kt715 signature(name, contents).createFile(temporaryFolder.newFolder()) in <lambda>()
/tools/metalava/metalava-model-testsuite-cli/src/test/java/com/android/tools/metalava/model/testsuite/cli/
DUpdateBaselineCommandTest.kt62 val projectDir = temporaryFolder.newFolder("project") in Test update file()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiSourceParserTest.kt60 projectDir = temporaryFolder.newFolder() in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DFastPathTest.kt93 .createFile(temporaryFolder.newFolder()) in checkFastPath()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DMainCommandTest.kt361 val dir = temporaryFolder.newFolder() in Test for @file()
DDriverTest.kt893 stubsDir = newFolder("stubs") in <lambda>()
1030 newFolder("temp").path, in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/
DBaseCommandTest.kt130 fun folder(path: String): File = test.temporaryFolder.newFolder(path) in folder()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileReadOnlyTest.java81 File folder = temporaryFolder.newFolder(); in cannotAddRecursivelyInRoMode()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBaseModelTest.kt176 val tempDir = temporaryFolder.newFolder() in <lambda>()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt522 val files = testFiles.map { it.createFile(temporaryFolder.newFolder()) } in <lambda>()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DClangCodeCoverageCollectorTest.java515 File profileToolFolder = folder.newFolder(); in testProfileToolInConfiguration_notFromBuild()

12