Searched refs:workingDir (Results 1 – 2 of 2) sorted by relevance
121 private final File workingDir; field in TimeZoneDistroInstaller129 workingDir = new File(installDir, WORKING_DIR_NAME); in TimeZoneDistroInstaller()149 return workingDir; in getWorkingDir()163 if (workingDir.exists()) { in stageInstallWithErrorCode()164 FileUtils.deleteRecursive(workingDir); in stageInstallWithErrorCode()169 unpackDistro(distro, workingDir); in stageInstallWithErrorCode()173 distroVersion = readDistroVersion(workingDir); in stageInstallWithErrorCode()200 if (!checkDistroDataFilesExist(workingDir)) { in stageInstallWithErrorCode()211 File zoneInfoFile = new File(workingDir, TimeZoneDistro.TZDATA_FILE_NAME); in stageInstallWithErrorCode()227 File tzLookupFile = new File(workingDir, TimeZoneDistro.TZLOOKUP_FILE_NAME); in stageInstallWithErrorCode()[all …]
346 File workingDir = installer.getWorkingDir(); in testStageInstallWithErrorCode_withWorkingDir() local347 assertTrue(workingDir.mkdir()); in testStageInstallWithErrorCode_withWorkingDir()348 createFile(new File(workingDir, "myFile"), new byte[] { 'a' }); in testStageInstallWithErrorCode_withWorkingDir()527 File workingDir = installer.getWorkingDir(); in testStageUninstall_oldDirsAlreadyExists() local528 assertTrue(workingDir.mkdir()); in testStageUninstall_oldDirsAlreadyExists()535 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists()712 File workingDir = installer.getWorkingDir(); in assertInstallDistroStaged() local713 assertFalse(workingDir.exists()); in assertInstallDistroStaged()743 File workingDir = installer.getWorkingDir(); in assertNoDistroOperationStaged() local744 assertFalse(workingDir.exists()); in assertNoDistroOperationStaged()[all …]