Lines Matching refs:expected
144 private static void expectEqualsByte(byte expected, byte result) { in expectEqualsByte() argument
145 if (expected != result) { in expectEqualsByte()
146 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte()
150 private static void expectEqualsShort(short expected, short result) { in expectEqualsShort() argument
151 if (expected != result) { in expectEqualsShort()
152 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort()
156 private static void expectEqualsChar(char expected, char result) { in expectEqualsChar() argument
157 if (expected != result) { in expectEqualsChar()
158 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar()
162 private static void expectEqualsInt(int expected, int result) { in expectEqualsInt() argument
163 if (expected != result) { in expectEqualsInt()
164 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt()
168 private static void expectEqualsLong(long expected, long result) { in expectEqualsLong() argument
169 if (expected != result) { in expectEqualsLong()
170 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong()