Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.3
-
None
Description
Just ran the test target and got these compiler errors.
[javac] Compiling 15 source files to /home/tvolkert/project/pivot/core/ant-bin
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:50: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(1, map.put("a", 2));
[javac] ^
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:52: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(2, map.get("a"));
[javac] ^
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:56: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(2, map.remove("a"));
[javac] ^
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:64: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(1, map.get("a"));
[javac] ^
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:65: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(2, map.get("b"));
[javac] ^
[javac] /home/tvolkert/project/pivot/core/test/org/apache/pivot/collections/test/HashMapTest.java:66: reference to assertEquals is ambiguous, both method assertEquals(double,double) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[javac] assertEquals(3, map.get("c"));
[javac] ^
[javac] 6 errors