| /******************************************************************************* |
| * Copyright (c) 2011, 2013 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: |
| * Oracle - initial API and implementation |
| * |
| ******************************************************************************/ |
| package org.eclipse.persistence.jpa.tests.jpql; |
| |
| /** |
| * The root class of all the Hermes unit-tests. |
| * |
| * @version 2.4 |
| * @since 2.4 |
| * @author Pascal Filion |
| */ |
| public abstract class JPQLBasicTest { |
| |
| /** |
| * Creates a new <code>JPQLBasicTest</code>. |
| */ |
| protected JPQLBasicTest() { |
| super(); |
| initialize(); |
| } |
| |
| /** |
| * Initializes this unit-tests. |
| */ |
| protected void initialize() { |
| } |
| |
| /** |
| * Notifies this helper before a test is invoked. |
| * |
| * @throws Exception If an error was encountered during the initialization |
| */ |
| protected void setUp() throws Exception { |
| } |
| |
| /** |
| * Notifies this helper before the tests of one class are invoked. |
| * |
| * @throws Exception If an error was encountered during the initialization |
| */ |
| protected void setUpClass() throws Exception { |
| } |
| |
| /** |
| * Notifies this helper after a test was invoked. |
| * |
| * @throws Exception If an error was encountered during execution |
| */ |
| protected void tearDown() throws Exception { |
| } |
| |
| /** |
| * Notifies this helper after the tests of one class were invoked. |
| * |
| * @throws Exception If an error was encountered during execution |
| */ |
| protected void tearDownClass() throws Exception { |
| } |
| } |