Searched refs:fooPath (Results 1 – 3 of 3) sorted by relevance
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | FileWritingTest.java | 109 Path fooPath = fsRoot.resolve(fs.getPath("foo", "Test.java")); in pathNestedClasses() local 112 assertThat(Files.exists(fooPath)).isTrue(); in pathNestedClasses() 140 Path fooPath = fsRoot.resolve(fs.getPath("foo", "Test.java")); in filerNestedClasses() local 143 assertThat(Files.exists(fooPath)).isTrue(); in filerNestedClasses() 181 Path fooPath = fsRoot.resolve(fs.getPath("foo", "Test.java")); in filerClassesWithTabIndent() local 182 assertThat(Files.exists(fooPath)).isTrue(); in filerClassesWithTabIndent() 183 String source = new String(Files.readAllBytes(fooPath)); in filerClassesWithTabIndent() 211 Path fooPath = fsRoot.resolve(fs.getPath("foo", "Taco.java")); in fileIsUtf8() local 212 assertThat(new String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo("" in fileIsUtf8()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | MoreFilesTest.java | 202 Path fooPath = fs.getPath("foo"); in testEqual() local 204 MoreFiles.asCharSink(fooPath, UTF_8).write("foo"); in testEqual() 207 assertThat(MoreFiles.equal(fooPath, barPath)).isFalse(); in testEqual() 208 assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue(); in testEqual() 209 assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath))) in testEqual() 212 Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy")); in testEqual() 213 assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse(); in testEqual() 214 assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue(); in testEqual() 217 assertThat(MoreFiles.asByteSource(fooPath).size()) in testEqual() 219 assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse(); in testEqual() [all …]
|
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/ |
D | FileWritingTest.kt | 100 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in pathNestedClasses() constant 103 assertThat(Files.exists(fooPath)).isTrue() in pathNestedClasses() 131 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in filerNestedClasses() constant 134 assertThat(Files.exists(fooPath)).isTrue() in filerNestedClasses() 251 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in filerClassesWithTabIndent() constant 252 assertThat(Files.exists(fooPath)).isTrue() in filerClassesWithTabIndent() 253 val source = String(Files.readAllBytes(fooPath)) in filerClassesWithTabIndent() 288 val fooPath = fsRoot.resolve(fs.getPath("foo", "Taco.kt")) in fileIsUtf8() constant 289 assertThat(String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo( in fileIsUtf8()
|