Summary

[summary] [package list] [test cases]

Tests Errors Failures Success rate Time(s)
212 0 0 100.00% 0.99

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

[summary] [package list] [test cases]

PackageTestsErrorsFailuresSuccess RateTime
javax.jdo 71 0 0 100.00% 0.27
javax.jdo.identity 97 0 0 100.00% 0.14
javax.jdo.listener 10 0 0 100.00% 0.01
javax.jdo.schema 3 0 0 100.00% 0.53
javax.jdo.spi 31 0 0 100.00% 0.04

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

javax.jdo

ClassTestsErrorsFailuresSuccess RateTime
Success JDOHelperConfigTest 23 0 0 100.00% 0.171
Success JDOHelperTest 35 0 0 100.00% 0.058
Success ObjectStateTest 13 0 0 100.00% 0.043

javax.jdo.identity

ClassTestsErrorsFailuresSuccess RateTime
Success ByteIdentityTest 11 0 0 100.00% 0.016
Success CharIdentityTest 12 0 0 100.00% 0.017
Success IntIdentityTest 11 0 0 100.00% 0.015
Success LongIdentityTest 11 0 0 100.00% 0.018
Success ObjectIdentityTest 33 0 0 100.00% 0.025
Success ShortIdentityTest 11 0 0 100.00% 0.015
Success SingleFieldIdentityTest 2 0 0 100.00% 0.015
Success StringIdentityTest 6 0 0 100.00% 0.018

javax.jdo.listener

ClassTestsErrorsFailuresSuccess RateTime
Success InstanceLifecycleEventTest 10 0 0 100.00% 0.011

javax.jdo.schema

ClassTestsErrorsFailuresSuccess RateTime
Success XMLTest 3 0 0 100.00% 0.528

javax.jdo.spi

ClassTestsErrorsFailuresSuccess RateTime
Success JDOImplHelperTest 8 0 0 100.00% 0.029
Success StateInterrogationTest 23 0 0 100.00% 0.006

Test Cases

[summary] [package list] [test cases]

JDOHelperConfigTest

Success testPositive00_PMF0_BasicPMFConfigUsingOnlyStandardAttributesAndListeners 0.05
Success testPositive00_PMF1_BasicPMFConfigUsingOnlyPropertyElementsWithStandardJavaxDotJDOProperties 0.01
Success testPositive00_PMF2_NestedPropertyElementsWithOnlyStandardAttributeNames 0.01
Success testPositive00_PMF3_StandardAttributesPlusNonstandardPropertiesInPropertyElements 0.01
Success testPositive00_PMF4_StandardAttributesPlusNonstandardAttributes 0.01
Success testPositive01_DuplicatePUsInDifferentConfigFilesButNotRequested 0.01
Success testPositive02_GetAnonymousPMFWithNoProperties 0.00
Success testPositive03_PMF0_PMFClassNameViaServicesLookup 0.00
Success testPositive04_PMF0_PMFClassNameViaServicesLookup 0.00
Success testPositive05_PMF0_PMFClassNameViaServicesLookup 0.00
Success testPositive06_PMF0_GetAnonymousPMFProperties 0.01
Success testPositive07_PMF0_GetAnonymousPMFPropertiesWithPUName 0.00
Success testNegative00_EmptyJDOConfigXML 0.00
Success testNegative01_NoPersistenceUnitsDefined 0.00
Success testNegative02_DuplicateAnonymousPersistenceUnitsInSameConfig 0.00
Success testNegative03_DuplicateNamedPersistenceUnitsInSameConfig 0.00
Success testNegative04_DuplicatePUNamePropertyInAttributeAndElement 0.00
Success testNegative05_DuplicatePropertyInAttributeAndElement 0.00
Success testNegative06_DuplicatePUInDifferentConfigFiles 0.01
Success testNegative07_EmptyServicesFile 0.00
Success testNegative08_NoResourcesFound 0.00
Success testNegative08_ServicesFileWithOnlyComments 0.00
Success testNegative09_MultipleInvalidClassesInDifferentServicesFiles 0.02

