Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6e8d2e323944d1cad5449b6fedc034351563b075 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
 * Copyright (c) 2006 Oracle. All rights reserved.
 * This program and the accompanying materials are made available under the terms of
 * the Eclipse Public License v1.0, which accompanies this distribution and is available at
 * http://www.eclipse.org/legal/epl-v10.html.
 *
 * Contributors:
 *     Oracle - initial API and implementation
 ******************************************************************************/
package org.eclipse.jpt.db.tests.internal.platforms;

import junit.framework.Test;
import junit.framework.TestSuite;
import junit.swingui.TestRunner;

/**
 *  Oracle 9i Thin Driver Test
 */
public class Oracle9iTests extends DTPPlatformTests {

    public static void main( String[] args) {
        TestRunner.main( new String[] { "-c", Oracle9iTests.class.getName()});
    }

    public static Test suite() {
        return new TestSuite( Oracle9iTests.class);
    }
    
    public Oracle9iTests( String name) {
        super( name);
    }

	protected String databaseVendor() {
		return "Oracle";
	}

	protected String databaseVersion() {
		return "9";
	}

	protected String driverClass() {
		return "oracle.jdbc.OracleDriver";
	}

	protected String driverDefinitionId() {
		return "DriverDefn.Oracle Thin Driver";
	}

	protected String driverDefinitionType() {
		return "org.eclipse.datatools.enablement.oracle.9.driverTemplate";
	}

	protected String driverName() {
		return "Oracle 9i Thin Driver";
	}
	
    protected String getConfigName() {
    	return "oracle9i.properties";
    }
}

Back to the top