[3.0] JPA tests refactor via backport from 4.0 branch #2338
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Main target of this change is make JPA tests more flexible and more simple for code changes.
This change is done via backport of
org.eclipse.persistence.jpa.testapps
Maven module/directory from 4.0 branch.Additionally following changes had to be implemented to make pass refactored tests thru build/compilation and execution.
Changes:
default-jar
org.eclipse.persistence.bundles fix to refect change above
org.eclipse.persistence.jpa.testapps.metamodel.aspectj
org.eclipse.persistence.nosql
- test refactor as JPA tests are moved intoorg.eclipse.persistence.jpa.testapps.nosql
org.eclipse.persistence.oracle.test
- test refactor as JPA tests are moved intoorg.eclipse.persistence.jpa.testapps.oracle
org.eclipse.persistence.testing.tests.weaving.SimpleWeaverTestSuite#readStreamContentsIntoByteArray
change for reflect compiler source 8org.eclipse.persistence.testing.framework.jpa.junit.JUnitTestCase#isSelectForUpateNoWaitSupported
(org.eclipse.persistence.internal.databaseaccess.Platform
)isMariaDB()
call removal as MariaDB is not implemented in 3.0org.eclipse.persistence.testing.framework.server.SpringPlatform
import org.eclipse.persistence.testing.framework.jpa.server.ServerPlatform
org.eclipse.persistence.descriptors.DescriptorCustomizer
->org.eclipse.persistence.config.DescriptorCustomizer
org.eclipse.persistence.sessions.SessionCustomizer
->org.eclipse.persistence.config.SessionCustomizer
org.eclipse.persistence.sessions.DataRecord
->org.eclipse.persistence.sessions.Record
org.eclipse.persistence.jpa.testapps.advanced
module to fix Mavencompile-with-processor
goal for*_
classesFixed by:
Make canonical model processor usable on the modulepath 63b78fe
Canonical processor fails on entities shared across persistence units #1678: Canonical processor fails on entities shared across persistence units #1699 #1678: Canonical processor fails on entities shared across persistence units #1699
org.eclipse.persistence.testing.framework.SimpleSessionLogWrapper
added/moved intoorg.eclipse.persistence.core.test.framework
org.eclipse.persistence.testing.framework.TestContext
moved fromorg.eclipse.persistence.core.test
intoorg.eclipse.persistence.core.test.framework
org.eclipse.persistence.testing.framework.TestDataSource
moved fromorg.eclipse.persistence.core.test
intoorg.eclipse.persistence.core.test.framework
org.eclipse.persistence.jpa.testapps.metamodel.aspectj
added Maven propertiesmaven.compiler.release
andmaven.compiler.testRelease
into parent pomOracleAqHelper, OracleDBPlatformHelper, ProxyAuthenticationUsersAndProperties, SessionExchanger
move intoorg.eclipse.persistence.core.test.framework
-
OracleConnectionPoolHelper
move fromorg.eclipse.persistence.oracle.test
intoorg.eclipse.persistence.core.test.framework
org.eclipse.persistence.testing.models.jpa.*
inorg.eclipse.persistence.oracle.test
are moved underorg.eclipse.persistence.jpa.testapps.oracle
sub modules.org.eclipse.persistence.jpa.test
:org.eclipse.persistence.testing.tests.jpa.dynamic.simple.AllTests
- Fix test failure in handling DynamicEntities dc8ff89org.eclipse.persistence.jpa.testapps.advanced
:org.eclipse.persistence.jpa.testapps.composite.advanced
:org.eclipse.persistence.jpa.testapps.jpaadvancedproperties
:eclipselink.login.encryptor
- backport from PR [4.0] New PersistenceUnit property - eclipselink.login.encryptor - backport from master #2126org.eclipse.persistence.jpa.testapps.jpql
:org.eclipse.persistence.jpa.testapps.xml.extended.composite.advanced
: