Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CharSinkFactory (0.19 sec)

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

    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        byte[] bytes = string.getBytes(Charsets.UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

      }
    
      public static CharSourceFactory fileCharSourceFactory() {
        return new FileCharSourceFactory();
      }
    
      public static CharSinkFactory fileCharSinkFactory() {
        return new FileCharSinkFactory(null);
      }
    
      public static CharSinkFactory appendingFileCharSinkFactory() {
        String initialString = IoTestCase.ASCII + IoTestCase.I18N;
        return new FileCharSinkFactory(initialString);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTester.java

    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
      static TestSuite tests(String name, CharSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSinkTester.java

        byte[] bytes = string.getBytes(Charsets.UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

      }
    
      public static CharSourceFactory fileCharSourceFactory() {
        return new FileCharSourceFactory();
      }
    
      public static CharSinkFactory fileCharSinkFactory() {
        return new FileCharSinkFactory(null);
      }
    
      public static CharSinkFactory appendingFileCharSinkFactory() {
        String initialString = IoTestCase.ASCII + IoTestCase.I18N;
        return new FileCharSinkFactory(initialString);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/SourceSinkFactory.java

      /** Factory for {@link CharSource} instances. */
      public interface CharSourceFactory extends SourceFactory<CharSource, String> {}
    
      /** Factory for {@link CharSink} instances. */
      public interface CharSinkFactory extends SinkFactory<CharSink, String> {}
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

      /** Factory for {@link CharSource} instances. */
      public interface CharSourceFactory extends SourceFactory<CharSource, String> {}
    
      /** Factory for {@link CharSink} instances. */
      public interface CharSinkFactory extends SinkFactory<CharSink, String> {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
Back to top