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