• Home
  • Raw
  • Download

Lines Matching refs:message

18     static public void assertTrue(String message, boolean condition) {  in assertTrue()  argument
20 fail(message); in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument
34 assertTrue(message, !condition); in assertFalse()
46 static public void fail(String message) { in fail() argument
47 throw new AssertionFailedError(message); in fail()
59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
64 failNotEquals(message, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
94 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument
99 failNotEquals(message, new Double(expected), new Double(actual)); in assertEquals()
101 failNotEquals(message, new Double(expected), new Double(actual)); in assertEquals()
115 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() argument
120 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
122 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
135 static public void assertEquals(String message, long expected, long actual) { in assertEquals() argument
136 assertEquals(message, new Long(expected), new Long(actual)); in assertEquals()
148 static public void assertEquals(String message, boolean expected, boolean actual) { in assertEquals() argument
149 assertEquals(message, new Boolean(expected), new Boolean(actual)); in assertEquals()
161 static public void assertEquals(String message, byte expected, byte actual) { in assertEquals() argument
162 assertEquals(message, new Byte(expected), new Byte(actual)); in assertEquals()
174 static public void assertEquals(String message, char expected, char actual) { in assertEquals() argument
175 assertEquals(message, new Character(expected), new Character(actual)); in assertEquals()
187 static public void assertEquals(String message, short expected, short actual) { in assertEquals() argument
188 assertEquals(message, new Short(expected), new Short(actual)); in assertEquals()
200 static public void assertEquals(String message, int expected, int actual) { in assertEquals() argument
201 assertEquals(message, new Integer(expected), new Integer(actual)); in assertEquals()
219 static public void assertNotNull(String message, Object object) { in assertNotNull() argument
220 assertTrue(message, object != null); in assertNotNull()
232 static public void assertNull(String message, Object object) { in assertNull() argument
233 assertTrue(message, object == null); in assertNull()
239 static public void assertSame(String message, Object expected, Object actual) { in assertSame() argument
242 failNotSame(message, expected, actual); in assertSame()
255 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() argument
257 failSame(message); in assertNotSame()
267 static private void failSame(String message) { in failSame() argument
269 if (message != null) in failSame()
270 formatted= message+" "; in failSame()
274 static private void failNotSame(String message, Object expected, Object actual) { in failNotSame() argument
276 if (message != null) in failNotSame()
277 formatted= message+" "; in failNotSame()
281 static private void failNotEquals(String message, Object expected, Object actual) { in failNotEquals() argument
282 fail(format(message, expected, actual)); in failNotEquals()
285 static String format(String message, Object expected, Object actual) { in format() argument
287 if (message != null) in format()
288 formatted= message+" "; in format()