Skip to content

Commit 76d97ab

Browse files
committed
HHH-19846 - Remove JUnit4: org.hibernate.orm.test.mapping
Signed-off-by: Jan Schatteman <[email protected]>
1 parent 8465b17 commit 76d97ab

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/mapping/ValueVisitorTest.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,26 @@
2929
import org.hibernate.mapping.ValueVisitor;
3030

3131
import org.hibernate.testing.boot.MetadataBuildingContextTestingImpl;
32-
import org.hibernate.testing.junit4.BaseUnitTestCase;
3332
import org.hibernate.testing.util.ServiceRegistryUtil;
34-
import org.junit.After;
35-
import org.junit.Before;
36-
import org.junit.Test;
33+
import org.junit.jupiter.api.AfterEach;
34+
import org.junit.jupiter.api.BeforeEach;
35+
import org.junit.jupiter.api.Test;
3736

3837
/**
3938
* @author max
4039
*/
41-
public class ValueVisitorTest extends BaseUnitTestCase {
40+
public class ValueVisitorTest {
4241

4342
private StandardServiceRegistry serviceRegistry;
4443
private MetadataBuildingContext metadataBuildingContext;
4544

46-
@Before
45+
@BeforeEach
4746
public void prepare() {
4847
serviceRegistry = ServiceRegistryUtil.serviceRegistry();
4948
metadataBuildingContext = new MetadataBuildingContextTestingImpl( serviceRegistry );
5049
}
5150

52-
@After
51+
@AfterEach
5352
public void release() {
5453
StandardServiceRegistryBuilder.destroy( serviceRegistry );
5554
}

0 commit comments

Comments
 (0)