From 606f63b2ab72ea3cb77f4866ae49b503c871fe84 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Fri, 11 Feb 2022 08:56:19 +0100 Subject: [PATCH] Polishing. Adding references to issues on test annotations. Made test methods package private. See #1164 --- ...sistentPropertyPathExtensionUnitTests.java | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java index 542aee09c..562d36690 100644 --- a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java +++ b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java @@ -38,8 +38,8 @@ public class PersistentPropertyPathExtensionUnitTests { JdbcMappingContext context = new JdbcMappingContext(); private RelationalPersistentEntity entity = context.getRequiredPersistentEntity(DummyEntity.class); - @Test - public void isEmbedded() { + @Test // DATAJDBC-340 + void isEmbedded() { assertSoftly(softly -> { @@ -49,8 +49,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void isMultiValued() { + @Test // DATAJDBC-340 + void isMultiValued() { assertSoftly(softly -> { @@ -62,8 +62,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void leafEntity() { + @Test // DATAJDBC-340 + void leafEntity() { RelationalPersistentEntity second = context.getRequiredPersistentEntity(Second.class); RelationalPersistentEntity third = context.getRequiredPersistentEntity(Third.class); @@ -78,8 +78,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void isEntity() { + @Test // DATAJDBC-340 + void isEntity() { assertSoftly(softly -> { @@ -94,8 +94,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void getTableName() { + @Test // DATAJDBC-340 + void getTableName() { assertSoftly(softly -> { @@ -109,8 +109,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void getTableAlias() { + @Test // DATAJDBC-340 + void getTableAlias() { assertSoftly(softly -> { @@ -129,8 +129,8 @@ public class PersistentPropertyPathExtensionUnitTests { }); } - @Test - public void getColumnName() { + @Test // DATAJDBC-340 + void getColumnName() { assertSoftly(softly -> { @@ -144,7 +144,7 @@ public class PersistentPropertyPathExtensionUnitTests { } @Test // DATAJDBC-359 - public void idDefiningPath() { + void idDefiningPath() { assertSoftly(softly -> { @@ -160,7 +160,7 @@ public class PersistentPropertyPathExtensionUnitTests { } @Test // DATAJDBC-359 - public void reverseColumnName() { + void reverseColumnName() { assertSoftly(softly -> { @@ -177,7 +177,7 @@ public class PersistentPropertyPathExtensionUnitTests { } @Test // DATAJDBC-359 - public void getRequiredIdProperty() { + void getRequiredIdProperty() { assertSoftly(softly -> { @@ -189,7 +189,7 @@ public class PersistentPropertyPathExtensionUnitTests { } @Test // DATAJDBC-359 - public void extendBy() { + void extendBy() { assertSoftly(softly -> {