JPOX
JPOX
 JPOX Version 1.0
Configuration | Tutorials | Worked Examples | Developer
JPOX Design
JPOX Tests
Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
1771198.87%80.17

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.jpox 381194.74%46.53
org.jpox.sco 13900100.00%33.64

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.jpox
ClassTestsErrorsFailuresSuccess RateTime
Success DatastoreIdTest 1000100.00%22.550
Success OptimisticTest 200100.00%0.524
Failure RelationshipTest 30166.67%4.120
Success ArrayTest 100100.00%0.339
Success PrimitiveCollectionTest 100100.00%0.925
Success InterfaceFCOTest 600100.00%1.367
Success ExtentTest 200100.00%0.484
Error BasicQueryTest 101090.00%10.200
Success InterfaceQueryTest 200100.00%0.550
Success FinishScenarioTest 100100.00%5.471
org.jpox.sco
ClassTestsErrorsFailuresSuccess RateTime
Success HashMapTest 1300100.00%3.464
Success CollectionTest 1000100.00%2.063
Success VectorTest 1400100.00%2.867
Success SetTest 1000100.00%2.693
Success LinkedListTest 1400100.00%2.358
Success MapTest 1300100.00%5.791
Success ListTest 1400100.00%3.182
Success ArrayListTest 1400100.00%3.302
Success HashtableTest 1300100.00%3.271
Success StackTest 1400100.00%2.375
Success HashSetTest 1000100.00%2.274
Test Cases

[ summary] [ package list] [ test cases]

