Created
August 26, 2011 18:58
-
-
Save ajayk/1174147 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Like assertEquals, but fails at the end of the test (during tearDown) */ | |
public void verifyEquals(boolean s1, boolean s2) { | |
try { | |
assertEquals(new Boolean(s1), new Boolean(s2)); | |
} catch (Error e) { | |
verificationErrors.append(throwableToString(e)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment