On 16/09/2009, sebb <seb...@gmail.com> wrote:
> On 16/09/2009, Gump <iss...@commons.apache.org> wrote:
>  > To whom it may engage...
>  >
>  >  This is an automated request, but not an unsolicited one. For
>  >  more information please visit http://gump.apache.org/nagged.html,
>  >  and/or contact the folk at gene...@gump.apache.org.
>  >
>  >  Project commons-collections has an issue affecting its community 
> integration.
>  >  This issue affects 231 projects,
>  >   and has been outstanding for 3 runs.
>
>  >
>
> >  The following work was performed:
>  >  
> http://vmgump.apache.org/gump/public/apache-commons/commons-collections/gump_work/build_apache-commons_commons-collections.html
>  >  Work Name: build_apache-commons_commons-collections (Type: Build)
>  >  Work ended in a state of : Failed
>  >  Elapsed: 29 secs
>  >  Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
> -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
>  org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
> -Dbuild.sysclasspath=only -Dcomponent.version=16092009 dist
>  >  [Working Directory: /srv/gump/public/workspace/apache-commons/collections]
>  >  CLASSPATH: 
> /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/apache-commons/collections/build/classes:/srv/gump/public/workspace/apache-commons/collections/build/tests:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/junit/dist/junit-16092009.jar:/srv/gump/packages/easymock1.2_Java1.3/easymock.jar
>  >  ---------------------------------------------
>  >     [javac]         assertEquals(2, freq2.get(2));
>  >     [javac]         ^
>  >     [javac] 
> /srv/gump/public/workspace/apache-commons/collections/src/test/org/apache/commons/collections/TestCollectionUtils.java:328:
>  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, freq2.get(4));
>  >     [javac]         ^
>
>
> assertEquals([String,]double,double) is deprecated in favour of
>  assertEquals([String,]double,double,double delta)
>
>  and AFAICS the deprecated methods just call fail, so we need to change
>  the method calls.
>
>  Would it be OK to just add a delta of 0.0?
>  Or maybe the code should use assertSame?

Duh - scrap that - the problem is presumably that the LHS and RHS can
both be cast to a double. I'll change the test to avoid this.

>
>  S///
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to