~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/sql/check/OracleCheckStyleTest.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.hibernate.test.sql.check;
 
2
 
 
3
import junit.framework.Test;
 
4
 
 
5
import org.hibernate.dialect.Dialect;
 
6
import org.hibernate.dialect.Oracle9Dialect;
 
7
import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
 
8
 
 
9
/**
 
10
 * todo: describe OracleCheckStyleTest
 
11
 *
 
12
 * @author Steve Ebersole
 
13
 */
 
14
public class OracleCheckStyleTest extends ResultCheckStyleTest {
 
15
        public OracleCheckStyleTest(String name) {
 
16
                super( name );
 
17
        }
 
18
 
 
19
        public String[] getMappings() {
 
20
                return new String[] { "sql/check/oracle-mappings.hbm.xml" };
 
21
        }
 
22
 
 
23
        public boolean appliesTo(Dialect dialect) {
 
24
                return dialect instanceof Oracle9Dialect;
 
25
        }
 
26
 
 
27
        public static Test suite() {
 
28
                return new FunctionalTestClassTestSuite( OracleCheckStyleTest.class );
 
29
        }
 
30
 
 
31
}