Summary: | JPA Metamodel should add isJPA10 flag in suite level, not test case level | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Kevin Yuan <kevin.yuan> |
Component: | Eclipselink | Assignee: | Kevin Yuan <kevin.yuan> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | test |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Kevin Yuan
2010-04-22 14:45:56 EDT
Add the following code in org.eclipse.persistence.testing.tests.jpa.metamodel.MetamodelMetamodelTest: import org.eclipse.persistence.testing.framework.junit.JUnitTestCase; if (! JUnitTestCase.isJPA10()) { suite.addTest(new MetamodelMetamodelTest("testMetamodelEmbeddedIdDirectlyOnMappedSuperclassRootPassesValidation")); ...... } And remove all other 124 flags (if(!this.isJPA10()) in each of the test cases. Also add this test suite in JPA server-test-lrg, which only run on JPA2.0 supported application servers. (Currenly only Glassfish v3) Code reviewed by Michael O'Brien. Checked in trunk, and revision#: 7050 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |