hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: test failed
Date Mon, 27 Sep 2004 11:57:13 GMT
Please add a bug ... this is a bug in the test, not in the code being tested.


On Mon, 27 Sep 2004 10:44:43 +0200, Christian Mühlethaler
<chmuehlethaler@freesurf.ch> wrote:
> Hi,
> 
> The test suite fails when I run the ant script in hivemind 1.0:
> 
>      [junit] Testcase:
> testEqualsAndHashCode(hivemind.test.services.TestMethodSignature):
>    FAILED
>      [junit] expected:<-1699577004> but was:<-1142027522>
>      [junit] junit.framework.AssertionFailedError:
> expected:<-1699577004> but was:<-1142027522>
>      [junit]     at
> hivemind.test.services.TestMethodSignature.testEqualsAndHashCode(TestMet
> hodSignature.java:52)
>      [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [junit]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>      [junit]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> 
> I'm using mac os x with java 1.4.2 and ant 1.6.2
> Can I ignore this test?
> When I comment out the test suite (in the ant script of
> hivemind1.0/framework the ant ends successfully the script, however, I
> cannot run the examples, propably because it can't find the hivemind
> jar:
> 
> > boskoop:~/Dokumente/Programmieren/hivemind/hivemind-1.0/examples
> > chrigu$ ant run-calculator
> > Buildfile: build.xml
> >
> > run-calculator:
> >      [java] java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> >      [java]     at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:
> > 172)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
> >      [java]     at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> >      [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >      [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >      [java]     at
> > org.apache.tools.ant.Target.performTasks(Target.java:369)
> >      [java]     at
> > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> >      [java]     at
> > org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> >      [java]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
> >      [java]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
> >      [java]     at
> > org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> >      [java]     at
> > org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> >      [java] Caused by: java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> >      [java]     at
> > org.apache.hivemind.examples.CalculatorMain.main(CalculatorMain.java:
> > 32)
> >      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [java]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> > va:39)
> >      [java]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > rImpl.java:25)
> >      [java]     at java.lang.reflect.Method.invoke(Method.java:324)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:
> > 130)
> >      [java]     ... 13 more
> >      [java] --- Nested Exception ---
> >      [java] java.lang.NoClassDefFoundError:
> > org/apache/hivemind/ClassResolver
> >      [java]     at
> > org.apache.hivemind.examples.CalculatorMain.main(CalculatorMain.java:
> > 32)
> >      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [java]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> > va:39)
> >      [java]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > rImpl.java:25)
> >      [java]     at java.lang.reflect.Method.invoke(Method.java:324)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:193)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:
> > 130)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
> >      [java]     at
> > org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
> >      [java]     at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> >      [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >      [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >      [java]     at
> > org.apache.tools.ant.Target.performTasks(Target.java:369)
> >      [java]     at
> > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
> >      [java]     at
> > org.apache.tools.ant.Project.executeTargets(Project.java:1062)
> >      [java]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
> >      [java]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
> >      [java]     at
> > org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
> >      [java]     at
> > org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> >
> > BUILD SUCCESSFUL
> >
> 
> any  suggestions?
> thank you,
> 
> Christian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> 
> 



-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message