Lines Matching refs:expected
148 private static void expectEqualsByte(byte expected, byte result) { in expectEqualsByte() argument
149 if (expected != result) { in expectEqualsByte()
150 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte()
154 private static void expectEqualsShort(short expected, short result) { in expectEqualsShort() argument
155 if (expected != result) { in expectEqualsShort()
156 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort()
160 private static void expectEqualsChar(char expected, char result) { in expectEqualsChar() argument
161 if (expected != result) { in expectEqualsChar()
162 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar()
166 private static void expectEqualsInt(int expected, int result) { in expectEqualsInt() argument
167 if (expected != result) { in expectEqualsInt()
168 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt()
172 private static void expectEqualsLong(long expected, long result) { in expectEqualsLong() argument
173 if (expected != result) { in expectEqualsLong()
174 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong()