Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
19700100.00%11.02

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
javax.jdo.identity 9700100.00%0.33
javax.jdo 5600100.00%9.64
javax.jdo.listener 1000100.00%0.03
javax.jdo.schema 300100.00%0.94
javax.jdo.spi 3100100.00%0.08

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

javax.jdo.identity

ClassTestsErrorsFailuresSuccess RateTime
Success ByteIdentityTest 1100100.00%0.047
Success CharIdentityTest 1200100.00%0.047
Success IntIdentityTest 1100100.00%0.047
Success LongIdentityTest 1100100.00%0.046
Success ObjectIdentityTest 3300100.00%0.047
Success ShortIdentityTest 1100100.00%0.031
Success SingleFieldIdentityTest 200100.00%0.031
Success StringIdentityTest 600100.00%0.031

javax.jdo

ClassTestsErrorsFailuresSuccess RateTime
Success JDOHelperConfigTest 2200100.00%9.500
Success JDOHelperTest 3400100.00%0.141

javax.jdo.listener

ClassTestsErrorsFailuresSuccess RateTime
Success InstanceLifecycleEventTest 1000100.00%0.032

javax.jdo.schema

ClassTestsErrorsFailuresSuccess RateTime
Success XMLTest 300100.00%0.937

javax.jdo.spi

ClassTestsErrorsFailuresSuccess RateTime
Success JDOImplHelperTest 800100.00%0.063
Success StateInterrogationTest 2300100.00%0.016

Test Cases

[ summary] [ package list] [ test cases]

ByteIdentityTest

Success testConstructor0.03
Success testByteConstructor0.00
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testIllegalStringConstructor0.00
Success testSerialized0.00
Success testGetKeyAsObjectPrimitive0.00
Success testGetKeyAsObject0.00
Success testBadConstructorNullByteParam0.00
Success testBadConstructorNullStringParam0.00
Success testCompareTo0.02

CharIdentityTest

Success testConstructor0.02
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testSerialized0.02
Success testGetKeyAsObjectPrimitive0.00
Success testGetKeyAsObject0.00
Success testBadConstructorNullStringParam0.00
Success testCompareTo0.00
Success testCharacterConstructor0.00
Success testStringConstructorTooLong0.00
Success testStringConstructorTooShort0.00
Success testBadConstructorNullCharacterParam0.00

IntIdentityTest

Success testConstructor0.05
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testIllegalStringConstructor0.00
Success testSerialized0.00
Success testGetKeyAsObjectPrimitive0.00
Success testGetKeyAsObject0.00
Success testBadConstructorNullStringParam0.00
Success testCompareTo0.00
Success testIntegerConstructor0.00
Success testBadConstructorNullIntegerParam0.00

LongIdentityTest

Success testConstructor0.03
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testIllegalStringConstructor0.00
Success testSerialized0.00
Success testGetKeyAsObjectPrimitive0.00
Success testGetKeyAsObject0.00
Success testBadConstructorNullStringParam0.00
Success testCompareTo0.00
Success testLongConstructor0.00
Success testBadConstructorNullShortParam0.00

ObjectIdentityTest

Success testConstructor0.00
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testGetKeyAsObject0.00
Success testIntegerConstructor0.00
Success testLongConstructor0.00
Success testDateConstructor0.00
Success testLocaleConstructor0.00
Success testCurrencyConstructor0.00
Success testDateCompareTo0.00
Success testBadStringConstructorNullClass0.00
Success testBadStringConstructorNullParam0.00
Success testBadStringConstructorTooShort0.00
Success testBadStringConstructorNoDelimiter0.00
Success testBadStringConstructorBadClassName0.00
Success testBadStringConstructorNoStringConstructor0.00
Success testBadStringConstructorNoPublicStringConstructor0.02
Success testBadStringConstructorIllegalArgument0.00
Success testStringDateConstructor0.00
Success testStringDefaultDateConstructor0.00
Success testBadStringDateConstructor0.00
Success testStringLocaleConstructorLanguage0.00
Success testStringLocaleConstructorCountry0.00
Success testStringLocaleConstructorLanguageCountry0.00
Success testStringLocaleConstructorLanguageCountryVariant0.00
Success testStringCurrencyConstructor0.00
Success testBadStringCurrencyConstructor0.00
Success testSerializedIdClass0.02
Success testSerializedBigDecimal0.00
Success testSerializedCurrency0.00
Success testSerializedDate0.00
Success testSerializedLocale0.00
Success testSerialized0.00

ShortIdentityTest

Success testConstructor0.03
Success testToStringConstructor0.00
Success testStringConstructor0.00
Success testIllegalStringConstructor0.00
Success testSerialized0.00
Success testGetKeyAsObjectPrimitive0.00
Success testGetKeyAsObject0.00
Success testBadConstructorNullStringParam0.00
Success testCompareTo0.00
Success testBadConstructorNullShortParam0.00
Success testShortConstructor0.00

SingleFieldIdentityTest

Success testConstructor0.03
Success testSerialized0.00

StringIdentityTest

Success testConstructor0.03
Success testToStringConstructor0.00
Success testSerialized0.00
Success testGetKeyAsObject0.00
Success testCompareTo0.00
Success testBadConstructorNullParam0.00

JDOHelperConfigTest

