- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newFileSystem (0.12 sec)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
private Path createTempFile() throws IOException { return Files.createTempFile(tempDir, "test", ".test"); } public void testByteSource_size_ofDirectory() throws IOException { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path dir = fs.getPath("dir"); Files.createDirectory(dir); ByteSource source = MoreFiles.asByteSource(dir); assertThat(source.sizeIfKnown()).isAbsent();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
private Path createTempFile() throws IOException { return Files.createTempFile(tempDir, "test", ".test"); } public void testByteSource_size_ofDirectory() throws IOException { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path dir = fs.getPath("dir"); Files.createDirectory(dir); ByteSource source = MoreFiles.asByteSource(dir); assertThat(source.sizeIfKnown()).isAbsent();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child"))); } @Test public void testPropertiesInterpolation() throws Exception { FileSystem fs = Jimfs.newFileSystem(Configuration.windows()); Path mavenHome = fs.getPath("C:\\maven"); Files.createDirectories(mavenHome); Path mavenConf = mavenHome.resolve("conf"); Files.createDirectories(mavenConf);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)