db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <craig.russ...@oracle.com>
Subject Test case failure on GetProperties
Date Fri, 29 Mar 2013 16:19:22 GMT
RUN GetProperties.testGetSupportedProperties	supportedOptions  
returned: javax.jdo.option.DatastoreIdentity
supportedOptions returned:  
javax.jdo.option.mapping.JoinedTablePerConcreteClass
supportedOptions returned: javax.jdo.option.mapping.JoinedTablePerClass
supportedOptions returned: javax.jdo.option.LinkedList
supportedOptions returned: javax.jdo.option.Stack
supportedOptions returned:  
javax.jdo.option.TransactionIsolationLevel.serializable
supportedOptions returned:  
javax.jdo.option.mapping.HeterogeneousInterfaceType
supportedOptions returned: javax.jdo.option.SortedMap
supportedOptions returned: javax.jdo.option.DatastoreTimeout
supportedOptions returned: javax.jdo.query.SQL
supportedOptions returned: javax.jdo.option.QueryCancel
supportedOptions returned:  
javax.jdo.option.TransactionIsolationLevel.read-uncommitted
supportedOptions returned: javax.jdo.option.HashMap
supportedOptions returned: javax.jdo.option.RetainValues
supportedOptions returned: javax.jdo.option.Vector
supportedOptions returned: javax.jdo.option.ApplicationIdentity
supportedOptions returned: javax.jdo.option.NontransactionalWrite
supportedOptions returned:  
javax.jdo.option.TransactionIsolationLevel.read-committed
supportedOptions returned:  
javax.jdo.option.TransactionIsolationLevel.repeatable-read
supportedOptions returned: javax.jdo.option.version.DateTime
supportedOptions returned: javax.jdo.option.List
supportedOptions returned: javax.jdo.option.NullCollection
supportedOptions returned: javax.jdo.option.Map
supportedOptions returned: javax.jdo.option.Array
supportedOptions returned: javax.jdo.query.JDOQL
supportedOptions returned: javax.jdo.option.Hashtable
supportedOptions returned: javax.jdo.option.NonDurableIdentity
supportedOptions returned: javax.jdo.option.Optimistic
supportedOptions returned: javax.jdo.option.BinaryCompatibility
supportedOptions returned: javax.jdo.option.SortedSet
supportedOptions returned: javax.jdo.option.GetDataStoreConnection
supportedOptions returned: javax.jdo.option.GetJDBCConnection
supportedOptions returned: javax.jdo.option.NontransactionalRead
supportedOptions returned: javax.jdo.option.TreeMap
supportedOptions returned: javax.jdo.option.UnconstrainedQueryVariables
supportedOptions returned:  
javax.jdo.option.mapping.HeterogeneousObjectType
supportedOptions returned: javax.jdo.option.PreDirtyEvent
supportedOptions returned:  
javax.jdo.option.mapping.NonJoinedTablePerConcreteClass
supportedOptions returned: javax.jdo.option.ArrayList
supportedOptions returned: javax.jdo.option.TreeSet
supportedOptions returned: javax.jdo.option.TransientTransactional
supportedProperties returned: datanucleus.DetachOnClose
supportedProperties returned: datanucleus.DetachAllOnCommit
supportedProperties returned: datanucleus.detachAsWrapped
supportedProperties returned: datanucleus.allowCallbacks
supportedProperties returned: datanucleus.Multithreaded
supportedProperties returned: datanucleus.DetachAllOnRollback
supportedProperties returned: datanucleus.flush.mode
supportedProperties returned: javax.jdo.option.CopyOnAttach
supportedProperties returned: javax.jdo.option.DetachAllOnCommit
supportedProperties returned:  
datanucleus.store.allowReferencesWithNoImplementations
supportedProperties returned: datanucleus.manageRelationships
supportedProperties returned:  
datanucleus.persistenceByReachabilityAtCommit
supportedProperties returned: javax.jdo.option.Multithreaded
supportedProperties returned:  
javax.jdo.option.DatastoreWriteTimeoutMillis
supportedProperties returned: datanucleus.manageRelationshipsChecks
supportedProperties returned:  
javax.jdo.option.DatastoreReadTimeoutMillis
supportedProperties returned: datanucleus.datastoreWriteTimeout
supportedProperties returned: datanucleus.maxFetchDepth
supportedProperties returned: datanucleus.CopyOnAttach
supportedProperties returned: datanucleus.allowAttachOfTransient
supportedProperties returned: datanucleus.IgnoreCache
supportedProperties returned: datanucleus.SerializeRead
supportedProperties returned: javax.jdo.option.IgnoreCache
supportedProperties returned: datanucleus.findObject.validateWhenCached
supportedProperties returned: datanucleus.datastoreReadTimeout
getProperties returned: datanucleus.ignorecache: false
getProperties returned:  
datanucleus.store.allowreferenceswithnoimplementations: false
getProperties returned: javax.persistence.lock.timeout: 0
getProperties returned: datanucleus.detachalloncommit: false
getProperties returned: datanucleus.persistencebyreachabilityatcommit:  
true
getProperties returned: datanucleus.multithreaded: false
getProperties returned: datanucleus.datastorereadtimeout: 0
getProperties returned: datanucleus.detachallonrollback: false
getProperties returned: datanucleus.maxfetchdepth: 1
getProperties returned: datanucleus.detachaswrapped: false
getProperties returned: datanucleus.copyonattach: false
getProperties returned: datanucleus.datastorewritetimeout: 0
getProperties returned: datanucleus.managerelationshipschecks: true
getProperties returned: datanucleus.findobject.validatewhencached: true
getProperties returned: javax.persistence.query.timeout: 0
getProperties returned: datanucleus.flush.mode: null
getProperties returned: datanucleus.allowattachoftransient: false
getProperties returned: datanucleus.allowcallbacks: true
getProperties returned: datanucleus.serializeread: false
getProperties returned: datanucleus.detachonclose: false
getProperties returned: datanucleus.managerelationships: true
testing javax.jdo.option.DatastoreTimeout
testing javax.jdo.option.DatastoreTimeout
    FAILURE
