blob: f07fbdc6ee3edc34653107fbb0512c95c0b7dd69 [file] [log] [blame]
/*******************************************************************************
* 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 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:
* Mike Norman - June 10 2011, created DDL parser package
******************************************************************************/
package org.eclipse.persistence.tools.oracleddl.test;
//javase imports
import java.sql.Connection;
import java.sql.SQLException;
//JUnit4 imports
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
//testing imports
import org.eclipse.persistence.tools.oracleddl.test.databasetypebuilder.DatabaseTypeBuilderTestSuite;
import org.eclipse.persistence.tools.oracleddl.test.ddlparser.DDLParserTest;
import org.eclipse.persistence.tools.oracleddl.test.visit.VisitorsTestSuite;
import static org.eclipse.persistence.tools.oracleddl.test.TestHelper.buildConnection;
@RunWith(Suite.class)
@SuiteClasses({
DDLParserTest.class,
VisitorsTestSuite.class,
DatabaseTypeBuilderTestSuite.class
}
)
public class AllTests {
//shared JUnit fixtures
public static Connection conn = null;
@BeforeClass
public static void setUp() throws ClassNotFoundException, SQLException {
conn = buildConnection();
}
}