Success testPositive00_PMF0_BasicPMFConfigUsingOnlyStandardAttributesAndListeners9.11
Success testPositive00_PMF1_BasicPMFConfigUsingOnlyPropertyElementsWithStandardJavaxDotJDOProperties0.02
Success testPositive00_PMF2_NestedPropertyElementsWithOnlyStandardAttributeNames0.02
Success testPositive00_PMF3_StandardAttributesPlusNonstandardPropertiesInPropertyElements0.02
Success testPositive00_PMF4_StandardAttributesPlusNonstandardAttributes0.00
Success testPositive01_DuplicatePUsInDifferentConfigFilesButNotRequested0.02
Success testPositive02_GetAnonymousPMFWithNoProperties0.02
Success testPositive03_PMF0_PMFClassNameViaServicesLookup0.02
Success testPositive04_PMF0_PMFClassNameViaServicesLookup0.00
Success testPositive05_PMF0_PMFClassNameViaServicesLookup0.00
Success testPositive06_PMF0_GetAnonymousPMFProperties0.02
Success testPositive07_PMF0_GetAnonymousPMFPropertiesWithPUName0.02
Success testNegative00_EmptyJDOConfigXML0.02
Success testNegative01_NoPersistenceUnitsDefined0.00
Success testNegative02_DuplicateAnonymousPersistenceUnitsInSameConfig0.02
Success testNegative03_DuplicateNamedPersistenceUnitsInSameConfig0.02
Success testNegative04_DuplicatePUNamePropertyInAttributeAndElement0.00
Success testNegative05_DuplicatePropertyInAttributeAndElement0.16
Success testNegative06_DuplicatePUInDifferentConfigFiles0.02
Success testNegative07_EmptyServicesFile0.02
Success testNegative08_NoResourcesFound0.00
Success testNegative08_ServicesFileWithOnlyComments0.02

JDOHelperTest

Success testConstructor0.06
Success testGetInstance0.00
Success testGetPM0.02
Success testMakeDirty0.00
Success testGetObjectId0.00
Success testGetTransactionObjectId0.00
Success testIsDirty0.00
Success testIsTransactional0.00
Success testIsPersistent0.00
Success testIsNew0.00
Success testIsDeleted0.00
Success testGetPMFNullResource0.00
Success testGetPMFNullResourceGoodClassLoader0.02
Success testGetPMFBadResource0.00
Success testGetPMFBadResourceGoodClassLoader0.00
Success testGetPMFNullFile0.00
Success testGetPMFNullFileGoodClassLoader0.00
Success testGetPMFBadFile0.00
Success testGetPMFBadFileGoodClassLoader0.00
Success testGetPMFNullJNDI0.02
Success testGetPMFNullJNDIGoodClassLoader0.00
Success testGetPMFBadJNDI0.00
Success testGetPMFBadJNDIGoodClassLoader0.00
Success testGetPMFNullStream0.00
Success testGetPMFNullStreamGoodClassLoader0.00
Success testGetPMFNullClassLoader0.00
Success testGetPMFBothNullClassLoader0.00
Success testGetPMFNoClassNameProperty0.00
Success testBadPMFClassNotFound0.00
Success testBadPMFNoGetPMFPropertiesMethod0.00
Success testBadPMFNoGetPMFMapMethod0.00
Success testBadPMFNonStaticGetPMFMethod0.02
Success testBadPMFWrongReturnType0.00
Success testBadPMFGetPMFMethodThrowsJDOException0.00

InstanceLifecycleEventTest

Success testConstructorCreateEvent0.03
Success testConstructorLoadEvent0.00
Success testConstructorStoreEvent0.00
Success testConstructorClearEvent0.00
Success testConstructorDeleteEvent0.00
Success testConstructorDirtyEvent0.00
Success testConstructorDetachEvent0.00
Success testConstructorAttachEvent0.00
Success testIllegalConstructorTooSmall0.00
Success testIllegalConstructorTooBig0.00

XMLTest

Success testXSD0.06
Success testXSDBased0.55
Success testDTDBased0.33

JDOImplHelperTest

Success testGetFieldNames0.06
Success testGetFieldTypes0.00
Success testGetFieldFlags0.00
Success testGetPCSuperclass0.00
Success testNewInstance0.00
Success testNewObjectIdInstance0.00
Success testClassRegistration0.00
Success testClassListenerRegistration0.00

StateInterrogationTest

Success testGetObjectId0.00
Success testGetObjectIdNull0.00
Success testRemoveStateInterrogation0.00
Success testGetTransactionalObjectIdNull0.00
Success testGetTransactionalObjectId0.00
Success testGetPersistenceManagerNull0.00
Success testGetPersistenceManager0.00
Success testGetVersionNull0.00
Success testGetVersion0.00
Success testIsDeletedFalse0.00
Success testIsDeletedMine0.02
Success testIsDetachedFalse0.00
Success testIsDetachedMine0.00
Success testIsDirtyFalse0.00
Success testIsDirtyMine0.00
Success testIsNewFalse0.00
Success testIsNewMine0.00
Success testIsPersistentFalse0.00
Success testIsPersistentMine0.00
Success testIsTransactionalFalse0.00
Success testIsTransactionalMine0.00
Success testMakeDirtyFalse0.00
Success testMakeDirtyMine0.00