Home
last modified time | relevance | path

Searched refs:assertBytes (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DAbstractByteHasherTest.java40 hasher.assertBytes(expected); in testBytes()
46 hasher.assertBytes(new byte[]{1, 2}); in testShort()
52 hasher.assertBytes(new byte[]{1, 2, 3, 4}); in testInt()
58 hasher.assertBytes(new byte[]{1, 2, 3, 4, 5, 6, 7, 8}); in testLong()
64 hasher.assertBytes(new byte[]{1, 2}); in testChar()
85 hasher.assertBytes(new byte[]{1, 2, 3, 4}); in testFloat()
91 hasher.assertBytes(new byte[]{1, 2, 3, 4, 5, 6, 7, 8}); in testDouble()
131 void assertBytes(byte[] expected) { in assertBytes() method in AbstractByteHasherTest.TestHasher
DAbstractStreamingHasherTest.java53 sink.assertBytes(expected); in testBytes()
61 sink.assertBytes(new byte[] { 1, 2, 0, 0 }); // padded with zeros in testShort()
69 sink.assertBytes(new byte[] { 1, 2, 3, 4 }); in testInt()
77 sink.assertBytes(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }); in testLong()
85 sink.assertBytes(new byte[] { 1, 2, 0, 0 }); // padded with zeros in testChar()
108 sink.assertBytes(new byte[] { 1, 2, 3, 4 }); in testFloat()
116 sink.assertBytes(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }); in testDouble()
176 sink.assertBytes(expected); in testExhaustive()
241 void assertBytes(byte[] expected) {
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHpackTest.java638 assertBytes(10); in writeSingleByteInt()
640 assertBytes(0xe0 | 10); in writeSingleByteInt()
645 assertBytes(31, 154, 10); in writeMultibyteInt()
647 assertBytes(0xe0 | 31, 154, 10); in writeMultibyteInt()
652 assertBytes(31, 224, 255, 255, 255, 7); in max31BitValue()
659 assertBytes(31, 0); in prefixMask()
665 assertBytes(30); in prefixMaskMinusOne()
671 assertBytes(0); in zero()
677 assertBytes(0, 3, 'f', 'o', 'o', 3, 'B', 'a', 'R'); in lowercaseHeaderNameBeforeEmit()
691 assertBytes(0); in emptyHeaderName()
[all …]