| /* |
| * Copyright (c) 2011, 2021 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 v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // Contributors: |
| // Oracle - initial API and implementation |
| // |
| package org.eclipse.persistence.jpa.tests.jpql.tools.model; |
| |
| import org.eclipse.persistence.jpa.jpql.parser.DefaultEclipseLinkJPQLGrammar; |
| import org.eclipse.persistence.jpa.jpql.tools.model.EclipseLinkJPQLQueryBuilder; |
| import org.eclipse.persistence.jpa.jpql.tools.model.IJPQLQueryBuilder; |
| import org.eclipse.persistence.jpa.jpql.tools.model.JPQLQueryBuilder2_0; |
| import org.eclipse.persistence.jpa.tests.jpql.HermesBugsTest; |
| import org.eclipse.persistence.jpa.tests.jpql.JPQLTestRunner; |
| import org.junit.runner.RunWith; |
| import org.junit.runners.Suite.SuiteClasses; |
| |
| /** |
| * The test suite containing the unit-tests testing the |
| * {@link org.eclipse.persistence.jpa.jpql.tools.model.IJPQLQueryFormatter IJPQLQueryFormatter}. |
| * |
| * @version 2.4 |
| * @since 2.4 |
| * @author Pascal Filion |
| */ |
| @SuiteClasses({ |
| DefaultActualJPQLQueryFormatterTest.class, |
| HermesBugsTest.class |
| }) |
| @RunWith(JPQLTestRunner.class) |
| public final class AllJPQLQueryFormatterTests { |
| |
| private AllJPQLQueryFormatterTests() { |
| super(); |
| } |
| |
| @IJPQLQueryBuilderTestHelper |
| static IJPQLQueryBuilder[] buildJPQLQueryBuilders() { |
| return new IJPQLQueryBuilder[] { |
| new JPQLQueryBuilder2_0(), |
| new EclipseLinkJPQLQueryBuilder(DefaultEclipseLinkJPQLGrammar.instance()), |
| }; |
| } |
| } |