Lines Matching refs:expected
53 public final void assertEquals(boolean expected, boolean actual) { in assertEquals() argument
54 assertEquals(Boolean.valueOf(expected), Boolean.valueOf(actual)); in assertEquals()
57 public final void assertEquals(byte expected, byte actual) { in assertEquals() argument
58 assertEquals(Byte.valueOf(expected), Byte.valueOf(actual)); in assertEquals()
61 public final void assertEquals(char expected, char actual) { in assertEquals() argument
62 assertEquals(Character.valueOf(expected), Character.valueOf(actual)); in assertEquals()
65 public final void assertEquals(short expected, short actual) { in assertEquals() argument
66 assertEquals(Short.valueOf(expected), Short.valueOf(actual)); in assertEquals()
69 public final void assertEquals(int expected, int actual) { in assertEquals() argument
70 assertEquals(Integer.valueOf(expected), Integer.valueOf(actual)); in assertEquals()
73 public final void assertEquals(long expected, long actual) { in assertEquals() argument
74 assertEquals(Long.valueOf(expected), Long.valueOf(actual)); in assertEquals()
77 public final void assertEquals(float expected, float actual) { in assertEquals() argument
78 assertEquals(Float.valueOf(expected), Float.valueOf(actual)); in assertEquals()
81 public final void assertEquals(double expected, double actual) { in assertEquals() argument
82 assertEquals(Double.valueOf(expected), Double.valueOf(actual)); in assertEquals()
85 public final void assertEquals(Object expected, Object actual) { in assertEquals() argument
86 if (expected == null) { in assertEquals()
90 } else if (expected.equals(actual)) { in assertEquals()
93 failNotEquals("Failed assertion (expected != actual)", expected, actual); in assertEquals()
120 private void failNotEquals(String message, Object expected, Object actual) { in failNotEquals() argument
124 .append(expected) in failNotEquals()