DatastoreIdTest
Success testStringWidgets4.11
Success testDateWidgets0.89
Success testDecimalWidgets0.51
Success testFloatWidgets0.61
Success testSetWidgets10.83
Success testHashSetWidgets4.27
Success testClassUsingSQLKeywords0.41
Success testClassWithLongName0.43
Success testAutoincrement0.40
Success testOracleSequence0.04
HashMapTest
Success testNormalPutItems1.68
Success testNormalRemoveItem0.17
Success testNormalEntrySetItem0.16
Success testNormalClearIsEmpty0.13
Success testNormalInheritance0.14
Success testNormalQueries0.15
Success testNormalQueriesPrimitive0.12
Success testInversePutItems0.18
Success testInverseRemoveItem0.15
Success testInverseEntrySetItem0.13
Success testInverseClearIsEmpty0.19
Success testInverseInheritance0.11
Success testInverseQueries0.12
CollectionTest
Success testNormalAddCollection1.22
Success testNormalRemoveCollection0.09
Success testNormalClearIsEmpty0.06
Success testNormalInheritance0.07
Success testNormalQuery0.14
Success testInverseAddCollection0.09
Success testInverseRemoveCollection0.07
Success testInverseClearIsEmpty0.08
Success testInverseInheritance0.13
Success testInverseQuery0.10
VectorTest
Success testNormalAddCollection1.59
Success testNormalRemoveCollection0.12
Success testNormalRemoveItem0.10
Success testNormalGetItem0.07
Success testNormalClearIsEmpty0.14
Success testNormalInheritance0.08
Success testNormalQuery0.16
Success testInverseAddCollection0.10
Success testInverseRemoveCollection0.13
Success testInverseRemoveItem0.08
Success testInverseGetItem0.06
Success testInverseClearIsEmpty0.06
Success testInverseInheritance0.08
Success testInverseQuery0.08
SetTest
Success testNormalAddCollection1.49
Success testNormalRemoveCollection0.13
Success testNormalClearIsEmpty0.07
Success testNormalInheritance0.08
Success testNormalQuery0.14
Success testInverseAddCollection0.08
Success testInverseRemoveCollection0.07
Success testInverseClearIsEmpty0.09
Success testInverseInheritance0.42
Success testInverseQuery0.11
LinkedListTest
Success testNormalAddCollection1.27
Success testNormalRemoveCollection0.11
Success testNormalRemoveItem0.08
Success testNormalGetItem0.07
Success testNormalClearIsEmpty0.07
Success testNormalInheritance0.07
Success testNormalQuery0.13
Success testInverseAddCollection0.10
Success testInverseRemoveCollection0.08
Success testInverseRemoveItem0.09
Success testInverseGetItem0.06
Success testInverseClearIsEmpty0.06
Success testInverseInheritance0.07
Success testInverseQuery0.08
MapTest
Success testNormalPutItems3.48
Success testNormalRemoveItem0.19
Success testNormalEntrySet0.21
Success testNormalClearIsEmpty0.14
Success testNormalInheritance0.16
Success testNormalQueries0.20
Success testNormalQueriesPrimitive0.11
Success testInversePutItems0.20
Success testInverseRemoveItem0.20
Success testInverseEntrySet0.16
Success testInverseClearIsEmpty0.13
Success testInverseInheritance0.47
Success testInverseQueries0.14
ListTest
Success testNormalAddCollection1.34
Success testNormalRemovalCollection0.11
Success testNormalRemoveItem0.09
Success testNormalGetItem0.07
Success testNormalClearIsEmpty0.08
Success testNormalInheritance0.17
Success testNormalQuery0.11
Success testInverseAddCollection0.24
Success testInverseRemovalCollection0.60
Success testInverseRemoveItem0.07
Success testInverseGetItem0.06
Success testInverseClearIsEmpty0.06
Success testInverseInheritance0.08
Success testInverseQuery0.09
ArrayListTest
Success testNormalAddCollection2.05
Success testNormalRemoveCollection0.11
Success testNormalRemoveAt0.09
Success testNormalGetItem0.06
Success testNormalClearIsEmpty0.07
Success testNormalInheritance0.07
Success testNormalQuery0.12
Success testInverseAddCollection0.11
Success testInverseRemoveCollection0.15
Success testInverseRemoveAt0.08
Success testInverseGetItem0.07
Success testInverseClearIsEmpty0.06
Success testInverseInheritance0.07
Success testInverseQuery0.07
HashtableTest
Success testNormalPutItems1.73
Success testNormalRemoveItem0.16
Success testNormalEntrySetItem0.14
Success testNormalClearIsEmpty0.13
Success testNormalInheritance0.13
Success testNormalQueries0.15
Success testNormalQueriesPrimitive0.07
Success testInversePutItems0.16
Success testInverseRemoveItem0.14
Success testInverseEntrySetItem0.11
Success testInverseClearIsEmpty0.12
Success testInverseInheritance0.11
Success testInverseQueries0.11
StackTest
Success testNormalAddCollection1.33
Success testNormalRemoveCollection0.11
Success testNormalRemoveItem0.09
Success testNormalGetItem0.06
Success testNormalClearIsEmpty0.07
Success testNormalInheritance0.06
Success testNormalQuery0.12
Success testInverseAddCollection0.08
Success testInverseRemoveCollection0.12
Success testInverseRemoveItem0.06
Success testInverseGetItem0.06
Success testInverseClearIsEmpty0.06
Success testInverseInheritance0.07
Success testInverseQuery0.06
HashSetTest
Success testNormalAddCollection1.46
Success testNormalRemoveCollection0.09
Success testNormalClearIsEmpty0.07
Success testNormalInheritance0.07
Success testNormalQuery0.12
Success testInverseAddCollection0.08
Success testInverseRemoveCollection0.08
Success testInverseClearIsEmpty0.08
Success testInverseInheritance0.11
Success testInverseQuery0.09
OptimisticTest
Success testCreationUpdateVersionColumns0.46
Success testConflictTransactions0.04
RelationshipTest
Success test1to1Unidirectional3.45
Failure test1to1Bidirectional0.43
Exception thrown while creating 1-1 bidirectional relationship data : Insert request failed: INSERT INTO USERDETAILS (USERDETAILS_ID,FORENAME,SURNAME,USER_USER_ID_OID) VALUES (?,?,?,?)
Success testMtoN0.22
ArrayTest
Success testEmbeddedByteArray0.32
PrimitiveCollectionTest
Success testPersistence0.91
InterfaceFCOTest
Success testCreation1.04
Success testReadAllShapeHolders0.06
Success testChangeImplementation0.07
Success testNullValues0.02
Success testInsertThenDelete0.02
Success testRepeatedImplementationClass0.14
ExtentTest
Success testInheritance0.42
Success testCloseAll0.05
BasicQueryTest
Success testQueryOnWidgets2.36
Success testQueryOnStringWidgets0.36
Success testQueryOnDateWidgets0.37
Success testQueryOnFloatWidgets0.23
Success testQueryOnSetWidgets3.41
Success testQueryOnHashSetWidgets2.49
Success testQueryOnInterfaceFields0.41
Error testQueryOnObjectFields0.20
Need to implement a ScalarExpression for Objects stored in Serialized form
Success testQueryOnClassUsingSQLKeywords0.16
Success testQueryOnClassWithLongName0.18
InterfaceQueryTest
Success testQueryOnInterfaceFields0.39
Success testQueryOnInterfaceFieldsBooleanOps0.15
FinishScenarioTest
Success testStartScenario5.46
Failure details
Failure test1to1Bidirectional
Exception thrown while creating 1-1 bidirectional relationship data : Insert request failed: INSERT INTO USERDETAILS (USERDETAILS_ID,FORENAME,SURNAME,USER_USER_ID_OID) VALUES (?,?,?,?)
junit.framework.AssertionFailedError: Exception thrown while creating 1-1 bidirectional relationship data : Insert request failed: INSERT INTO USERDETAILS (USERDETAILS_ID,FORENAME,SURNAME,USER_USER_ID_OID) VALUES (?,?,?,?) at org.jpox.RelationshipTest.test1to1Bidirectional(RelationshipTest.java:140)
Error testQueryOnObjectFields
Need to implement a ScalarExpression for Objects stored in Serialized form
javax.jdo.JDOFatalInternalException: Need to implement a ScalarExpression for Objects stored in Serialized form at org.jpox.store.mapping.ObjectMapping.newScalarExpression(ObjectMapping.java:134) at org.jpox.store.mapping.Mapping.newScalarExpression(Mapping.java:164) at org.jpox.store.mapping.ColumnMapping.newScalarExpression(ColumnMapping.java:65) at org.jpox.store.expression.TableExpression.newFieldExpression(TableExpression.java:99) at org.jpox.store.query.JDOQLQuery$Compiler.compileIdentifier(JDOQLQuery.java:906) at org.jpox.store.query.JDOQLQuery$Compiler.compilePrimary(JDOQLQuery.java:741) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlusMinus(JDOQLQuery.java:691) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQuery.java:671) at org.jpox.store.query.JDOQLQuery$Compiler.compileCastExpression(JDOQLQuery.java:707) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlusMinus(JDOQLQuery.java:689) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQuery.java:671) at org.jpox.store.query.JDOQLQuery$Compiler.compileMultiplicativeExpression(JDOQLQuery.java:623) at org.jpox.store.query.JDOQLQuery$Compiler.compileAdditiveExpression(JDOQLQuery.java:599) at org.jpox.store.query.JDOQLQuery$Compiler.compileRelationalExpression(JDOQLQuery.java:568) at org.jpox.store.query.JDOQLQuery$Compiler.compileEqualityExpression(JDOQLQuery.java:545) at org.jpox.store.query.JDOQLQuery$Compiler.compileAndExpression(JDOQLQuery.java:533) at org.jpox.store.query.JDOQLQuery$Compiler.compileExclusiveOrExpression(JDOQLQuery.java:521) at org.jpox.store.query.JDOQLQuery$Compiler.compileInclusiveOrExpression(JDOQLQuery.java:509) at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalAndExpression(JDOQLQuery.java:497) at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalOrExpression(JDOQLQuery.java:481) at org.jpox.store.query.JDOQLQuery$Compiler.compileExpression(JDOQLQuery.java:458) at org.jpox.store.query.JDOQLQuery$Compiler.compilePrimary(JDOQLQuery.java:728) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpressionNotPlusMinus(JDOQLQuery.java:691) at org.jpox.store.query.JDOQLQuery$Compiler.compileUnaryExpression(JDOQLQuery.java:671) at org.jpox.store.query.JDOQLQuery$Compiler.compileMultiplicativeExpression(JDOQLQuery.java:623) at org.jpox.store.query.JDOQLQuery$Compiler.compileAdditiveExpression(JDOQLQuery.java:599) at org.jpox.store.query.JDOQLQuery$Compiler.compileRelationalExpression(JDOQLQuery.java:568) at org.jpox.store.query.JDOQLQuery$Compiler.compileEqualityExpression(JDOQLQuery.java:545) at org.jpox.store.query.JDOQLQuery$Compiler.compileAndExpression(JDOQLQuery.java:533) at org.jpox.store.query.JDOQLQuery$Compiler.compileExclusiveOrExpression(JDOQLQuery.java:521) at org.jpox.store.query.JDOQLQuery$Compiler.compileInclusiveOrExpression(JDOQLQuery.java:509) at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalAndExpression(JDOQLQuery.java:497) at org.jpox.store.query.JDOQLQuery$Compiler.compileConditionalOrExpression(JDOQLQuery.java:481) at org.jpox.store.query.JDOQLQuery$Compiler.compileExpression(JDOQLQuery.java:458) at org.jpox.store.query.JDOQLQuery$Compiler.preCompile(JDOQLQuery.java:358) at org.jpox.store.query.JDOQLQuery.compile(JDOQLQuery.java:194) at org.jpox.store.query.Query.executeWithArray(Query.java:626) at org.jpox.store.query.Query.execute(Query.java:581) at org.jpox.BasicQueryTest.queryOwnerWidgetObjects(BasicQueryTest.java:1823) at org.jpox.BasicQueryTest.testQueryOnObjectFields(BasicQueryTest.java:200)