File tree Expand file tree Collapse file tree 4 files changed +13
-17
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/locktimeout Expand file tree Collapse file tree 4 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 99import org .hibernate .dialect .DB2Dialect ;
1010import org .hibernate .dialect .DatabaseVersion ;
1111import org .hibernate .dialect .Dialect ;
12- import org .hibernate .testing .junit4 .BaseUnitTestCase ;
1312import org .hibernate .testing .orm .junit .RequiresDialect ;
14- import org .junit .Test ;
13+ import org .junit .jupiter . api . Test ;
1514
1615import static org .hibernate .Timeouts .SKIP_LOCKED ;
17- import static org .junit .Assert .assertEquals ;
16+ import static org .junit .jupiter . api . Assertions .assertEquals ;
1817
1918/**
2019 * @author Gavin King
2120 */
2221@ RequiresDialect (DB2Dialect .class )
23- public class DB2LockTimeoutTest extends BaseUnitTestCase {
22+ public class DB2LockTimeoutTest {
2423
2524 private final Dialect dialect = new DB2Dialect ( DatabaseVersion .make ( 11 , 5 ) );
2625
Original file line number Diff line number Diff line change 88import org .hibernate .LockOptions ;
99import org .hibernate .dialect .Dialect ;
1010import org .hibernate .dialect .HANADialect ;
11- import org .hibernate .testing .junit4 .BaseUnitTestCase ;
1211import org .hibernate .testing .orm .junit .RequiresDialect ;
13- import org .junit .Test ;
12+ import org .junit .jupiter . api . Test ;
1413
1514import static org .hibernate .Timeouts .NO_WAIT ;
1615import static org .hibernate .Timeouts .SKIP_LOCKED ;
17- import static org .junit .Assert .assertEquals ;
16+ import static org .junit .jupiter . api . Assertions .assertEquals ;
1817
1918/**
2019 * Expected lock clauses according to the official HANA FOR UPDATE clause documentation:
2423 * @author Vlad Mihalcea
2524 */
2625@ RequiresDialect (HANADialect .class )
27- public class HANALockTimeoutTest extends BaseUnitTestCase {
26+ public class HANALockTimeoutTest {
2827
2928 private final Dialect dialect = new HANADialect ();
3029
Original file line number Diff line number Diff line change 99import org .hibernate .dialect .DatabaseVersion ;
1010import org .hibernate .dialect .Dialect ;
1111import org .hibernate .dialect .OracleDialect ;
12- import org .hibernate .testing .RequiresDialect ;
13- import org .hibernate .testing .junit4 .BaseUnitTestCase ;
14- import org .junit .Test ;
12+ import org .hibernate .testing .orm .junit .RequiresDialect ;
13+ import org .junit .jupiter .api .Test ;
1514
1615import static org .hibernate .Timeouts .NO_WAIT ;
1716import static org .hibernate .Timeouts .SKIP_LOCKED ;
18- import static org .junit .Assert .assertEquals ;
17+ import static org .junit .jupiter . api . Assertions .assertEquals ;
1918
2019/**
2120 * @author Vlad Mihalcea
2221 */
2322@ RequiresDialect (OracleDialect .class )
24- public class OracleLockTimeoutTest extends BaseUnitTestCase {
23+ public class OracleLockTimeoutTest {
2524
2625 private final Dialect dialect = new OracleDialect ( DatabaseVersion .make ( 12 ) );
2726
Original file line number Diff line number Diff line change 99import org .hibernate .dialect .Dialect ;
1010import org .hibernate .dialect .PostgreSQLDialect ;
1111
12- import org .hibernate .testing .junit4 .BaseUnitTestCase ;
1312import org .hibernate .testing .orm .junit .RequiresDialect ;
14- import org .junit .Test ;
13+ import org .junit .jupiter . api . Test ;
1514
1615import static org .hibernate .Timeouts .NO_WAIT ;
1716import static org .hibernate .Timeouts .SKIP_LOCKED ;
18- import static org .junit .Assert .assertEquals ;
17+ import static org .junit .jupiter . api . Assertions .assertEquals ;
1918
2019/**
2120 * @author Vlad Mihalcea
2221 */
2322@ RequiresDialect (PostgreSQLDialect .class )
24- public class PostgreSQLLockTimeoutTest extends BaseUnitTestCase {
23+ public class PostgreSQLLockTimeoutTest {
2524
2625 private final Dialect dialect = new PostgreSQLDialect ();
2726
You can’t perform that action at this time.
0 commit comments