Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCopyIdenticalFiles (0.18 sec)

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

        Files.write(ASCII, temp, UTF_8);
        assertThrows(IllegalArgumentException.class, () -> Files.copy(temp, temp));
        assertEquals(ASCII, Files.toString(temp, UTF_8));
      }
    
      public void testCopyIdenticalFiles() throws IOException {
        File temp1 = createTempFile();
        Files.write(ASCII, temp1, UTF_8);
        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        Files.write(ASCII, temp, UTF_8);
        assertThrows(IllegalArgumentException.class, () -> Files.copy(temp, temp));
        assertEquals(ASCII, Files.toString(temp, UTF_8));
      }
    
      public void testCopyIdenticalFiles() throws IOException {
        File temp1 = createTempFile();
        Files.write(ASCII, temp1, UTF_8);
        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top