Bug 340758 - newly added jpa/cacheable tests need to be added to test suites in server side
Summary: newly added jpa/cacheable tests need to be added to test suites in server side
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2011-03-23 09:48 EDT by Yiping Zhao CLA
Modified: 2022-06-09 10:02 EDT (History)
0 users

See Also:


Attachments
patch for adding newly added jpa/cacheable tests to server side (48.30 KB, patch)
2011-03-23 09:53 EDT, Yiping Zhao CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2011-03-23 09:48:35 EDT
This test model jpa/cacheable is multiple-persistence units test model, in server side, we have test suites each of which is related individual persistence unit. Since we created these test suites last time, we added bunch of new tests in CacheableModelJunitTest which is only running in J2SE, so we need to add those new tests to specific server test suites to get tests running on server. The changes are:

1. eclipselink.jpa.test\resource\eclipselink-cacheable-model\server\persistence.xml:
   add more entities under "MulitPU-4" which is related to "DISABLE_SELECTIVE"

2. add removeCacheableFalseDetail() to eclipselink.jpa.test\src\org\eclipse\persistence\testing\models\jpa\cacheable\CacheableRelationshipsEntity.java to get entity removed

3. add new tests to CacheableModelJunitTestAll.java, CacheableModelJunitTestDisableSelective.java and CacheableModelJunitTestNone.java under  eclipselink.jpa.test\src\org\eclipse\persistence\testing\tests\jpa\cacheable
Comment 1 Yiping Zhao CLA 2011-03-23 09:53:26 EDT
Created attachment 191746 [details]
patch for adding newly added jpa/cacheable tests to server side
Comment 2 Yiping Zhao CLA 2011-03-24 11:47:47 EDT
The changes has been checked in trunk as revision 9158 and 2.2 as revision 9159. Code is reviewed by Edwin Tang.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:02:21 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink