Bug 340758

Summary: newly added jpa/cacheable tests need to be added to test suites in server side
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: test
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch for adding newly added jpa/cacheable tests to server side none

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