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/kotlinpoet/kotlinpoet/src/commonTest/kotlin/com/squareup/kotlinpoet/ |
| D | FileWritingTest.kt | 105 val fooPath = fooSpec.writeTo(fsRoot) in pathNestedClasses() constant 109 assertThat(fooPath).isEqualTo(fsRoot.resolve(fs.getPath("foo", "Test.kt"))) in pathNestedClasses() 112 assertThat(Files.exists(fooPath)).isTrue() in pathNestedClasses() 140 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in filerNestedClasses() constant 143 assertThat(Files.exists(fooPath)).isTrue() in filerNestedClasses() 260 val fooPath = fsRoot.resolve(fs.getPath("foo", "Test.kt")) in filerClassesWithTabIndent() constant 261 assertThat(Files.exists(fooPath)).isTrue() in filerClassesWithTabIndent() 262 val source = String(Files.readAllBytes(fooPath)) in filerClassesWithTabIndent() 296 val fooPath = fsRoot.resolve(fs.getPath("foo", "Taco.kt")) in fileIsUtf8() constant 297 assertThat(String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo( in fileIsUtf8()
|
| /external/guava/guava-tests/test/com/google/common/io/ |
| D | MoreFilesTest.java | 192 Path fooPath = fs.getPath("foo"); in testEqual() local 194 MoreFiles.asCharSink(fooPath, UTF_8).write("foo"); in testEqual() 197 assertThat(MoreFiles.equal(fooPath, barPath)).isFalse(); in testEqual() 198 assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue(); in testEqual() 199 assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath))) in testEqual() 202 Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy")); in testEqual() 203 assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse(); in testEqual() 204 assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue(); in testEqual() 207 assertThat(MoreFiles.asByteSource(fooPath).size()) in testEqual() 209 assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse(); in testEqual() [all …]
|