Searched refs:fileToWrite (Results 1 – 2 of 2) sorted by relevance
96 File fileToWrite = RandomTempFile.createTempFile("temp", UUID.randomUUID().toString()); in toFile_replaceExisting_shouldReplace() local97 …Files.write(fileToWrite.toPath(), RandomStringUtils.random(1024).getBytes(StandardCharsets.UTF_8)); in toFile_replaceExisting_shouldReplace()101 …AsyncResponseTransformer.toFile(fileToWrite, FileTransformerConfiguration.defaultCreateOrReplaceEx… in toFile_replaceExisting_shouldReplace()104 assertThat(Md5Utils.md5AsBase64(fileToWrite)).isEqualTo(Md5Utils.md5AsBase64(file)); in toFile_replaceExisting_shouldReplace()105 fileToWrite.delete(); in toFile_replaceExisting_shouldReplace()111 File fileToWrite = RandomTempFile.createTempFile("temp", UUID.randomUUID().toString()); in toFile_appendExisting_shouldAppend() local113 Files.write(fileToWrite.toPath(), bytes); in toFile_appendExisting_shouldAppend()117 …AsyncResponseTransformer.toFile(fileToWrite, FileTransformerConfiguration.defaultCreateOrAppend()); in toFile_appendExisting_shouldAppend()120 assertThat(fileToWrite.length()).isEqualTo(file.length() + bytes.length); in toFile_appendExisting_shouldAppend()121 fileToWrite.delete(); in toFile_appendExisting_shouldAppend()
270 CLDRFile fileToWrite = cldrFileUnresolved.cloneAsThawed(); in main() local271 fileToWrite.removeAll(toRemove, false); in main()272 treeWriter.write(fileToWrite); in main()