Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Bugs/309681"
m (→org.eclipse.persistence.testing.tests.wdf.jpa1.inheritance) |
m (→org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager) |
||
Line 10: | Line 10: | ||
==== org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager ==== | ==== org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager ==== | ||
+ | ===== TestCache ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" align="center2 | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" align="center2 | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 34: | Line 34: | ||
|} | |} | ||
− | + | ===== TestCascadeFlush ===== | |
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 50: | Line 49: | ||
|} | |} | ||
− | + | ===== TestCascadeMerge ===== | |
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 65: | Line 63: | ||
+ | ===== TestCascadeRefresh ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 76: | Line 74: | ||
|} | |} | ||
− | + | ===== TestCascadeRemove ===== | |
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 89: | Line 86: | ||
+ | ===== TestEntityManagerFactory ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 101: | Line 98: | ||
+ | ===== TestFlush ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 117: | Line 114: | ||
+ | ===== TestGetReference ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 131: | Line 128: | ||
+ | ===== TestMerge ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 155: | Line 152: | ||
+ | ===== TestPersist ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 173: | Line 170: | ||
+ | ===== TestReadOnly ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 189: | Line 186: | ||
+ | ===== TestRefresh ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 207: | Line 204: | ||
+ | ===== TestRemove ===== | ||
{| style="width:100%" border="1" cellspacing="0" cellpadding="5" | {| style="width:100%" border="1" cellspacing="0" cellpadding="5" | ||
− | |||
|- bgcolor=lightgrey | |- bgcolor=lightgrey | ||
!width="250"| method | !width="250"| method | ||
Line 217: | Line 214: | ||
| testRemoveFlushRemoveAgain || @Bugzilla || 309681 || test assumes has special state DELETED_EXECUTED, which EclipseLink hasn't | | testRemoveFlushRemoveAgain || @Bugzilla || 309681 || test assumes has special state DELETED_EXECUTED, which EclipseLink hasn't | ||
|} | |} | ||
− | |||
==== org.eclipse.persistence.testing.tests.wdf.jpa1.foreignkeys ==== | ==== org.eclipse.persistence.testing.tests.wdf.jpa1.foreignkeys ==== |
Revision as of 11:15, 4 May 2010
Contents
- 1 Bug 309681 - Investigate WDF test annotated with @ToBeInvestigated
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
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. |
testRelationshipToRemoved | @Bugzilla | 309681 | 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. |
testRelationshipToRemovedLazy | @Bugzilla | 309681 | 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. |
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 | @ToBeinvestigated | ||
testNastyTimestampTwiceNotInitial | @ToBeinvestigated |
TestPersist
method | skip annotation | bugid | analysis |
---|---|---|---|
testNastyTimestampTwice | @Bugzilla | 309681 | non-entity subclass of entity cannot be persisted |
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 |
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 |
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 | @Bugzilla | 309681 | 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? |
testRefreshManagedNew | @Bugzilla | 309681 | test assumes that refresh transits a "managed_new" entity to managed state -> duprec |
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 |
org.eclipse.persistence.testing.tests.wdf.jpa1.foreignkeys
method | skip annotation | bugid | analysis |
---|---|---|---|
testCriminal | @ToBeInvestigated | ||
testCycle | @ToBeInvestigated | ||
testFKException | @ToBeInvestigated | ||
testSelfishKey | @ToBeInvestigated |
org.eclipse.persistence.testing.tests.wdf.jpa1.generator
method | skip annotation | bugid | analysis |
---|---|---|---|
testJoinedSubclass | @ToBeInvestigated | ||
testMerge | @ToBeInvestigated | ||
testPersist | @ToBeInvestigated | ||
testPersistNoTx | @ToBeInvestigated |
method | skip annotation | bugid | analysis |
---|---|---|---|
testAllocSize | @ToBeInvestigated |
org.eclipse.persistence.testing.tests.wdf.jpa1.inheritance
method | skip annotation | bugid | analysis |
---|---|---|---|
testInsertDirtyCar | @ToBeInvestigated | likely atempt to insert subclass of an entity |