Share

JUnit-addons

Code

Programming Languages: Java

License: Apache Software License

Repositories

browse code, statistics, last commit on 2005-11-23 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

  • Followup: RE: JUnit addons still alive?

    Hi, I sent a message to the JUnitAddons admin, but no response so far. Oh well, there's no hurry, whenever he(?) gets around to reading this, I'll still be here. :-) Of course, if he doesn't, what to do? Morten.

    2009-04-01 17:32:12 UTC by mlauritse

  • Followup: RE: JUnit addons still alive?

    Yep. Me! ;) I was just looking into the addons, too. Checked the ComparabilityTest, but unfortunately it does not work with junit4. Actually it is easy to rewrite this one to adapt to junit4. Instead of subclassing TestCase you can have this as superclass for junit4 tests. Tried it already out. Works like a charm. So, i would be happy to contribute, too.

    2009-03-27 00:43:14 UTC by arnonym

  • Followup: RE: JUnit addons still alive?

    OK, I just took a closer look, and junit-addons actually does exactly what I want it to do... Still... Is anybody reading this?.

    2009-03-18 21:42:22 UTC by mlauritse

  • JUnit addons still alive?

    Hello, I was wondering whether junit addons is still alive? JUnit and Java have both changed a lot since the last release... There are some minor things that I thought should be in JUnit Addons (to a certain extent, they already are...), like a generic equals and hashcode tester, comparator / comparable tester, etc. I couldn't find the documentation, and I didn't take the time to...

    2009-03-18 19:36:38 UTC by mlauritse

  • FileAssert: other parameters types

    It would be nice to be able to compare also InputStream and/or Reader rather then File only...

    2008-10-30 14:46:06 UTC by paulmeig

  • Adding new CompareTo style asserts

    Hi, I'm not sure if this is still an active project but I was wondering if you could add some assert methods that use compare to. Something like assertComparesEquals(String error, Comparable c1, Comparable c2); This is useful in cases such as BigDecimal where .equals fails if the scale is different, but compareTo() returns 0 if the value of the two big decimals is equal regardless...

    2007-02-26 18:01:16 UTC by bryanth

  • JUnit-addons

    vbossica committed patchset 127 of module junit-addons to the JUnit-addons CVS repository, changing 1 files.

    2005-11-23 21:23:22 UTC by vbossica

Our Numbers