/** Asserts that two objects are not the same (compares using .equals()) */ public static void assertNotEquals(Object obj1, Object obj2) { SeleneseTestBase.assertNotEquals(obj1, obj2); }
/** Asserts that two booleans are not the same */ public static void assertNotEquals(boolean b1, boolean b2) { SeleneseTestBase.assertNotEquals(b1, b2); }
/** Asserts that two booleans are not the same */ public static void assertNotEquals(boolean b1, boolean b2) { assertNotEquals(new Boolean(b1), new Boolean(b2)); }
/** Like assertNotEquals, but fails at the end of the test (during tearDown) */ public void verifyNotEquals(Object s1, Object s2) { try { assertNotEquals(s1, s2); } catch (AssertionFailedError e) { verificationErrors.append(throwableToString(e)); } }
/** Like assertNotEquals, but fails at the end of the test (during tearDown) */ public void verifyNotEquals(boolean s1, boolean s2) { try { assertNotEquals(new Boolean(s1), new Boolean(s2)); } catch (AssertionFailedError e) { verificationErrors.append(throwableToString(e)); } }