Bug 309681 - Investigate WDF test annotated with @ToBeInvestigated
The test suite jpa/eclipselink.jpa.wdf.test ("WDF tests") has originally not been written for EclipseLink but for a different JPA implementation. Many tests don't fit perfectly to EclipseLink but are failing due to different issues. In order to benefit from the additional test set as soon as possible, it has been decided to exclude failing tests from a regular test execution using the special skip annotations. Skipping the questionable tests allows to incorporate the WDF tests into the nightly regression test suite.
The annotation @Bugzilla(bugid=<bug id>) indicates that a test is skipped due to an issue, which is followed up in an bugzilla ticket with id <bug id>.
The annotation @ToBeInvestigated indicates that a test is not compatible with EclipseLink and is skipped but the reason for the incompatibility has to be investigated.
Analysis of Tests by Package
The listing below contains tests with known issues onyl. Good (non-skipped) tests are not contained.
org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager
TestCache
method
|
skip annotation
|
bugid
|
analysis
|
testContains |
@ToBeInvestigated |
|
|
testInvalidateRemote |
@ToBeInvestigated |
|
|
testInvalidateUpdate |
@ToBeInvestigated |
|
|
testNotOwningSide |
@ToBeInvestigated |
|
|
testNotOwningSide2 |
@ToBeInvestigated |
|
|
testRelation |
@ToBeInvestigated |
|
|
testTimetoLive |
@ToBeInvestigated |
|
|
TestCascadeFlush
method
|
skip annotation
|
bugid
|
analysis
|
testSimpleCascadeToDetached2a |
@ToBeInvestigated |
|
|
testSimpleCascadeToDetached2b |
@ToBeInvestigated |
|
|
testSimpleCascadeToDetached2c |
@ToBeInvestigated |
|
|
TestCascadeMerge
method
|
skip annotation
|
bugid
|
analysis
|
testCascadeDetached |
@ToBeInvestigated |
|
|
testSimpleCascadeNew |
@ToBeInvestigated |
|
|
TestCascadeRefresh
method
|
skip annotation
|
bugid
|
analysis
|
testCascade |
@ToBeInvestigated |
|
|
TestCascadeRemove
method
|
skip annotation
|
bugid
|
analysis
|
testCircularCascade |
@ToBeInvestigated |
|
|
TestEntityManagerFactory
method
|
skip annotation
|
bugid
|
analysis
|
testEntityManagerFactoryCloseActiveTransaction |
@ToBeInvestigated |
|
|
TestFlush
method
|
skip annotation
|
bugid
|
analysis
|
testChangedEntityIgnoredByFlush |
@Bugzilla |
309681 |
A flush before a query flushes an entity not queried for. This could be surpressed. discussion
|
testRelationshipToRemoved |
@Bugzilla |
311760 |
Employee has a relationship to Cubicle, which has been removed (not yet flushed). This should be rejected with IllegalStateException according to JPA1: 3.2.3. discussion
|
testRelationshipToRemovedLazy |
@Bugzilla |
311760 |
An employee has a collection of projects. We remove a project, which is a project of emp1. We assigne the projects of emp1 (as a lazy collection) to a newly created emp2. Emp2 now has a reference to the removed project. Persisting emp2 succeeds in spite of JPA1: 3.2.3. an IllegalStateException would be expected. discussion
|
TestGetReference
method
|
skip annotation
|
bugid
|
analysis
|
testCascadePersistOnFlush |
@ToBeInvestigated |
|
|
testCascadeRemove |
@ToBeInvestigated |
|
|
TestMerge
method
|
skip annotation
|
bugid
|
analysis
|
testIlegalArgumentWithDeserializedEntity |
@ToBeInvestigated |
|
|
testIlegalArgumentWithLazyRelationPending |
@ToBeInvestigated |
|
|
testMergeDetachedWithRelation |
@ToBeInvestigated |
|
|
testMergeNewWithRelation |
@ToBeInvestigated |
|
|
testMergeRemoved |
@ToBeInvestigated |
|
|
testNastyTimestampTwice |
solved |
311856 |
discussion
|
testNastyTimestampTwiceNotInitial |
solved |
311856 |
discussion
|
TestPersist
method
|
skip annotation
|
bugid
|
analysis
|
testNastyTimestampTwice |
solved |
311856 |
non-entity subclass of entity cannot be persisted discussion
|
testPersistDeleteExecuted |
@Bugzilla |
309681 |
does not fail; no special state for "DELETE_EXECUTED"
|
testPersistRemovedEntityWithIdModifiedInPrePersist |
@Bugzilla |
309681 |
removed entity can be reinserted in same PC; em does not contain removed entity although not yet flushed
|
testPersistRemovedEntityWithIdModifiedInPrePersistFlushed |
@Bugzilla |
309681 |
removed entity can be reinserted in same PC; no state DELETE_EXECUTED discussion
|
TestReadOnly
method
|
skip annotation
|
bugid
|
analysis
|
testCacheQueriedEntity |
@Bugzilla |
309681 |
fails with a NPE; it turns out that an entity annotated with @ReadOnly is not inserted at all discussion
|
testIllegalFieldModification |
@Bugzilla |
309681 |
fails with a NPE; it turns out that an entity annotated with @ReadOnly is not inserted at all
|
testQueryCachedEntity |
@Bugzilla |
309681 |
fails with a NPE; it turns out that an entity annotated with @ReadOnly is not inserted at all
|
TestRefresh
method
|
skip annotation
|
bugid
|
analysis
|
testRefreshDeleted |
solved |
311868 |
EL throws IllegalArgumentException; seems in alignment with SPEC
|
testRefreshManagedCheckContains |
@Bugzilla |
309681 |
if a refresh fails with an EntityNotFoundException, the entity is still contained in the PC. Issue? discussion
|
testRefreshManagedNew |
@Bugzilla |
309681 |
test assumes that refresh transits a "managed_new" entity to managed state -> duprec discussion
|
testRefreshManagedNewNotOnDB |
@Bugzilla |
309681 |
we assume that referesh is not ignored but it throws EntitynotFoundException, instead -> not covered by SPEC
|
TestRemove
method
|
skip annotation
|
bugid
|
analysis
|
testRemoveFlushRemoveAgain |
@Bugzilla |
309681 |
test assumes has special state DELETED_EXECUTED, which EclipseLink hasn't discussion
|
org.eclipse.persistence.testing.tests.wdf.jpa1.foreignkeys
TestForeignKeys
method
|
skip annotation
|
bugid
|
analysis
|
testCriminal |
@ToBeInvestigated |
|
|
testCycle |
@ToBeInvestigated |
|
|
testFKException |
@ToBeInvestigated |
|
|
testSelfishKey |
@ToBeInvestigated |
|
|
org.eclipse.persistence.testing.tests.wdf.jpa1.generator
TestIdentity
TestSequence
method
|
skip annotation
|
bugid
|
analysis
|
testAllocSize |
@ToBeInvestigated |
|
|
org.eclipse.persistence.testing.tests.wdf.jpa1.inheritance
SimpleInheritanceTest
method
|
skip annotation
|
bugid
|
analysis
|
testInsertDirtyCar |
@ToBeInvestigated |
|
likely atempt to insert subclass of an entity
|
org.eclipse.persistence.testing.tests.wdf.jpa1.lock
TestLockMethod
method
|
skip annotation
|
bugid
|
analysis
|
testEntityForInsert |
@ToBeInvestigated |
|
|
testLockOldVersion |
@Bugzilla |
309681 |
RollbackExcetpion with cause OLE is thrown; OLE does not contain causing entity (optional) discussion
|
testNewEntity |
@ToBeInvestigated |
|
|
TestOptimistic
method
|
skip annotation
|
bugid
|
analysis
|
testIllegalVersionAccessNew |
@Bugzilla |
309681 |
manual changing the version is not detected discussion
|
testNode |
@Bugzilla |
309681 |
strange exception: "Null primary key encountered in unit of work clone "; test looks OK discussion
|
org.eclipse.persistence.testing.tests.wdf.jpa1.mapping
TestSecondaryTable
method
|
skip annotation
|
bugid
|
analysis
|
testOptimisticLockWithSecondaryTable |
@ToBeInvestigated |
|
|
org.eclipse.persistence.testing.tests.wdf.jpa1.query
Tests in the query package annotated with @ToBeInvestigate are not yet listed
TestConditionalExpressions
method
|
skip annotation
|
bugid
|
analysis
|
testMemberOfHandling0 |
@Bugzilla |
300488 |
|
testMemberOfHandling4 |
@Bugzilla |
300488 |
|
TestCount
method
|
skip annotation
|
bugid
|
analysis
|
testCountDistinctCompoundKey |
@Bugzilla |
297331 |
|
org.eclipse.persistence.testing.tests.wdf.jpa1.relation
TestBidirectionalManyToMany
method
|
skip annotation
|
bugid
|
analysis
|
testCopyProjectsToExisting |
@Bugzilla |
300503 |
|
TestEmployee_Review
method
|
skip annotation
|
bugid
|
analysis
|
testNavigateDeserializedEmployeeFails |
@ToBeInvestigated |
|
|
TestList
method
|
skip annotation
|
bugid
|
analysis
|
testDelete |
@ToBeInvestigated |
|
|
testMergeChangedRelation |
@ToBeInvestigated |
|
|
testOrderBy |
@ToBeInvestigated |
|
|
testRelationContainsEntities |
@ToBeInvestigated |
|
|
testSimpleCourse |
@ToBeInvestigated |
|
|
testUpdate |
@ToBeInvestigated |
|
|
TestMap
method
|
skip annotation
|
bugid
|
analysis
|
testEmptyOffice |
@Bugzilla |
300485 |
|
testOffice |
@Bugzilla |
300485 |
|
TestNode
method
|
skip annotation
|
bugid
|
analysis
|
testChangeParent |
@ToBeInvestigated |
|
|
TestRelationshipsWithCache
method
|
skip annotation
|
bugid
|
analysis
|
testBicycleEmployee |
@Bugzilla |
309681 |
Cached entities not contained after find. Issue with complicated graph containing non-cachable entities? disucssion
|
testCostCenterEmployee |
@Bugzilla |
309681 |
Cached entities not contained after find. Issue with complicated graph containing non-cachable entities?
|
testCubicleEmployee |
@Bugzilla |
309681 |
Cached entities not contained after find. Issue with complicated graph containing non-cachable entities?
|
testEmployeeProject |
@Bugzilla |
309681 |
Cached entities not contained after find. Issue with complicated graph containing non-cachable entities?
|
testMotorVehicleEmployee |
@Bugzilla |
309681 |
Cached entities not contained after find. Issue with complicated graph containing non-cachable entities?
|
testTravelProfileVehicle |
@ToBeInvestigated |
|
|
org.eclipse.persistence.testing.tests.wdf.jpa1.simple
BufferReadTest
method
|
skip annotation
|
bugid
|
analysis
|
testQueryExecuteOnlyOutsideTransactionNew |
@ToBeInvestigated |
|
|
TestBasicFieldTypes
method
|
skip annotation
|
bugid
|
analysis
|
testNullsFAint |
@Bugzilla |
309681 |
a nullable INT column is mapped to a primitive int attribute. Using JDBC, we write NULL to the column. After a find, the int attribute has the value 0 (zero). An exception would be expected. Considered a bug. discussion
|
testNullsFAshort |
@Bugzilla |
309681 |
1) it is atempted to assign primitive short to Integer.valueOf(0) -> IAE; 2) IAE is caught; 3) DescriptorException (no PersistenceException) discussion
|
testPrimitiveCharArray2Clob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testPrimitiveCharArray2Varchar |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Binary |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Blob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Longvarbinary |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperCharArray2Clob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperCharArray2Varchar |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
TestBasicPropertyTypes
method
|
skip annotation
|
bugid
|
analysis
|
testNullsPAint |
@Bugzilla |
309681 |
a nullable INT column is mapped to a primitive int attribute. Using JDBC, we write NULL to the column. After a find, the int attribute has the value 0 (zero). An exception would be expected. Considered a bug. discussion
|
testNullsPAshort |
@Bugzilla |
309681 |
1) MethodAttributeAccessor.SetAttributeValueinObject attempts to set Integer.valueOf(0) to th eprimitive short attribute -> IllegalArgumentException; 2) IAE ia caught; 3) DescriptorException is thorwn (which is no PersistenceException) discussion
|
testPrimitiveCharArray2Clob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testPrimitiveCharArray2Varchar |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Binary |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Blob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperByteArray2Longvarbinary |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperCharArray2Clob |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|
testWrapperCharArray2Varchar |
@Bugzilla |
285691 |
@Mutable does not work for arrays of type Byte[], char[], Character[]
|