Home | History | Annotate | Download | only in src

Lines Matching refs:expected

143       throw new Error("Expected NPE");
150 throw new Error("Expected NPE");
157 throw new Error("Expected NPE");
214 public static void expectEquals(byte expected, byte result) {
215 if (expected != result) {
216 throw new Error("Expected: " + expected + ", found: " + result);
220 public static void expectEquals(char expected, char result) {
221 if (expected != result) {
222 throw new Error("Expected: " + expected + ", found: " + result);
226 public static void expectEquals(int expected, int result) {
227 if (expected != result) {
228 throw new Error("Expected: " + expected + ", found: " + result);
232 public static void expectEquals(long expected, long result) {
233 if (expected != result) {
234 throw new Error("Expected: " + expected + ", found: " + result);
238 public static void expectEquals(float expected, float result) {
239 if (expected != result) {
240 throw new Error("Expected: " + expected + ", found: " + result);
244 public static void expectEquals(double expected, double result) {
245 if (expected != result) {
246 throw new Error("Expected: " + expected + ", found: " + result);
250 public static void expectEquals(Object expected, Object result) {
251 if (expected != result) {
252 throw new Error("Expected: " + expected + ", found: " + result);