Beispiel #1
0
 public void assertNull(Object p) {
   try {
     Assert.assertNull(p);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }
Beispiel #2
0
 public void assertNotNull(String msg, Object p) {
   try {
     Assert.assertNotNull(msg, p);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }
Beispiel #3
0
 public void assertFalse(boolean b) {
   try {
     Assert.assertFalse(b);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }
Beispiel #4
0
 public void assertTrue(String msg, boolean b) {
   try {
     Assert.assertTrue(msg, b);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }
Beispiel #5
0
 public void assertEquals(long a, long b) {
   try {
     Assert.assertEquals(a, b);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }
Beispiel #6
0
 public void assertEquals(Object a, Object b) {
   try {
     Assert.assertEquals(a, b);
   } catch (Error e) {
     lastTestFailed = true;
     throw e;
   }
 }