I forgot to include the following two:

org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager
org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser

Christian

----- Forwarded by Christian Romberg/VERSANT on 30.07.2009 14:13 -----

From:
Christian Romberg/VERSANT
To:
jdo-dev@db.apache.org
Cc:
Christian Ernst <cer...@versant.com>
Date:
30.07.2009 13:27
Subject:
broken tests in TCK testsuite


Hi all,

I hope this is the right list to report broken tests in the TCK testsuite, 
I'm referring to TCK 2.0, ignore my post if these issues are resolved 
meanwhile:

The following tests are broken, because they rely on a no-args ctor 
requirement:

org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionPassword 
org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionURL 
org.apache.jdo.tck.api.persistencemanagerfactory.SetConnectionUserName 
org.apache.jdo.tck.api.persistencemanagerfactory.SetIgnoreCache 
org.apache.jdo.tck.api.persistencemanagerfactory.SetMultithreaded 
org.apache.jdo.tck.api.persistencemanagerfactory.SetNonTransactionalRead 
org.apache.jdo.tck.api.persistencemanagerfactory.SetNonTransactionalWrite  

org.apache.jdo.tck.api.persistencemanagerfactory.SetOptimistic 
org.apache.jdo.tck.api.persistencemanagerfactory.SetRetainValues 

Per specification the instantiation of the vendor implementation of 
javax.jdo.PersistenceManagerFactory is
implementation specific, so Class.newInstance() is not valid.
If there is any JDOHelper.getPersistenceManagerFactory() overload which 
returns a mutable PMF, the tests
can be rewritten using this. Otherwise the tests can not be fixed.

Best regards,

Christian



---
Versant GmbH
European Headquarters

Christian Romberg
Wiesenkamp 22 b
D 22359 Hamburg
---
Versant GmbH is incorporated in Germany. Company registration number: HRB 
54723, Amtsgericht Hamburg.
Registered Office: Wiesenkamp 22b, 22359 Hamburg, Germany. 
Geschäftsführer: Jochen Witte.

Reply via email to