- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ByteSourceTester (0.12 sec)
-
guava-tests/test/com/google/common/io/ByteSourceTester.java
* * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> { private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class); static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) { TestSuite suite = new TestSuite(name);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
for (boolean asCharSource : new boolean[] {false, true}) { suite.addTest( ByteSourceTester.tests( "ByteSource.wrap[byte[]]", SourceSinkFactories.byteArraySourceFactory(), asCharSource)); suite.addTest( ByteSourceTester.tests( "ByteSource.empty[]", SourceSinkFactories.emptyByteSourceFactory(), asCharSource)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
for (boolean asCharSource : new boolean[] {false, true}) { suite.addTest( ByteSourceTester.tests( "ByteSource.wrap[byte[]]", SourceSinkFactories.byteArraySourceFactory(), asCharSource)); suite.addTest( ByteSourceTester.tests( "ByteSource.empty[]", SourceSinkFactories.emptyByteSourceFactory(), asCharSource)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
@AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests( "Resources.asByteSource[URL]", SourceSinkFactories.urlByteSourceFactory(), true)); suite.addTest( CharSourceTester.tests( "Resources.asCharSource[URL, Charset]",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
@SuppressWarnings("InlineMeInliner") // many tests of deprecated methods public class FilesTest extends IoTestCase { @AndroidIncompatible // suites, ByteSourceTester (b/230620681) public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests( "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true)); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite; } static TestSuite suiteForString(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite; } static TestSuite suiteForString(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
@AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests( "Resources.asByteSource[URL]", SourceSinkFactories.urlByteSourceFactory(), true)); suite.addTest( CharSourceTester.tests( "Resources.asCharSource[URL, Charset]",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
@SuppressWarnings("InlineMeInliner") // many tests of deprecated methods public class FilesTest extends IoTestCase { @AndroidIncompatible // suites, ByteSourceTester (b/230620681) public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests( "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true)); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
* * @author Colin Decker */ public class MoreFilesTest extends TestCase { public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest( ByteSourceTester.tests( "MoreFiles.asByteSource[Path]", SourceSinkFactories.pathByteSourceFactory(), true)); suite.addTest( ByteSinkTester.tests(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0)