Home
last modified time | relevance | path

Searched refs:CharSourceFactory (Results 1 – 8 of 8) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java23 import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
51 public static CharSourceFactory stringCharSourceFactory() { in stringCharSourceFactory()
63 public static CharSourceFactory emptyCharSourceFactory() { in emptyCharSourceFactory()
80 public static CharSourceFactory fileCharSourceFactory() { in fileCharSourceFactory()
97 public static CharSourceFactory urlCharSourceFactory() { in urlCharSourceFactory()
101 public static ByteSourceFactory asByteSourceFactory(final CharSourceFactory factory) { in asByteSourceFactory()
121 public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) {
123 return new CharSourceFactory() {
195 private static class StringSourceFactory implements CharSourceFactory {
227 private static class EmptyCharSourceFactory implements CharSourceFactory {
[all …]
DCharSourceTester.java24 import com.google.common.io.SourceSinkFactory.CharSourceFactory;
42 public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
46 static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) { in tests()
61 CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { in suiteForBytes()
71 CharSourceFactory factory, String string, String name, String desc) { in suiteForString()
84 CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { in CharSourceTester()
DSourceSinkFactory.java73 public interface CharSourceFactory extends SourceFactory<CharSource, String> {} interface
DByteSourceTester.java20 import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
68 CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory); in suiteForString()
/external/guava/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java23 import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
54 public static CharSourceFactory stringCharSourceFactory() { in stringCharSourceFactory()
66 public static CharSourceFactory emptyCharSourceFactory() { in emptyCharSourceFactory()
83 public static CharSourceFactory fileCharSourceFactory() { in fileCharSourceFactory()
100 public static CharSourceFactory urlCharSourceFactory() { in urlCharSourceFactory()
121 public static CharSourceFactory pathCharSourceFactory() { in pathCharSourceFactory()
136 public static ByteSourceFactory asByteSourceFactory(final CharSourceFactory factory) { in asByteSourceFactory()
156 public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) {
158 return new CharSourceFactory() {
230 private static class StringSourceFactory implements CharSourceFactory {
[all …]
DCharSourceTester.java26 import com.google.common.io.SourceSinkFactory.CharSourceFactory;
45 public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
49 static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) { in tests()
64 CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { in suiteForBytes()
74 CharSourceFactory factory, String string, String name, String desc) { in suiteForString()
87 CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) { in CharSourceTester()
DSourceSinkFactory.java73 public interface CharSourceFactory extends SourceFactory<CharSource, String> {} interface
DByteSourceTester.java20 import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
68 CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory); in suiteForString()