Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testGetFileExtension (0.17 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Files.createSymbolicLink(symlink, fs.getRootDirectories().iterator().next());
          Path file = symlink.resolve("foo");
          MoreFiles.createParentDirectories(file);
        }
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", MoreFiles.getFileExtension(FS.getPath(".txt")));
        assertEquals("txt", MoreFiles.getFileExtension(FS.getPath("blah.txt")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = createTempFile();
        // Test
        assertThrows(
            IllegalArgumentException.class,
            () -> Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1));
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", Files.getFileExtension(".txt"));
        assertEquals("txt", Files.getFileExtension("blah.txt"));
        assertEquals("txt", Files.getFileExtension("blah..txt"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        File file = createTempFile();
        // Test
        assertThrows(
            IllegalArgumentException.class,
            () -> Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1));
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", Files.getFileExtension(".txt"));
        assertEquals("txt", Files.getFileExtension("blah.txt"));
        assertEquals("txt", Files.getFileExtension("blah..txt"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          Files.createSymbolicLink(symlink, fs.getRootDirectories().iterator().next());
          Path file = symlink.resolve("foo");
          MoreFiles.createParentDirectories(file);
        }
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", MoreFiles.getFileExtension(FS.getPath(".txt")));
        assertEquals("txt", MoreFiles.getFileExtension(FS.getPath("blah.txt")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top