/** * Asserts that the verification of the given class is OK. If it isn't it throws an AssertionFailedError with the given message. * * @param classname simple classname of the class to verify * @param message message displayed if assertion fails */ public void assertVerifyOK(final String classname, final String message) { final String testClassname = TEST_PACKAGE + classname; assertTrue(message, doAllPasses(testClassname)); }
/** * Asserts that the verification of the given class is rejected. * If it isn't it throws an AssertionFailedError with the given message. * * @param classname simple classname of the class to verify * @param message message displayed if assertion fails */ public void assertVerifyRejected(final String classname, final String message) { final String testClassname = TEST_PACKAGE + classname; assertFalse(message, doAllPasses(testClassname)); }