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