1f55fee3f9f89fe311537193f4aafb3ec658b183 |
|
19-Mar-2012 |
Aaron VonderHaar <gruen0aermel@gmail.com> |
Depend on junit-dep instead of junit The junit jar (vs the junit-dep jar) contains several hamcrest classes. Since we include hamcrest-core anyway, we should be using junit-dep (which does not contain any hamcrest classes). junit-4.8.2 contains an old (<1.2) version of hamcrest. This can cause problems (specifically, "java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch(Ljava/lang/Object;Lorg/hamcrest/Description;)V") if someone uses a library that contains custom matchers extending >1.2 org.hamcrest.Matcher but has Robolectric on their classpath before hamcrest-core, as the org.hamcrest.MatcherAssert contained in junit-4.8.2 is not compatible with org.hamcrest.Matcher contained in hamcrest-core-1.2
/external/robolectric/lib/main/junit-dep-4.8.2.jar
|
ff55ac4ec53ce1caaa8a106c63e8970f0d6a3a28 |
|
21-Dec-2010 |
Christian Williams & Phil Goodwin <pair+xian+phil@pivotallabs.com> |
Added ability to copy dependent jars to lib/main for Ant to the .pom file and used it to update the jars.
/external/robolectric/lib/main/junit-dep-4.8.2.jar
|
cdccbb0bbcca05983f20776764a32cc260efdfd3 |
|
06-Aug-2010 |
Christian Williams & Tyler Schultz <pair+xian+tyler@pivotallabs.com> |
junit and hamcrest need to be in lib/main, cuz this whole thing is a test library, right?
/external/robolectric/lib/main/junit-dep-4.8.2.jar
|