Searched refs:readAllBytes (Results 1 – 24 of 24) sorted by relevance
30 readAllBytes ( FileSystems . getDefault ( ) . getPath ( inputDirectory .32 Charsets . UTF_8 ) ; byte [ ] expectedOutputBytes = Files . readAllBytes (
39 Files.readAllBytes(FileSystems.getDefault().getPath(inputDirectory.toString(), fileName));42 Files.readAllBytes(
318 byte[] actual = Files.readAllBytes(this.actual); in containsBytes()334 byte[] expectedBytes = Files.readAllBytes(toPath(path)); in containsSameBytesAs()335 if (!Arrays.equals(expectedBytes, Files.readAllBytes(actual))) { in containsSameBytesAs()
427 Files.readAllBytes(file); in testFilesMethodsThrow()
1230 Files.readAllBytes(path("/link.txt")); in testSymbolicLinks()
19 return new String(Files.readAllBytes(Paths.get(absolutePath)), UTF_8); in readFileAsString()
335 return Integer.valueOf(new String(Files.readAllBytes(proc.resolve("stat"))).split(" ")[0]); in getPid()383 return new String(Files.readAllBytes(children.toPath())).split(" "); in ReadChildPids()
183 String source = new String(Files.readAllBytes(fooPath)); in filerClassesWithTabIndent()212 assertThat(new String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo("" in fileIsUtf8()
82 buf = Files.readAllBytes(f.toPath()); in XPathExpressionParser()
201 String sequence = new String(Files.readAllBytes(path), UTF_8); in expandParamsFiles()
127 input = new String(Files.readAllBytes(path), UTF_8); in formatFiles()
54 byte[] encoded = Files.readAllBytes(file); in readFile()
59 byte[] encoded = Files.readAllBytes(file); in readFile()
73 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
55 byte[] bytes = Files.readAllBytes(Paths.get(resourceAsStream.toURI())); in readTextResource()
90 byte[] original = Files.readAllBytes(out.resolve("test/Test.class")); in roundTrip()
186 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8))); in expandParamsFiles()
130 return new String(Files.readAllBytes(tempDir.toPath().resolve("G.java")), UTF_8); in runProcessor()
142 return Files.readAllBytes(path); in readAllBytesOrExit()
172 return Files.readAllBytes(path); in toByteArrayOrDie()
33 public void readAllBytes() { in readAllBytes() method in ParsableBitArrayTest
318 String output = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); in importOrdering()
552 return java.nio.file.Files.readAllBytes(file);
522 result.put(r.substring(0, r.length() - ".class".length()), Files.readAllBytes(path)); in runJavac()