You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/08/13 20:11:14 UTC
[jira] Updated: (PIVOT-229) Compile errors in HashMapTest
[ https://issues.apache.org/jira/browse/PIVOT-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-229:
-----------------------------
Affects Version/s: 1.3
Fix Version/s: 1.3
Assignee: Greg Brown
> Compile errors in HashMapTest
> -----------------------------
>
> Key: PIVOT-229
> URL: https://issues.apache.org/jira/browse/PIVOT-229
> Project: Pivot
> Issue Type: Bug
> Components: core-collections
> Affects Versions: 1.3
> Reporter: Todd Volkert
> Assignee: Greg Brown
> Priority: Critical
> Fix For: 1.3
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.