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