Commit Graph

121 Commits

Author SHA1 Message Date
Michael Dick c618b4692d OPENJPA-1557:
Use openjpa.Log to control build logging instead of openjpa.loglevel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Donald Woods b85c4e30fa OPENJPA-1411 Include DayTrader test case in OpenJPA. Note: this is not pulled into the normal builds, as the openjpa-maven-plugin-1.1-SNAPSHOT has not been released.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:06:38 +00:00
Donald Woods ce0886e110 OPENJPA-1101 Remove unused/outdated/incomplete OSGi integration tests, as this is being handled by Apache Aries for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920894 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 14:32:46 +00:00
Donald Woods 32fe994aea upgrade to latest released agimatec-validation artifacts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916746 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 16:38:33 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods c28ffa7be1 more attempts to fix release plugin issue with test jars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915964 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 20:24:17 +00:00
Donald Woods e512e15ba0 OPENJPA-1520 Compile for 1.6 and update javadoc links to use 1.6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911682 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 02:52:51 +00:00
Donald Woods f259a4ee1e OPENJPA-1504 Update TestTraversableResolver so it can be used with Hibernate or Agimatec providers. Upgrade to agimatec-validation-0.9.6-SNAPSHOT, which now supports constraints.xml so all junits pass again with it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908660 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 20:35:22 +00:00
Donald Woods 27abdb4149 OPENJPA-1107 TraversableResolver testcases contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908173 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:39:45 +00:00
Donald Woods 7091a52927 OPENJPA-1076 Testcases for PersistenceProviderResolver contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903328 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 17:23:33 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods 61cacd5df6 use exclude list to skip pluggability tests during second pass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899377 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:47:44 +00:00
Donald Woods 4f6e43a758 add some extra results info
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899034 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:38:55 +00:00
Donald Woods b8b37205e3 updates to run TCK twice, since pluggability tests require a different setup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898974 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 22:25:55 +00:00
Donald Woods 6a779fd44e remove hack for DDL file, as we have a patched copy for Derby now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 21:38:14 +00:00
Donald Woods 1e95ee43a8 updates to unzip JPA2 TCK required patches file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898405 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 16:26:25 +00:00
Donald Woods b90c4f0191 OPENJPA-1453 cleanup classpaths for jpa.classes and tsant
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896412 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 12:02:29 +00:00
Donald Woods 5938ca72f0 OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 14:05:08 +00:00
Donald Woods 254e9362cd OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896033 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 13:26:00 +00:00
Donald Woods 8cf03bdab7 OPENJPA-1453 Fix setting javaagent
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895863 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 02:21:40 +00:00
Donald Woods c4fe0957ee OPENJPA-1453 Merge some of the tck2-profile updates into tck-profile and chnage the tsant macro in tck2-profile to not fail the build when errors occur
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895819 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 22:55:49 +00:00
Donald Woods f78ddef9c2 OPENJPA-1453 Updates to add javaagent and pass/fail counts for JPA2 runs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895783 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:10:09 +00:00
Donald Woods 02b5554036 OPENJPA-1453 Add support for testing with JPA 2.0 TCK
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895723 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 17:47:19 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Donald Woods a24efc3c55 OPENJPA-839 Need to exclude new source and shade created jars from being used for the agent setting to the TCK
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830927 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 13:15:23 +00:00
Donald Woods 721c6ce211 shouldn't be building osgi-tests right now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828113 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 17:24:44 +00:00
Donald Woods c753ce2278 OPENJPA-767 Start of true OSGi support, which uses the r828047 changes in the Geronimo JPA2 1.0-EA9 spec to resolve/load providers in OSGi. Still lots of work needed, so this is not in the normal builds yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828051 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:33:44 +00:00
Donald Woods 737f17fc26 OPENJPA-1101 bundle metadata tweaks for osgi tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826665 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 13:24:29 +00:00
Donald Woods f1fc076840 OPENJPA-1347 Upgrade to Validation 1.0 GA API
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824890 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 19:29:13 +00:00
Donald Woods 8956f17824 OPENJPA-1347 Upgrade to Validation API 1.0.0.GA and Hibernate 4.0.0.GA for bean validation testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824805 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:26:41 +00:00
Pinaki Poddar 05d2a80417 OPENJPA-1345: Update to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:06:19 +00:00
Donald Woods a91b3bdb40 OPENJPA-1101 hellojpa as a bundle and steps on how to deploy openjpa to Apache Felix Karaf. Tests are disabled for now, as we need better Karaf integration with maven.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:15:00 +00:00
Donald Woods c6085cd296 OPENJPA-1229 Remove extra Geronimo repo as the artifacts are mirrored now. Update the repoId for sonatype.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822350 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 17:07:54 +00:00
Donald Woods 680320a733 OPENJPA-1229 Upgrade to agimatec-validation 0.9.3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821129 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 18:47:25 +00:00
Donald Woods b68c975ebf OPENJPA-1229 Upgrade to agimatec-validation 0.9.3 which supports 1.0.CR5 now, but still lacks support for XML constraints (so 1 test in testMappedSuperXMLConstraint fails)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821124 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 18:33:59 +00:00
Donald Woods 5113654485 add common setTestsDisabled()/isTestsDisabled() in AbstractPersistenceTestCase which is used by runTest() to automatically skip all tests. added new setSupportedDatabases()/setUnsupportedDatabases() methods in SingleEMFTestCase to set the testsDisabled flag in AbstractPTC, along with moving a getLog() method from some testcases into the base SingleEMFTC class for everyone to use.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813506 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:40:37 +00:00
Jeremy Bauer 1f347633aa OPENJPA-1282 Update bean validation RI provider and spec API level. Remove allow failure from test that passes due to provider update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810645 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 18:18:27 +00:00
Donald Woods 7065743f17 OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:02 +00:00
Michael Dick c8fa380048 Fixing validation test hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804333 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:55 +00:00
Michael Dick 89a7f53db0 Refactor PersistenceTestCase to AbstractCachedEMFTestCase and AbstractPersistenceTestCase.
Deprecate old class to allow submodules to compile (can be removed after maven repos is updated).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804331 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:39 +00:00
Michael Dick 61b85e4b1a OPENJPA-1234: Remove mistakenly added columnDefinition..
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802589 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 20:40:49 +00:00
Michael Dick fb2a45a739 OPENJPA-1234:
AllowFailure checks for system property before running or logging exceptions from test methods.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802587 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 20:38:58 +00:00
Jeremy Bauer 233e258cb8 OPENJPA-1157 Added test which contains uses constraints and persistence metadata defined in XML. Updated ValidatorImpl to trace exceptions thrown as a result of creating the default validator factory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802062 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:06:17 +00:00
Donald Woods 35be8fb0ba OPENJPA-1148 Remove test.jvm.arguments, which was causing this module to always fail with a OOM PermGen space with 64bit Java 6 on Linux automated builds. Also merged in some recent updates in o-p-j for derby lock timeouts and ehnancer agent settings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801163 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:10:48 +00:00
Jeremy Bauer 63cacaa1c9 OPENJPA-1208 Set compatibility options and validation mode based on persistence version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800951 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:32:49 +00:00
Donald Woods df073249f5 OPENJPA-1107 Updated TraversableResolver that calls only our OpenJPAPersistenceUtil. Updated OpenJPAPersistenceUtil.isLoaded() to handle UnsupportedOperationException when checking a detached entity and returns LoadState.UNKNOWN. Also added a testcase in TestPersistenceUtil to verify that caller gets isLoaded()==true for a detached entity and fixed a trace output in TestConstraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800568 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 21:14:43 +00:00
Kevin W. Sutter b5e893b5a7 OPENJPA-1221. Modified openjpa-integration module pom files for examples, tck, and osgi-itests to be consistent with the validation module.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800526 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 20:21:51 +00:00
Donald Woods 1b86a81c94 OPENJPA-1190 Use Geronimo EA5 JPA spec jar. Patch only has method stubs returning null for the new methods added by EA5, like -
PersistenceUnitInfoImpl.getSharedCacheMode()
EntityManagerFactoryImpl.getPersistenceUnitUtil()
PersistenceProviderImpl.getProviderUtil()

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796457 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:44:07 +00:00
Donald Woods 0cf0922386 OPENJPA-1177 Upgraded to use geronimo-validation_1.0_spec-1.0-EA3-SNAPSHOT (1.0.CR3 API level) and to use hibernate RI as the default Bean Validation provider for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796331 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:03:18 +00:00