| /******************************************************************************* |
| * Copyright (c) 2011 Oracle. All rights reserved. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v1.0, which accompanies this distribution |
| * and is available at http://www.eclipse.org/legal/epl-v10.html. |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.jpa.eclipselink.core.tests.internal.resource.java; |
| |
| import org.eclipse.jpt.common.core.AnnotationProvider; |
| import org.eclipse.jpt.jpa.core.internal.GenericJpaAnnotationDefinitionProvider; |
| import org.eclipse.jpt.jpa.core.internal.JpaAnnotationProvider; |
| import org.eclipse.jpt.jpa.core.tests.internal.resource.java.JpaJavaResourceModelTestCase; |
| import org.eclipse.jpt.jpa.eclipselink.core.internal.EclipseLink2_3JpaAnnotationDefinitionProvider; |
| |
| public class EclipseLink2_3JavaResourceModelTestCase extends JpaJavaResourceModelTestCase |
| { |
| |
| public static final String ECLIPSELINK_ANNOTATIONS_PACKAGE_NAME = "org.eclipse.persistence.annotations"; //$NON-NLS-1$ |
| |
| public EclipseLink2_3JavaResourceModelTestCase(String name) { |
| super(name); |
| } |
| |
| @Override |
| protected AnnotationProvider buildAnnotationProvider() { |
| return new JpaAnnotationProvider( |
| GenericJpaAnnotationDefinitionProvider.instance(), |
| EclipseLink2_3JpaAnnotationDefinitionProvider.instance()); |
| } |
| |
| } |