Home
last modified time | relevance | path

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

/external/grpc-grpc-java/binder/src/test/java/io/grpc/binder/internal/
DBlockInputStreamTest.java51 assertBytes(buff, 0, 10, 1); in testSingleBlock()
59 assertBytes(buff, 0, 10, 1); in testMultipleBlocks()
60 assertBytes(buff, 10, 10, 2); in testMultipleBlocks()
71 assertBytes(data, 0, 10, 1); in testMultipleBlocks_drain()
72 assertBytes(data, 10, 10, 2); in testMultipleBlocks_drain()
80 assertBytes(buff, 0, 10, 1); in testMultipleBlocksLessData()
81 assertBytes(buff, 10, 5, 2); in testMultipleBlocksLessData()
92 assertBytes(data, 0, 10, 1); in testMultipleBlocksLessData_drain()
93 assertBytes(data, 10, 5, 2); in testMultipleBlocksLessData_drain()
102 assertBytes(buff, 0, 10, 1); in testMultipleBlocksEmptyFinalBlock()
[all …]
/external/grpc-grpc-java/okhttp/third_party/okhttp/test/java/io/grpc/okhttp/internal/framed/
DHpackTest.java847 assertBytes(10); in writeSingleByteInt()
849 assertBytes(0xe0 | 10); in writeSingleByteInt()
854 assertBytes(31, 154, 10); in writeMultibyteInt()
856 assertBytes(0xe0 | 31, 154, 10); in writeMultibyteInt()
861 assertBytes(31, 224, 255, 255, 255, 7); in max31BitValue()
868 assertBytes(31, 0); in prefixMask()
874 assertBytes(30); in prefixMaskMinusOne()
880 assertBytes(0); in zero()
886 assertBytes(0x40, 3, 'f', 'o', 'o', 3, 'B', 'a', 'R'); in lowercaseHeaderNameBeforeEmit()
900 assertBytes(0); in emptyHeaderName()
[all …]
/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()
119 void assertBytes(byte[] expected) { in assertBytes() method in AbstractByteHasherTest.TestHasher
DAbstractStreamingHasherTest.java50 sink.assertBytes(expected); in testBytes()
58 sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros in testShort()
66 sink.assertBytes(new byte[] {1, 2, 3, 4}); in testInt()
74 sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); in testLong()
82 sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros in testChar()
104 sink.assertBytes(new byte[] {1, 2, 3, 4}); in testFloat()
112 sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); in testDouble()
164 sink.assertBytes(expected); in testExhaustive()
232 void assertBytes(byte[] expected) {
/external/guava/android/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()
119 void assertBytes(byte[] expected) { in assertBytes() method in AbstractByteHasherTest.TestHasher
DAbstractStreamingHasherTest.java50 sink.assertBytes(expected); in testBytes()
58 sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros in testShort()
66 sink.assertBytes(new byte[] {1, 2, 3, 4}); in testInt()
74 sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); in testLong()
82 sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros in testChar()
104 sink.assertBytes(new byte[] {1, 2, 3, 4}); in testFloat()
112 sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); in testDouble()
164 sink.assertBytes(expected); in testExhaustive()
232 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 …]