Share

JUnit-addons

Code

Programming Languages: Java

License: Apache Software License

Repositories

browse code, statistics cvs -d:pserver:anonymous@junit-addons.cvs.sourceforge.net:/cvsroot/junit-addons login

cvs -z3 -d:pserver:anonymous@junit-addons.cvs.sourceforge.net:/cvsroot/junit-addons co -P modulename

Show:

What's happening?

  • Followup: RE: JUnit addons still alive?

    I was wondering the same.. Anyway, I submitted a patch with a testcase that I found useful here at work. Hope it will get accepted by 2013 or so :)

    2009-09-03 13:16:59 UTC by onemanbucket

  • POJO attribute equailty test

    I created an extension to the EqualsHashCodeTestCase that uses reflections to test equality for all attributes in a POJO. It's used in exactly the same way as EqualsHashCodeTestCase. This is what it does: 1) assert equalObj1.equals(equalObj2) and !equalObj1.equals(differentObj) 2) for all attributes in the class not annotated by ExcludeFromEquals 3a) change the attributes' value the value...

    2009-09-03 13:15:40 UTC by onemanbucket

  • ComparisonFailure : exception in createMessage()

    An exception occurs when attempting to create message with these expected ant actual values : Expected: key2=value2_blabla Actual: key2=value2 java.lang.StringIndexOutOfBoundsException: String index out of range: 11 at java.lang.String.charAt(String.java:687) at junitx.framework.ComparisonFailure.createMessage(ComparisonFailure.java:145) at...

    2009-06-18 16:59:30 UTC by nobody

Our Numbers