JDOHelperTest

Success testConstructor 0.03
Success testGetInstance 0.00
Success testGetPM 0.00
Success testMakeDirty 0.00
Success testGetObjectId 0.00
Success testGetTransactionObjectId 0.00
Success testIsDirty 0.00
Success testIsTransactional 0.00
Success testIsPersistent 0.00
Success testIsNew 0.00
Success testIsDeleted 0.00
Success testGetPMFNullResource 0.00
Success testGetPMFNullResourceGoodClassLoader 0.00
Success testGetPMFBadResource 0.00
Success testGetPMFBadResourceGoodClassLoader 0.00
Success testGetPMFNullFile 0.00
Success testGetPMFNullFileGoodClassLoader 0.00
Success testGetPMFBadFile 0.00
Success testGetPMFBadFileGoodClassLoader 0.00
Success testGetPMFNullJNDI 0.00
Success testGetPMFNullJNDIGoodClassLoader 0.00
Success testGetPMFBadJNDI 0.00
Success testGetPMFBadJNDIGoodClassLoader 0.00
Success testGetPMFNullStream 0.00
Success testGetPMFNullStreamGoodClassLoader 0.00
Success testGetPMFNullClassLoader 0.00
Success testGetPMFBothNullClassLoader 0.00
Success testGetPMFNoClassNameProperty 0.00
Success testBadPMFClassNotFound 0.00
Success testBadPMFNoGetPMFPropertiesMethod 0.00
Success testBadPMFNoGetPMFMapMethod 0.00
Success testBadPMFNonStaticGetPMFMethod 0.00
Success testBadPMFWrongReturnType 0.00
Success testBadPMFGetPMFMethodThrowsJDOException 0.00
Success testBadPMFGetPMFMethodReturnsNull 0.00

ObjectStateTest

Success testNull 0.03
Success testTransient 0.01
Success testTransientClean 0.00
Success testTransientDirty 0.00
Success testPersistentNew 0.00
Success testPersistentNontransactional 0.00
Success testPersistentNontransactionalDirty 0.00
Success testPersistentClean 0.00
Success testPersistentDirty 0.00
Success testPersistentDeleted 0.00
Success testPersistentNewDeleted 0.00
Success testDetachedClean 0.00
Success testDetachedDirty 0.00

ByteIdentityTest

Success testConstructor 0.01
Success testByteConstructor 0.00
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testIllegalStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObjectPrimitive 0.00
Success testGetKeyAsObject 0.00
Success testBadConstructorNullByteParam 0.00
Success testBadConstructorNullStringParam 0.00
Success testCompareTo 0.00

CharIdentityTest

Success testConstructor 0.01
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObjectPrimitive 0.00
Success testGetKeyAsObject 0.00
Success testBadConstructorNullStringParam 0.00
Success testCompareTo 0.00
Success testCharacterConstructor 0.00
Success testStringConstructorTooLong 0.00
Success testStringConstructorTooShort 0.00
Success testBadConstructorNullCharacterParam 0.00

IntIdentityTest

Success testConstructor 0.01
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testIllegalStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObjectPrimitive 0.00
Success testGetKeyAsObject 0.00
Success testBadConstructorNullStringParam 0.00
Success testCompareTo 0.00
Success testIntegerConstructor 0.00
Success testBadConstructorNullIntegerParam 0.00

LongIdentityTest

Success testConstructor 0.01
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testIllegalStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObjectPrimitive 0.00
Success testGetKeyAsObject 0.00
Success testBadConstructorNullStringParam 0.00
Success testCompareTo 0.00
Success testLongConstructor 0.00
Success testBadConstructorNullShortParam 0.00

ObjectIdentityTest

