Lines Matching refs:expected

43             ByteBuffer expected = ByteBuffer.allocateDirect(0);
44 expected.order(ByteOrder.LITTLE_ENDIAN);
46 checkInputParser(input, true, expected, 0);
51 ByteBuffer expected = ByteBuffer.allocateDirect(0);
52 expected.order(ByteOrder.nativeOrder());
54 checkInputParser(input, true, expected, 0);
59 ByteBuffer expected = ByteBuffer.allocateDirect(17);
60 expected.order(ByteOrder.nativeOrder());
61 expected.put((byte) 0x10);
62 expected.putShort((short) 65535);
63 expected.putInt(65536);
64 expected.putLong(-1);
65 expected.put((byte) 0);
66 expected.put((byte) 0xff);
67 expected.flip();
69 checkInputParser(input, true, expected, 0);
73 ByteBuffer expected = ByteBuffer.allocateDirect(15);
74 expected.order(ByteOrder.nativeOrder());
75 expected.putLong(-0x800);
76 expected.put((byte) -128);
77 expected.putShort((short) 0);
78 expected.putInt(-40);
79 expected.flip();
81 checkInputParser(input, true, expected, 0);
85 ByteBuffer expected = ByteBuffer.allocateDirect(3);
86 expected.order(ByteOrder.nativeOrder());
87 expected.put((byte) 11);
88 expected.put((byte) 128);
89 expected.put((byte) 0);
90 expected.flip();
92 checkInputParser(input, true, expected, 0);
96 ByteBuffer expected = ByteBuffer.allocateDirect(12);
97 expected.order(ByteOrder.nativeOrder());
98 expected.putFloat(+.3e9f);
99 expected.putDouble(-10.03);
100 expected.flip();
102 checkInputParser(input, true, expected, 0);
106 ByteBuffer expected = ByteBuffer.allocateDirect(14);
107 expected.order(ByteOrder.nativeOrder());
108 expected.putInt(14);
109 expected.put((byte) 0);
110 expected.putLong(9);
111 expected.put((byte) 0);
112 expected.flip();
114 checkInputParser(input, true, expected, 0);
118 ByteBuffer expected = ByteBuffer.allocateDirect(8);
119 expected.order(ByteOrder.nativeOrder());
120 expected.putLong(2);
121 expected.flip();
123 checkInputParser(input, true, expected, 50);
144 ByteBuffer expected = ByteBuffer.allocateDirect(0);
145 expected.order(ByteOrder.nativeOrder());
146 checkInputParser(input, false, expected, 0);