Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SourceSinkFactories (0.14 sec)

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

    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
      public static CharSourceFactory stringCharSourceFactory() {
        return new StringSourceFactory();
      }
    
      public static ByteSourceFactory byteArraySourceFactory() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
      public static CharSourceFactory stringCharSourceFactory() {
        return new StringSourceFactory();
      }
    
      public static ByteSourceFactory byteArraySourceFactory() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

            ByteSourceTester.tests(
                "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true));
        suite.addTest(
            ByteSinkTester.tests("Files.asByteSink[File]", SourceSinkFactories.fileByteSinkFactory()));
        suite.addTest(
            ByteSinkTester.tests(
                "Files.asByteSink[File, APPEND]", SourceSinkFactories.appendingFileByteSinkFactory()));
        suite.addTest(
            CharSourceTester.tests(
    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. guava-tests/test/com/google/common/io/MoreFilesTest.java

                "MoreFiles.asByteSource[Path]", SourceSinkFactories.pathByteSourceFactory(), true));
        suite.addTest(
            ByteSinkTester.tests(
                "MoreFiles.asByteSink[Path]", SourceSinkFactories.pathByteSinkFactory()));
        suite.addTest(
            ByteSinkTester.tests(
                "MoreFiles.asByteSink[Path, APPEND]",
                SourceSinkFactories.appendingPathByteSinkFactory()));
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

            ByteSourceTester.tests(
                "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true));
        suite.addTest(
            ByteSinkTester.tests("Files.asByteSink[File]", SourceSinkFactories.fileByteSinkFactory()));
        suite.addTest(
            ByteSinkTester.tests(
                "Files.asByteSink[File, APPEND]", SourceSinkFactories.appendingFileByteSinkFactory()));
        suite.addTest(
            CharSourceTester.tests(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSourceTest.java

          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.wrap[CharSequence]",
                  SourceSinkFactories.stringCharSourceFactory(),
                  asByteSource));
          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.empty[]", SourceSinkFactories.emptyCharSourceFactory(), asByteSource));
        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.wrap[byte[]]",
                  SourceSinkFactories.byteArraySourceFactory(),
                  asCharSource));
          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.empty[]", SourceSinkFactories.emptyByteSourceFactory(), asCharSource));
        }
        suite.addTestSuite(ByteSourceTest.class);
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.wrap[CharSequence]",
                  SourceSinkFactories.stringCharSourceFactory(),
                  asByteSource));
          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.empty[]", SourceSinkFactories.emptyCharSourceFactory(), asByteSource));
        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.wrap[byte[]]",
                  SourceSinkFactories.byteArraySourceFactory(),
                  asCharSource));
          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.empty[]", SourceSinkFactories.emptyByteSourceFactory(), asCharSource));
        }
        suite.addTestSuite(ByteSourceTest.class);
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top