Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRoundTripSources (0.28 sec)

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

                "Files.asCharSink[File, Charset, APPEND]",
                SourceSinkFactories.appendingFileCharSinkFactory()));
        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
    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.asCharSink[File, Charset, APPEND]",
                SourceSinkFactories.appendingFileCharSinkFactory()));
        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
    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