Success testConstructor 0.00
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testGetKeyAsObject 0.00
Success testIntegerConstructor 0.00
Success testLongConstructor 0.00
Success testDateConstructor 0.00
Success testLocaleConstructor 0.00
Success testCurrencyConstructor 0.00
Success testDateCompareTo 0.00
Success testBadStringConstructorNullClass 0.00
Success testBadStringConstructorNullParam 0.00
Success testBadStringConstructorTooShort 0.00
Success testBadStringConstructorNoDelimiter 0.00
Success testBadStringConstructorBadClassName 0.00
Success testBadStringConstructorNoStringConstructor 0.00
Success testBadStringConstructorNoPublicStringConstructor 0.00
Success testBadStringConstructorIllegalArgument 0.00
Success testStringDateConstructor 0.00
Success testStringDefaultDateConstructor 0.00
Success testBadStringDateConstructor 0.00
Success testStringLocaleConstructorLanguage 0.00
Success testStringLocaleConstructorCountry 0.00
Success testStringLocaleConstructorLanguageCountry 0.00
Success testStringLocaleConstructorLanguageCountryVariant 0.00
Success testStringCurrencyConstructor 0.00
Success testBadStringCurrencyConstructor 0.00
Success testSerializedIdClass 0.00
Success testSerializedBigDecimal 0.00
Success testSerializedCurrency 0.00
Success testSerializedDate 0.00
Success testSerializedLocale 0.00
Success testSerialized 0.00

ShortIdentityTest

Success testConstructor 0.01
Success testToStringConstructor 0.00
Success testStringConstructor 0.00
Success testIllegalStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObjectPrimitive 0.00
Success testGetKeyAsObject 0.00
Success testBadConstructorNullStringParam 0.00
Success testCompareTo 0.00
Success testBadConstructorNullShortParam 0.00
Success testShortConstructor 0.00

SingleFieldIdentityTest

Success testConstructor 0.01
Success testSerialized 0.00

StringIdentityTest

Success testConstructor 0.01
Success testToStringConstructor 0.00
Success testSerialized 0.00
Success testGetKeyAsObject 0.00
Success testCompareTo 0.00
Success testBadConstructorNullParam 0.00

InstanceLifecycleEventTest

Success testConstructorCreateEvent 0.01
Success testConstructorLoadEvent 0.00
Success testConstructorStoreEvent 0.00
Success testConstructorClearEvent 0.00
Success testConstructorDeleteEvent 0.00
Success testConstructorDirtyEvent 0.00
Success testConstructorDetachEvent 0.00
Success testConstructorAttachEvent 0.00
Success testIllegalConstructorTooSmall 0.00
Success testIllegalConstructorTooBig 0.00

XMLTest

Success testXSD 0.03
Success testXSDBased 0.33
Success testDTDBased 0.16

JDOImplHelperTest

Success testGetFieldNames 0.02
Success testGetFieldTypes 0.00
Success testGetFieldFlags 0.00
Success testGetPCSuperclass 0.00
Success testNewInstance 0.00
Success testNewObjectIdInstance 0.00
Success testClassRegistration 0.00
Success testClassListenerRegistration 0.00

StateInterrogationTest

Success testGetObjectId 0.00
Success testGetObjectIdNull 0.00
Success testRemoveStateInterrogation 0.00
Success testGetTransactionalObjectIdNull 0.00
Success testGetTransactionalObjectId 0.00
Success testGetPersistenceManagerNull 0.00
Success testGetPersistenceManager 0.00
Success testGetVersionNull 0.00
Success testGetVersion 0.00
Success testIsDeletedFalse 0.00
Success testIsDeletedMine 0.00
Success testIsDetachedFalse 0.00
Success testIsDetachedMine 0.00
Success testIsDirtyFalse 0.00
Success testIsDirtyMine 0.00
Success testIsNewFalse 0.00
Success testIsNewMine 0.00
Success testIsPersistentFalse 0.00
Success testIsPersistentMine 0.00
Success testIsTransactionalFalse 0.00
Success testIsTransactionalMine 0.00
Success testMakeDirtyFalse 0.00
Success testMakeDirtyMine 0.00