not able to build junit 4.4

View: New views
1 Messages — Rating Filter:   Alert me  

not able to build junit 4.4

by Shubha B S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I downloaded Junit 4.4 source code from http://sourceforge.net/project/showfiles.php?group_id=15278&package_id=12472
If I try to build the jar out of the source code, I get the compiler error
C:\junit4.4-src\junit4.4\src\org\junit\matchers\IsCollectionContaining.java
Error(54,16): method allOf(java.util.Collection<org.hamcrest.Matcher<? extends java.lang.Iterable<T>>>) not found in class org.hamcrest.core.AllOf
Error(64,16): method allOf(java.util.Collection<org.hamcrest.Matcher<? extends java.lang.Iterable<T>>>) not found in class org.hamcrest.core.AllOf
C:\junit4.4-src\junit4.4\src\org\junit\matchers\JUnitMatchers.java
Error(15,10): incompatible types; found: interface org.hamcrest.Matcher<java.lang.Iterable<org.hamcrest.Matcher<? extends T>[]>>, required: interface org.hamcrest.Matcher<java.lang.Iterable<T>>
I am using JDK 1.5
Any inputs are appreciated.
thanks
Shubha


      Meet people who discuss and share your passions.. Go to http://in.promos.yahoo.com/groups/bestofyahoo/

[Non-text portions of this message have been removed]