Apache Software Foundation JDO API

##### JDO Links

- JDO Wiki

##### JCP Links

- JDO 1.0 JSR-12
- JDO 2.0 JSR-243

##### Project Documentation

- About
- Project Info
- Project Reports
  - Metrics
  - Checkstyle
  - Change Log
  - Developer Activity
  - File Activity
  - Project License
  - JavaDocs
  - JavaDoc Report
  - JavaDoc Warnings Report
  - Source Xref
  - Test Xref
  - Unit Tests
  - Link Check Report
  - Task List
- Development Process

##### Legend

- External Link
- Opens in a new window

## Summary

[summary] [package list] [test cases]

Tests | Errors | Failures | Success rate | Time(s)
--- | --- | --- | --- | ---
247 | 0 | 0 | 100.00% | 28.33

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

## Package List

[summary] [package list] [test cases]

Package | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
javax.jdo | 106 | 0 | 0 | 100.00% | 27.65
javax.jdo.identity | 97 | 0 | 0 | 100.00% | 0.11
javax.jdo.listener | 10 | 0 | 0 | 100.00% | 0.01
javax.jdo.schema | 3 | 0 | 0 | 100.00% | 0.52
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

Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| EnhancerTest | 21 | 0 | 0 | 100.00% | 27.359
| JDOHelperConfigTest | 23 | 0 | 0 | 100.00% | 0.127
| JDOHelperTest | 35 | 0 | 0 | 100.00% | 0.041
| ObjectStateTest | 13 | 0 | 0 | 100.00% | 0.032
| PMFMapMapTest | 14 | 0 | 0 | 100.00% | 0.088

### javax.jdo.identity

Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| ByteIdentityTest | 11 | 0 | 0 | 100.00% | 0.013
| CharIdentityTest | 12 | 0 | 0 | 100.00% | 0.020
| IntIdentityTest | 11 | 0 | 0 | 100.00% | 0.013
| LongIdentityTest | 11 | 0 | 0 | 100.00% | 0.014
| ObjectIdentityTest | 33 | 0 | 0 | 100.00% | 0.015
| ShortIdentityTest | 11 | 0 | 0 | 100.00% | 0.013
| SingleFieldIdentityTest | 2 | 0 | 0 | 100.00% | 0.013
| StringIdentityTest | 6 | 0 | 0 | 100.00% | 0.013

### javax.jdo.listener

Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| InstanceLifecycleEventTest | 10 | 0 | 0 | 100.00% | 0.012

### javax.jdo.schema

Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| XMLTest | 3 | 0 | 0 | 100.00% | 0.518

### javax.jdo.spi

Class | Tests | Errors | Failures | Success Rate | Time
--- | --- | --- | --- | --- | ---
| JDOImplHelperTest | 8 | 0 | 0 | 100.00% | 0.029
| StateInterrogationTest | 23 | 0 | 0 | 100.00% | 0.007

## Test Cases

[summary] [package list] [test cases]

### EnhancerTest

| testUsageOption | 1.19
| testHelpOption | 1.22
| testHOption | 1.23
| testInvalidOption | 1.26
| testProperties | 1.26
| testVOption | 1.26
| testVerboseOption | 1.29
| testVerboseClasses | 1.25
| testVerboseJars | 1.23
| testVerboseJDOs | 1.21
| testVerboseAll | 1.23
| testVerboseCheckonlyAll | 1.22
| testMissingPU | 1.20
| testVerbosePU | 1.25
| testClasspath | 1.29
| testBadClasspath | 1.25
| testClasspathJar | 2.60
| testOutputDirectory | 1.26
| testMissingOutputDirectory | 1.19
| testDir | 1.23
| testDirRecurse | 1.23

### JDOHelperConfigTest

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

### JDOHelperTest

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

### ObjectStateTest

| testNull | 0.02
| testTransient | 0.00
| testTransientClean | 0.00
| testTransientDirty | 0.00
| testPersistentNew | 0.00
| testPersistentNontransactional | 0.00
| testPersistentNontransactionalDirty | 0.00
| testPersistentClean | 0.00
| testPersistentDirty | 0.00
| testPersistentDeleted | 0.00
| testPersistentNewDeleted | 0.00
| testDetachedClean | 0.00
| testDetachedDirty | 0.00

### PMFMapMapTest

| testProperties | 0.03
| testJDOConfigXML | 0.01
| testJDOConfigXMLWithLoader | 0.00
| testPropsFile | 0.00
| testPropsFileAndLoader | 0.00
| testInputStream | 0.00
| testInputStreamWithLoader | 0.00
| testPropertiesAndLoader | 0.00
| testNamedPMFWithOverrides | 0.00
| testNamedPMFWithOverridesAndLoader | 0.01
| testNamedPMFWithOverridesAndTwoLoaders | 0.00
| testNamedPMF | 0.01
| testNamedPMFWithLoader | 0.01
| testNamedPMFWithTwoLoaders | 0.00

### ByteIdentityTest

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

### CharIdentityTest

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

### IntIdentityTest

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

### LongIdentityTest

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

### ObjectIdentityTest

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

### ShortIdentityTest

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

### SingleFieldIdentityTest

| testConstructor | 0.01
| testSerialized | 0.00

### StringIdentityTest

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

### InstanceLifecycleEventTest

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

### XMLTest

| testXSD | 0.03
| testXSDBased | 0.24
| testDTDBased | 0.24

### JDOImplHelperTest

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

### StateInterrogationTest

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