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