/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilTest.java | 64 testFile = FileUtil.createTempFile("testChmodRW", ".txt"); in testChmodGroupRW() 83 testFile = FileUtil.createTempFile("testChmodRW", ".txt"); in testChmodGroupRW_noChmod() 102 testFile = FileUtil.createTempFile("testChmodRWX", ".txt"); in testChmodGroupRWX() 121 testFile = FileUtil.createTempFile("testChmodRWX", ".txt"); in testChmodGroupRWX_noChmod() 144 testFile = FileUtil.createTempFile(prefix, ".gz"); in testCreateTempFile_filenameTooLong() 168 testFile = FileUtil.createTempFile(prefix, suffix); in testCreateTempFile_filenameTooLongEdge() 183 testFile = File.createTempFile("doesnotmatter", ".txt"); in testWriteToFile_overwrites_exists() 201 testFile = File.createTempFile("doesnotmatter", ".txt"); in testWriteToFile_appends_exists() 218 testFile = FileUtil.createTempFile("fileutiltest", ".test"); in testWriteToFile_overwrites_doesNotExist() 235 testFile = FileUtil.createTempFile("fileutiltest", ".test"); in testWriteToFile_appends_doesNotExist() [all …]
|
D | FileUtilFuncTest.java | 109 File tmpFile = createTempFile("foo", "txt"); in testChmodGroupRW() 141 File tmpFile = createTempFile("foo", ".txt"); in testCreateTempFile() 154 File tmpFile = createTempFile("foo", ".txt", tmpParentDir); in testCreateTempFile_parentDir() 168 File tmpFile = createTempFile("foo", ".txt"); in testWriteToFile() 177 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveDelete() 192 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopy() 213 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopyToNonexistentTarget() 236 File aFile = createTempFile("aFile", ".txt", absSubDir2); in testFindDirsUnder() 335 File tmpFile = FileUtil.createTempFile("testCalculateMd5", ".txt"); in testCalculateMd5() 352 File testFile = FileUtil.createTempFile("test", "file", subdir1); in testRecursiveSymlink() [all …]
|
D | ZipUtil2Test.java | 111 File tmpFile = FileUtil.createTempFile("ziputiltest", ".zip"); in testExtractZipToTemp() 125 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() 141 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() method in ZipUtil2Test 142 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
|
D | TarUtilTest.java | 58 File logTarGzFile = FileUtil.createTempFile("log_tarutil_test", ".tar.gz"); in testUnGzip() 78 File logTarGzFile = FileUtil.createTempFile("log_tarutil_test", ".tar.gz"); in testUntar() 98 File logTarGzFile = FileUtil.createTempFile("log_tarutil_test", ".tar.gz"); in testExtractAndLog() 125 File tmpFile = FileUtil.createTempFile("base_file", ".txt", mWorkDir); in testGzipDir_unGzip()
|
D | ZipUtilTest.java | 51 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() 183 File tmpFile = FileUtil.createTempFile("ziputiltest", ".zip"); in testExtractZipToTemp() 205 private File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() method in ZipUtilTest 206 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile()
|
D | SubprocessTestResultsParserTest.java | 109 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_randomEvents() 147 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_invalidEventOrder() 172 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_testNotStarted() 207 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_noTimeStamp() 242 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_invocationFailed() 336 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_testTag() 366 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_testTagNotOverwrite() 390 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_moduleStarted_end() 423 File tmp = FileUtil.createTempFile("sub", "unit"); in testParse_logAssociation()
|
D | HprofAllocSiteParserTest.java | 67 File f = FileUtil.createTempFile("hprof", ".test"); in testParse() 82 File f = FileUtil.createTempFile("hprof", ".test"); in testParse_invalidContent()
|
D | BugreportTest.java | 51 mRegularFile = FileUtil.createTempFile("bugreport-test", "txt"); in setUp() 55 File mainEntry = FileUtil.createTempFile("main_entry", ".txt", tempDir); in setUp() 56 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in setUp() 162 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); in testBugreportz_noMainFile()
|
D | GCSBucketUtilFuncTest.java | 48 File tempFile = FileUtil.createTempFile(BUCKET_NAME_PREFIX, ""); in setUpBeforeClass() 119 File tempSrc = FileUtil.createTempFile(sBucket.getBucketName(), "src"); in TestUploadDownload() 120 File tempDst = FileUtil.createTempFile(sBucket.getBucketName(), "dst"); in TestUploadDownload()
|
D | TestLoaderTest.java | 42 File tmpJar = FileUtil.createTempFile("tests", ".jar"); in testLoadTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationUtilTest.java | 48 File tmpXml = FileUtil.createTempFile("global_config", ".xml"); in testDumpClassToXml() 84 File tmpXml = FileUtil.createTempFile("global_config", ".xml"); in testDumpClassToXml_filtered() 133 File config1 = FileUtil.createTempFile("config", ".config", tmpDir); in testGetConfigNamesFromDirs() 137 File config2 = FileUtil.createTempFile("config", ".xml", subDir); in testGetConfigNamesFromDirs() 165 FileUtil.createTempFile("whatevername", ".whateverextension", tmpDir); in testGetConfigNamesFromDirs_patterns() 169 File config2 = FileUtil.createTempFile("config", ".otherext", subDir); in testGetConfigNamesFromDirs_patterns()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 108 File apk = FileUtil.createTempFile("testapk", ".apk", varDir); in testGetLocalPathForFilename_withVariable() 133 File varDir = FileUtil.createTempFile("suite-apk-installer-var", ".txt"); in testGetTestsDir_notDir() 135 File apkFile = FileUtil.createTempFile("apk-test", ".apk", tmpDir); in testGetTestsDir_notDir() 165 File tmpApk = FileUtil.createTempFile("suite-apk-installer", ".apk"); in testGetLocalPathForFileName() 189 File tmpApk = FileUtil.createTempFile("suite-apk-installer", ".apk"); in testGetLocalPathForFileName_noFound() 224 File tmpApk = FileUtil.createTempFile("suite-apk-installer", ".apk", tmpDir); in testGetLocalPathForFileName_testsDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/ |
D | JSONFileKeyStoreClientTest.java | 49 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchUnreadableFile() 63 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchEmptyFile() 75 File test = FileUtil.createTempFile("keystore", "test"); in testKeyStoreFetchFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | AndroidJUnitTestTest.java | 206 File tmpFile = FileUtil.createTempFile("testFile", ".txt"); in testRun_includeFile() 231 File tmpFile = FileUtil.createTempFile("notTestFile", ".txt"); in testRun_excludeFile() 260 File tmpFileInclude = FileUtil.createTempFile("includeFile", ".txt"); in testRun_testFileAndFilters() 261 File tmpFileExclude = FileUtil.createTempFile("excludeFile", ".txt"); in testRun_testFileAndFilters() 291 File tmpFileInclude = FileUtil.createTempFile("includeFile", ".txt"); in testRun_testFileAndFilters_fails() 292 File tmpFileExclude = FileUtil.createTempFile("excludeFile", ".txt"); in testRun_testFileAndFilters_fails() 328 File tmpFileInclude = FileUtil.createTempFile("includeFile", ".txt"); in testRun_setTestFileOptions() 329 File tmpFileExclude = FileUtil.createTempFile("excludeFile", ".txt"); in testRun_setTestFileOptions()
|
/tools/tradefederation/core/prod-tests/src/com/android/monkey/ |
D | AnrReportGenerator.java | 97 mCachedBugreport = FileUtil.createTempFile("monkey-anr-report-bugreport", ".txt"); in setBugReportInfo() 110 mCachedMonkeyLog = FileUtil.createTempFile("monkey-anr-report-monkey-log", ".txt"); in setMonkeyLogInfo() 141 htmlReport = FileUtil.createTempFile( in genereateAnrReport()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 50 mFile = FileUtil.createTempFile("image", "tmp"); in setUp() 128 File testFile = FileUtil.createTempFile("fake-versioned-file", ".txt"); in testCleanUpWithExemption() 129 File testFile2 = FileUtil.createTempFile("fake-versioned-file2", ".txt"); in testCleanUpWithExemption()
|
D | KernelDeviceBuildInfoTest.java | 43 mDeviceFile = FileUtil.createTempFile("device", "tmp"); in setUp() 47 mKernelFile = FileUtil.createTempFile("kernel", "tmp"); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | AppSetupTest.java | 100 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_failToInstall() 125 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_aaptCannotParse() 156 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_noPackageName() 191 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_checkMinSdk_failParsing() 222 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_checkMinSdk_apiLow() 252 File tmpFile = FileUtil.createTempFile("versioned", ".test"); in testSetup_checkMinSdk_apiOk()
|
D | InstallAllTestZipAppsSetupTest.java | 91 FileUtil.createTempFile("fakeApk", ".apk", testDir); in setMockUnzipDir() 92 FileUtil.createTempFile("fakeApk2", ".apk", testDir); in setMockUnzipDir() 93 FileUtil.createTempFile("notAnApk", ".txt", testDir); in setMockUnzipDir() 95 FileUtil.createTempFile("subfakeApk", ".apk", subTestDir); in setMockUnzipDir()
|
D | KernelFlashPreparerTest.java | 64 mMkbootimg = File.createTempFile("mkbootimg", ""); in setUp() 65 mRamdisk = File.createTempFile("ramdisk", ".img"); in setUp() 66 mKernel = File.createTempFile("kernel", ""); in setUp() 67 mBootImg = File.createTempFile("boot", ".img"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | TfTestLauncher.java | 116 mDestCoverageFile = FileUtil.createTempFile("coverage", ".exec"); in addJavaArguments() 121 mHprofFile = FileUtil.createTempFile("java.hprof", ".txt"); in addJavaArguments() 259 File jacocoAgent = FileUtil.createTempFile("jacocoagent", ".jar"); in extractJacocoAgent() 273 File xmlReport = FileUtil.createTempFile("coverage_xml", ".xml"); in processExecData() 283 File antConfig = FileUtil.createTempFile("ant-merge_", ".xml"); in processExecData() 284 File jacocoAnt = FileUtil.createTempFile("jacocoant", ".jar"); in processExecData()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 68 File binary = FileUtil.createTempFile("python-dir", ""); in testRun() 101 File binary = FileUtil.createTempFile("python-dir", ""); in testRunFail_exception() 134 File binary = FileUtil.createTempFile("python-dir", ""); in testRunFail_failureOnly()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigUtil.java | 64 destination = FileUtil.createTempFile("config-container", ".xml"); in dumpConfigForVersion() 123 File filteredGlobalConfig = FileUtil.createTempFile("filtered_global_config", ".config"); in dumpFilteredGlobalConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | BaseModuleControllerTest.java | 47 mTestConfig = FileUtil.createTempFile("base-module-controller-test", ".config"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ZipUtil.java | 116 File createdFile = FileUtil.createTempFile("extracted", in extractFileFromZip() 144 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() 194 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip()
|