File tree Expand file tree Collapse file tree 15 files changed +32
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/dialect Expand file tree Collapse file tree 15 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 99import org .hibernate .dialect .DB2Dialect ;
1010import org .hibernate .engine .jdbc .Size ;
1111import org .hibernate .query .spi .Limit ;
12+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1213import org .hibernate .type .spi .TypeConfiguration ;
1314
1415import org .junit .Before ;
2627 * @author Hardy Ferentschik
2728 */
2829
30+ @ RequiresDialect (DB2Dialect .class )
2931public class DB2DialectTestCase extends BaseUnitTestCase {
3032 private final DB2Dialect dialect = new DB2Dialect ();
3133 private TypeConfiguration typeConfiguration ;
Original file line number Diff line number Diff line change 44 */
55package org .hibernate .orm .test .dialect ;
66
7+ import org .hibernate .dialect .DB2Dialect ;
78import org .hibernate .dialect .pagination .AbstractLimitHandler ;
89import org .hibernate .dialect .pagination .DB2LimitHandler ;
10+ import org .hibernate .testing .orm .junit .RequiresDialect ;
911
1012/**
1113 * @author Yanming Zhou
1214 */
15+ @ RequiresDialect (DB2Dialect .class )
1316public class DB2LimitHandlerTest extends AbstractLimitHandlerTest {
1417
1518 @ Override
Original file line number Diff line number Diff line change 77import org .hibernate .dialect .DB2iDialect ;
88import org .hibernate .dialect .DB2zDialect ;
99import org .hibernate .testing .orm .junit .JiraKey ;
10+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1011import org .junit .Test ;
1112
1213import static org .junit .Assert .assertNotNull ;
1516 * @author Steve Ebersole
1617 */
1718@ JiraKey (value = "HHH-15046" )
19+ @ RequiresDialect (DB2iDialect .class )
20+ @ RequiresDialect (DB2zDialect .class )
1821public class Db2VariantDialectInitTests {
1922 @ Test
2023 public void testDB2zDialectInit () {
Original file line number Diff line number Diff line change 44 */
55package org .hibernate .orm .test .dialect ;
66
7+ import org .hibernate .dialect .OracleDialect ;
78import org .hibernate .dialect .pagination .AbstractLimitHandler ;
89
910import org .hibernate .dialect .pagination .Oracle12LimitHandler ;
1011import org .hibernate .query .spi .Limit ;
1112import org .hibernate .testing .orm .junit .JiraKey ;
1213
14+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1315import org .junit .jupiter .api .Test ;
1416
1517import static org .hibernate .dialect .pagination .AbstractLimitHandler .hasFirstRow ;
1618import static org .hibernate .dialect .pagination .AbstractLimitHandler .hasMaxRows ;
1719
1820@ JiraKey ( value = "HHH-14649" )
21+ @ RequiresDialect (OracleDialect .class )
1922public class Oracle12LimitHandlerTest extends AbstractLimitHandlerTest {
2023
2124 @ Override
Original file line number Diff line number Diff line change 3232import org .hibernate .testing .orm .junit .DialectFeatureChecks ;
3333import org .hibernate .testing .orm .junit .JiraKey ;
3434import org .hibernate .testing .junit4 .BaseUnitTestCase ;
35+ import org .hibernate .testing .orm .junit .RequiresDialect ;
3536import org .hibernate .type .spi .TypeConfiguration ;
3637import org .junit .Test ;
3738
4950 * @author Bryan Varner
5051 * @author Christoph Dreis
5152 */
53+ @ RequiresDialect (PostgreSQLDialect .class )
5254public class PostgreSQLDialectTestCase extends BaseUnitTestCase {
5355
5456 @ Test
Original file line number Diff line number Diff line change 2727 */
2828@ DomainModel (standardModels = StandardDomainModel .ANIMAL )
2929@ SessionFactory (statementInspectorClass = SQLStatementInspector .class )
30+ @ RequiresDialect (PostgreSQLDialect .class )
3031public class PostgreSQLTruncRoundFunctionTest {
3132 @ AfterEach
3233 public void tearDown (SessionFactoryScope scope ) {
Original file line number Diff line number Diff line change 1111
1212import org .hibernate .testing .orm .junit .JiraKey ;
1313import org .hibernate .testing .logger .Triggerable ;
14+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1415import org .hibernate .testing .orm .logger .LoggerInspectionExtension ;
1516import org .junit .jupiter .api .BeforeEach ;
1617import org .junit .jupiter .api .Test ;
2627/**
2728 * @author Jan Schatteman
2829 */
30+ @ RequiresDialect (CockroachDialect .class )
2931public class CockroachDialectVersionTest {
3032
3133 private Triggerable triggerable ;
Original file line number Diff line number Diff line change 99import org .hibernate .dialect .MySQLDialect ;
1010
1111import org .hibernate .testing .junit4 .BaseUnitTestCase ;
12+ import org .hibernate .testing .orm .junit .RequiresDialect ;
1213import org .junit .Test ;
1314
1415import static org .junit .Assert .assertEquals ;
1718import java .lang .reflect .Field ;
1819import java .util .Properties ;
1920
21+ @ RequiresDialect (MySQLDialect .class )
2022public class MySQLStorageEngineTest extends BaseUnitTestCase {
2123
2224 @ Test
Original file line number Diff line number Diff line change 66
77import org .hibernate .dialect .Dialect ;
88import org .hibernate .dialect .SQLServerDialect ;
9+ import org .hibernate .testing .orm .junit .RequiresDialect ;
910
1011/**
1112 * @author Steve Ebersole
1213 */
14+ @ RequiresDialect (SQLServerDialect .class )
1315public class SQLServerLockHintsTest extends AbstractLockHintTest {
1416 public static final Dialect DIALECT = new SQLServerDialect ();
1517
Original file line number Diff line number Diff line change 66
77import org .hibernate .dialect .Dialect ;
88import org .hibernate .dialect .SybaseDialect ;
9+ import org .hibernate .testing .orm .junit .RequiresDialect ;
910
1011/**
1112 * @author Steve Ebersole
1213 */
14+ @ RequiresDialect (SybaseDialect .class )
1315public class SybaseLockHintsTest extends AbstractLockHintTest {
1416 public static final Dialect DIALECT = new SybaseDialect ();
1517
You can’t perform that action at this time.
0 commit comments