1 | public class OracleCheckStyleTest extends ResultCheckStyleTest {
↵ | | 1 | public class DB2CustomSQLTest extends CustomStoredProcTestSupport {↵
|
| | | 2 | ↵
|
2 | public OracleCheckStyleTest(String name) {
↵ | | 3 | public DB2CustomSQLTest(String str) {↵
|
3 | super( name );
↵ | | 4 | super(str);↵
|
4 | }↵ | | 5 | }↵
|
5 |
↵ | | |
|
|
6 | public String[] getMappings() {
↵ | | 6 | public String[] getMappings() {↵
|
7 | return new String[] { "sql/check/oracle-mappings.hbm.xml" };
↵ | | 7 | return new String[] { "sql/hand/custom/db2/Mappings.hbm.xml" };↵
|
8 | }↵ | | 8 | }↵
|
9 |
↵ | | |
|
|
10 | public boolean appliesTo(Dialect dialect) {
↵ | | 9 | public static Test suite() {↵
|
11 | return dialect instanceof Oracle9iDialect;↵ | | 10 | return ↵
|
12 | }↵ | | |
|
|
13 | public static Test suite(↵ | | 11 | new FunctionalTestClassTestSuite( DB2CustomSQLTest.class );↵
|
| | | 12 | }↵
|
|
14 | ) {
↵ | | 13 | public boolean appliesTo(Dialect dialect) {↵
|
15 | return new FunctionalTestClassTestSuite( OracleCheckStyleTest.class ) | | 14 | return ( dialect instanceof DB2Dialect)
|