blob: f6c8b64c73b9866a15fe67c66ada67d96652dfd7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2017 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* 02/08/2012-2.4 Guy Pelletier
* - 350487: JPA 2.1 Specification defined support for Stored Procedure Calls
* 10/09/2012-2.5 Guy Pelletier
* - 374688: JPA 2.1 Converter support
* 10/25/2012-2.5 Guy Pelletier
* - 374688: JPA 2.1 Converter support
* 11/19/2012-2.5 Guy Pelletier
* - 389090: JPA 2.1 DDL Generation Support
* 11/22/2012-2.5 Guy Pelletier
* - 389090: JPA 2.1 DDL Generation Support (index metadata support)
* 01/23/2013-2.5 Guy Pelletier
* - 350487: JPA 2.1 Specification defined support for Stored Procedure Calls
******************************************************************************/
package org.eclipse.persistence.testing.tests.jpa22.advanced;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.persistence.testing.tests.jpa22.metadata.MetadataASMFactoryTest;
public class JPA22TestSuite extends TestSuite {
public static Test suite() {
TestSuite fullSuite = new TestSuite();
fullSuite.setName("JPA_2.2_TestSuite");
fullSuite.addTest(StoredProcedureQueryTestSuite.suite());
fullSuite.addTest(ConverterTestSuite.suite());
fullSuite.addTest(CriteriaQueryTestSuite.suite());
fullSuite.addTest(CriteriaQueryMetamodelTestSuite.suite());
fullSuite.addTest(DDLTestSuite.suite());
fullSuite.addTest(ForeignKeyTestSuite.suite());
fullSuite.addTest(IndexTestSuite.suite());
fullSuite.addTest(EntityGraphTestSuite.suite());
fullSuite.addTest(QueryTestSuite.suite());
fullSuite.addTest(EntityManagerTestSuite.suite());
fullSuite.addTest(XMLNamedStoredProcedureQueryTestSuite.suite());
fullSuite.addTest(XMLConverterTestSuite.suite());
fullSuite.addTest(XMLForeignKeyTestSuite.suite());
fullSuite.addTest(XMLIndexTestSuite.suite());
fullSuite.addTest(XMLEntityGraphTestSuite.suite());
fullSuite.addTest(AnnotationsTestSuite.suite());
fullSuite.addTest(MetadataASMFactoryTest.suite());
//make sure EntityManagerFactoryTestSuite#testGetPersistenceUnitUtilOnCloseEMF
//runs last as 'MulitPU-1' becomes closed after this test
fullSuite.addTest(EntityManagerFactoryTestSuite.suite());
return fullSuite;
}
}