| /* |
| * Copyright (c) 1998, 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 from Oracle TopLink |
| package org.eclipse.persistence.testing.tests.workbenchintegration.ExpressionPersistence; |
| |
| import org.eclipse.persistence.testing.framework.TestSuite; |
| import org.eclipse.persistence.testing.tests.workbenchintegration.EmployeeWorkbenchIntegrationSystem; |
| |
| |
| /** |
| * Defines tests for expressions XML and class-gen storage. |
| */ |
| public class |
| |
| ReportQueryTestSuite extends TestSuite { |
| public ReportQueryTestSuite() { |
| setDescription("Contains test to test the persistence, EmployeeWorkbenchIntegrationSystem.to DeploymentXML or Project class, EmployeeWorkbenchIntegrationSystem.of the TopLink ReportQuery."); |
| } |
| |
| @Override |
| public void addTests() { |
| addTest(new ExpressionPersistenceTest("AddAttributeReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddAttributeReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddAverageReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddAverageReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddCountReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddCountReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddFunctionItemReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddFunctionItemReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddGroupingReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddGroupingReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddItemReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddItemReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddMaximumReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddMaximumReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddMinimumReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddMinimumReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddStandardDeviationReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddStandardDeviationReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddVarianceReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddVarianceReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddSumReportQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddSumReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddJoinedObjectLevelReadQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddJoinedReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddOrderingReadAllQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddOrderingReportQueryTest())); |
| addTest(new ExpressionPersistenceTest("AddBatchReadReadAllQuery", |
| EmployeeWorkbenchIntegrationSystem.buildAddBatchReadReportQueryTest())); |
| } |
| } |