示例#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;
   }
 }