- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testContentEquals (0.22 sec)
-
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
Optional<Long> sizeIfKnown = source.sizeIfKnown(); if (sizeIfKnown.isPresent()) { assertEquals(expected.length, (long) sizeIfKnown.get()); } } public void testContentEquals() throws IOException { assertTrue( source.contentEquals( new ByteSource() { @Override public InputStream openStream() throws IOException {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
Optional<Long> sizeIfKnown = source.sizeIfKnown(); if (sizeIfKnown.isPresent()) { assertEquals(expected.length, (long) sizeIfKnown.get()); } } public void testContentEquals() throws IOException { assertTrue( source.contentEquals( new ByteSource() { @Override public InputStream openStream() throws IOException {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
// Pasted this expected string from `echo hamburger | md5sum` assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString()); } public void testContentEquals() throws IOException { assertTrue(source.contentEquals(source)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); ByteSource equalSource = new TestByteSource(bytes);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
// Pasted this expected string from `echo hamburger | md5sum` assertEquals("cfa0c5002275c90508338a5cdb2a9781", byteSource.hash(Hashing.md5()).toString()); } public void testContentEquals() throws IOException { assertTrue(source.contentEquals(source)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); ByteSource equalSource = new TestByteSource(bytes);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0)