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

Bug 315413

Summary: skip mechanism in WDF test suite should allow to specify skipped database platforms by name
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Adrian Goerler <adrian.goerler>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
patch for this enhancement none

Description Adrian Goerler CLA 2010-06-02 11:33:06 EDT
The test suite eclipselink.jpa.wdf.test contains a mechanism allowing to skip tests on a specified database-platform. So far the database platfomrs to be skipped need to be specified using platform class. However, if the database platform for which a test should be skipped is contained in an incubator, this is not feasible as the test would not compile. Therefore, the skip-mechanism should be extended to alternatively allow to specify a database platform to be skipped by its class name.
Comment 1 Adrian Goerler CLA 2010-06-02 12:46:40 EDT
Created attachment 170835 [details]
patch for this enhancement

This patch also adds a @Skip for org.eclipse.persistence.testing.tests.wdf.jpa1.generator.TestIdentity on MaxDB as MaxDB does not support auto-id columns.
Comment 2 Adrian Goerler CLA 2010-06-02 18:09:19 EDT
Tested on MySQL and Oracle.
Checked in at rev #7457.
Comment 3 Adrian Goerler CLA 2010-06-04 02:41:45 EDT
Nightly test is OK as well.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:09:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink