DATACMNS-1718 - Migrate tests to JUnit 5.

This commit is contained in:
Mark Paluch
2020-05-07 11:16:29 +02:00
parent 024f87906b
commit 152cee7956
251 changed files with 2759 additions and 2743 deletions

View File

@@ -19,7 +19,7 @@ import static org.assertj.core.api.Assertions.*;
import java.util.Set;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.springframework.data.util.AnnotatedTypeScanner;
/**
@@ -27,11 +27,11 @@ import org.springframework.data.util.AnnotatedTypeScanner;
*
* @author Oliver Gierke
*/
public class TypeAliasUnitTests {
class TypeAliasUnitTests {
@Test // DATACMNS-547
@SuppressWarnings("unchecked")
public void scanningforAtPersistentFindsTypeAliasAnnotatedTypes() {
void scanningforAtPersistentFindsTypeAliasAnnotatedTypes() {
AnnotatedTypeScanner scanner = new AnnotatedTypeScanner(Persistent.class);
Set<Class<?>> types = scanner.findTypes(getClass().getPackage().getName());