Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338723

Summary: create DDLGenerationServerTestSuite for jpa/ddlgeneration model to let multiple persistence units tests running on server
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: test
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yiping Zhao CLA 2011-03-02 14:45:56 EST
We have multiple persistence units tests in one signle test suite for jpa/ddlgeneration model, which is DDLGenerationJUnitTestSuite. On server, each test suite must comply with one single persistence unit as for our existing server test framework. So in order to get multiple persistence units tests running properly on server, we need to split DDLGenerationJUnitTestSuite to several test suites based on persistence unit, and create a new server test suite to include all these test suites. The changes are:

1. modify eclipselink.jpa.test\build.xml to set jpa/ddlgeneration model as multiple persistence units test model

2. modify eclipselink.jpa.test\resource\eclipselink-ddl-generation-model\server\persistence.xml to include all persistence units

3. base on existing DDLGenerationJUnitTestSuite, create DDLGenerationTestSuite, DDLTablePerClassTestSuite and DDLTableSuffixTestSuite as for tests for "ddlgeneration", "ddlTablePerClass" and "ddlTableSuffix". Create DDLGenerationServerTestSuite to include DDLGenerationTestSuite, DDLTablePerClassTestSuite and DDLTableSuffixTestSuite.
Comment 1 Yiping Zhao CLA 2011-03-02 15:13:55 EST
The changes have been made to trunk as revision 9067, code is reviewed by Kevin Yuan.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:28:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink