Home
last modified time | relevance | path

Searched refs:tempDir (Results 1 – 8 of 8) sorted by relevance

/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java41 private Path tempDir; field in TelephonyLookupGeneratorTest
45 tempDir = Files.createTempDirectory("TelephonyLookupGeneratorTest"); in setUp()
50 TestUtils.deleteDir(tempDir); in tearDown()
55 String telephonyLookupFile = createFile(tempDir, "THIS IS NOT A VALID FILE"); in invalidTelephonyLookupFile()
56 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidTelephonyLookupFile()
141 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in checkGenerationFails()
152 return TestUtils.createFile(tempDir, TextFormat.printToString(telephonyLookup)); in createTelephonyLookupFile()
160 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in generateTelephonyLookupXml()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java52 private Path tempDir; field in TzLookupGeneratorTest
56 tempDir = Files.createTempDirectory("TzLookupGeneratorTest"); in setUp()
61 TestUtils.deleteDir(tempDir); in tearDown()
66 String countryZonesFile = createFile(tempDir, "THIS IS NOT A VALID FILE"); in invalidCountryZonesFile()
70 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidCountryZonesFile()
90 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in invalidRulesVersion()
111 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryWithNoTimeZoneMappings()
137 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in countryWithDuplicateTimeZoneMappings()
161 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in badDefaultId()
184 String outputFile = Files.createTempFile(tempDir, "out", null /* suffix */).toString(); in explicitDefaultIdInvalid()
[all …]
DZoneTabFileTest.java39 private Path tempDir; field in ZoneTabFileTest
43 tempDir = Files.createTempDirectory("ZoneTabFileTest"); in setUp()
48 TestUtils.deleteDir(tempDir); in tearDown()
121 return TestUtils.createFile(tempDir, lines); in createFile()
DBackwardFileTest.java41 private Path tempDir; field in BackwardFileTest
45 tempDir = Files.createTempDirectory("BackwardFileTest"); in setUp()
50 TestUtils.deleteDir(tempDir); in tearDown()
138 return TestUtils.createFile(tempDir, lines); in createFile()
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/
DTestUtils.java45 public static void deleteDir(Path tempDir) throws IOException { in deleteDir() argument
64 Files.walkFileTree(tempDir, deleter); in deleteDir()
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DTimeZoneDistroTest.java170 File tempDir = TestIoUtils.createTemporaryDirectory(tempPrefix); in createTempDir() local
171 testFiles.add(tempDir); in createTempDir()
172 return tempDir; in createTempDir()
DFileUtilsTest.java348 File tempDir = TestIoUtils.createTemporaryDirectory(tempPrefix); in createTempDir() local
349 testFiles.add(tempDir); in createTempDir()
350 return tempDir; in createTempDir()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java58 private File tempDir; field in TimeZoneDistroInstallerTest
65 tempDir = createUniqueDirectory(null, "tempDir"); in setUp()
66 testInstallDir = createSubDirectory(tempDir, "testInstall"); in setUp()
67 testBaseDataDir = createSubDirectory(tempDir, "testBaseData"); in setUp()
102 if (tempDir.exists()) { in tearDown()
103 FileUtils.deleteRecursive(tempDir); in tearDown()
691 File expectedZipContentDir = createUniqueDirectory(tempDir, "expectedZipContent"); in assertInstallDistroStaged()
815 File workingDir = createUniqueDirectory(tempDir, "versionBytes"); in createTimeZoneDistroWithVersionBytes()