1/ creation of an object : OperatingSystem.java
2/ defined it in hibernate.cfg.xml
3/ mvn appfuse:gen -Dentity=OperatingSystem
4/ mvn appfuse:install -Dentity=OperatingSystem
and run the OperatingSystemDaoTest
=>
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.mycompany.espaceclient.dao.OperatingSystemDaoTest
AbandonedObjectPool is used
([EMAIL PROTECTED])
   LogAbandoned: false
   RemoveAbandoned: true
   RemoveAbandonedTimeout: 60
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.969 sec
<<< FAILURE!

Results :

Tests in error:
 
testAddAndRemoveOperatingSystem(com.mycompany.espaceclient.dao.OperatingSystemDaoTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Mon Jun 25 18:20:23 CEST 2007
[INFO] Final Memory: 14M/26M
[INFO]
------------------------------------------------------------------------ 
-- 
View this message in context: 
http://www.nabble.com/DaoTest-failed-after-generation-of-a-new-object-tf3981582s2369.html#a11303151
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to