-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: ant eg sorta works, ant junit fail in foobar test
PostPosted: Tue Feb 24, 2004 7:39 pm 
Newbie

Joined: Mon Feb 23, 2004 9:22 pm
Posts: 3
hi, trying to run the junit tests on mysql 4.0.19-0 on fedora. ant eg runs fine except for the complaint about the clover tasks (do i need this at this point?). ant junit says:

[taskdef] Could not load definitions from resource clovertasks. It could not be found.

cleantestdb:

splash:

init:
[echo] Build Hibernate-2.1 (2004-02-24 02:00:15)
[mkdir] Created dir: /Z/Users/ray/java/unpacked/hibernate-2.1/build
[copy] Copying 9 files to /Z/Users/ray/java/unpacked/hibernate-2.1/build

compile:
[javac] Compiling 463 source files to /Z/Users/ray/java/unpacked/hibernate-2.1/build

compiletest:
[javac] Compiling 107 source files to /Z/Users/ray/java/unpacked/hibernate-2.1/build

junit:
[mkdir] Created dir: /Z/Users/ray/java/unpacked/hibernate-2.1/testout
[junit] Running org.hibernate.test.ABCProxyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.703 sec
[junit] Running org.hibernate.test.ABCTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.486 sec
[junit] Running org.hibernate.test.CacheTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.357 sec
[junit] Running org.hibernate.test.FooBarTest
[junit] Tests run: 99, Failures: 11, Errors: 2, Time elapsed: 76.756 sec
[junit] TEST org.hibernate.test.FooBarTest FAILED
[junit] Running org.hibernate.test.FumTest
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 22.206 sec
[junit] Running org.hibernate.test.MasterDetailTest
[junit] Tests run: 27, Failures: 0, Errors: 7, Time elapsed: 26.567 sec
[junit] TEST org.hibernate.test.MasterDetailTest FAILED
[junit] Running org.hibernate.test.MultiTableTest
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 7.554 sec
[junit] Running org.hibernate.test.ODMGTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 19.943 sec
[junit] Running org.hibernate.test.ParentChildTest
[junit] Tests run: 16, Failures: 0, Errors: 0, Time elapsed: 22.649 sec
[junit] Running org.hibernate.test.QueryByExampleTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.328 sec
[junit] Running org.hibernate.test.SQLFunctionsTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 5.201 sec
[junit] Running org.hibernate.test.SQLLoaderTest
[junit] Tests run: 12, Failures: 0, Errors: 5, Time elapsed: 11.931 sec
[junit] TEST org.hibernate.test.SQLLoaderTest FAILED

BUILD SUCCESSFUL
Total time: 5 minutes 4 seconds

i have heard that there are some issues with case sensitive table names on linux, so that may be part of the problem. the first thing that goes wrong in the foobar test case xml is:

<testcase name="testPersistCollections" time="1.666">
<error message="could not deserialize" type="net.sf.hibernate.type.SerializationException">net.sf.hibernate.type.SerializationException: could not deserialize
at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:194)
at net.sf.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:220)
at org.hibernate.test.FooBarTest.testPersistCollections(FooBarTest.java:2429)
...
</error>
</testcase>
<testcase name="testSaveFlush" time="16.086"></testcase>
<testcase name="testCreateUpdate" time="0.066">
<failure message="create-update" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: create-update
at org.hibernate.test.FooBarTest.testCreateUpdate(FooBarTest.java:2468)
at org.hibernate.test.TestCase.runTest(TestCase.java:82)
</failure>

i tried to post more complete logs, but this web ui seems to croak. is there a real mailing list or newsgroup for hibernate users?

any pointers will be appreciated.

thanks


Top
 Profile  
 
 Post subject: Re: ant eg sorta works, ant junit fail in foobar test
PostPosted: Wed Feb 25, 2004 7:05 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
rtayekfg wrote:
i tried to post more complete logs, but this web ui seems to croak. is there a real mailing list or newsgroup for hibernate users?

Post you materials to JIRA please.

There is no newsgroups or user mailing list. We're fine with this forum.[/quote]

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Re: ant eg sorta works, ant junit fail in foobar test
PostPosted: Wed Feb 25, 2004 10:06 pm 
Newbie

Joined: Mon Feb 23, 2004 9:22 pm
Posts: 3
emmanuel wrote:
rtayekfg wrote:
i tried to post more complete logs, but this web ui seems to croak. is there a real mailing list or newsgroup for hibernate users?

Post you materials to JIRA please.

will do.

thanks

There is no newsgroups or user mailing list. We're fine with this forum.
[/quote]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.