Lines Matching refs:expected
199 private static void expectEqualsByte(byte expected, byte result) { in expectEqualsByte() argument
200 if (expected != result) { in expectEqualsByte()
201 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte()
205 private static void expectEqualsShort(short expected, short result) { in expectEqualsShort() argument
206 if (expected != result) { in expectEqualsShort()
207 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort()
211 private static void expectEqualsChar(char expected, char result) { in expectEqualsChar() argument
212 if (expected != result) { in expectEqualsChar()
213 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar()
217 private static void expectEqualsInt(int expected, int result) { in expectEqualsInt() argument
218 if (expected != result) { in expectEqualsInt()
219 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt()
223 private static void expectEqualsLong(long expected, long result) { in expectEqualsLong() argument
224 if (expected != result) { in expectEqualsLong()
225 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong()