Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestWriteString (0.09 sec)

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

        assertEquals(ASCII, Files.toString(asciiFile, US_ASCII));
        assertEquals(I18N, Files.toString(i18nFile, UTF_8));
        assertThat(Files.toString(i18nFile, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
    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

        assertEquals(ASCII, Files.toString(asciiFile, US_ASCII));
        assertEquals(I18N, Files.toString(i18nFile, UTF_8));
        assertThat(Files.toString(i18nFile, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
    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