Description: null
Time: 006
There was 1 failure:
1)  
testGetSupportedProperties 
(org 
.apache 
.jdo 
.tck 
.api 
.persistencemanager.GetProperties)junit.framework.AssertionFailedError:
after pm.setProperty(javax.jdo.option.DetachAllOnCommit, true), getXXX  
for javax.jdo.option.DetachAllOnCommit failed. expected: true; actual:  
false
after pm.setXXX(),  
getProperties.get(javax.jdo.option.DetachAllOnCommit) failed.  
expected: false; actual: null
getProperties().get(javax.jdo.option.Optimistic) failed. unexpected:  
null
after pm.setProperty(javax.jdo.option.Optimistic, true),  
getProperties().get(javax.jdo.option.Optimistic) failed. expected:  
true; actual: null
after pm.setProperty(javax.jdo.option.Optimistic, false),  
getProperties().get(javax.jdo.option.Optimistic) failed. expected:  
false; actual: null
getProperties().get(javax.jdo.option.RetainValues) failed. unexpected:  
null
after pm.setProperty(javax.jdo.option.RetainValues, true),  
getProperties().get(javax.jdo.option.RetainValues) failed. expected:  
true; actual: null
after pm.setProperty(javax.jdo.option.RetainValues, false),  
getProperties().get(javax.jdo.option.RetainValues) failed. expected:  
false; actual: null
after pm.setProperty(javax.jdo.option.IgnoreCache, true), getXXX for  
javax.jdo.option.IgnoreCache failed. expected: true; actual: false
after pm.setXXX(), getProperties.get(javax.jdo.option.IgnoreCache)  
failed. expected: false; actual: null
getProperties().get(javax.jdo.option.NontransactionalWrite) failed.  
unexpected: null
after pm.setProperty(javax.jdo.option.NontransactionalWrite, true),  
getProperties().get(javax.jdo.option.NontransactionalWrite) failed.  
expected: true; actual: null
after pm.setProperty(javax.jdo.option.NontransactionalWrite, false),  
getProperties().get(javax.jdo.option.NontransactionalWrite) failed.  
expected: false; actual: null
after pm.setXXX(), getProperties.get(javax.jdo.option.CopyOnAttach)  
failed. expected: false; actual: null
getProperties().get(javax.jdo.option.NontransactionalRead) failed.  
unexpected: null
after pm.setProperty(javax.jdo.option.NontransactionalRead, true),  
getProperties().get(javax.jdo.option.NontransactionalRead) failed.  
expected: true; actual: null
after pm.setProperty(javax.jdo.option.NontransactionalRead, false),  
getProperties().get(javax.jdo.option.NontransactionalRead) failed.  
expected: false; actual: null
getProperties().get(javax.jdo.option.RestoreValues) failed.  
unexpected: null
after pm.setProperty(javax.jdo.option.RestoreValues, true),  
getProperties().get(javax.jdo.option.RestoreValues) failed. expected:  
true; actual: null
after pm.setProperty(javax.jdo.option.RestoreValues, false),  
getProperties().get(javax.jdo.option.RestoreValues) failed. expected:  
false; actual: null
after pm.setProperty(javax.jdo.option.DatastoreReadTimeoutMillis, 20),  
getXXX for javax.jdo.option.DatastoreReadTimeoutMillis failed.  
expected: 20; actual: 0
after pm.setXXX(),  
getProperties.get(javax.jdo.option.DatastoreReadTimeoutMillis) failed.  
expected: 40; actual: null
after pm.setProperty(javax.jdo.option.DatastoreWriteTimeoutMillis,  
60), getXXX for javax.jdo.option.DatastoreWriteTimeoutMillis failed.  
expected: 60; actual: 0
after pm.setXXX(),  
getProperties.get(javax.jdo.option.DatastoreWriteTimeoutMillis)  
failed. expected: 80; actual: null

	at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1239)
	at  
org 
.apache 
.jdo 
.tck 
.api 
.persistencemanager 
.GetProperties.testGetSupportedProperties(GetProperties.java:261)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:284)
	at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java: 
108)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java: 
148)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java: 
123)
FAILURES!!!
dsid-clr-junit.txt:

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!


Mime
View raw message