Browse Source

Polishing.

Adding references to issues on test annotations.
Made test methods package private.

See #1164
pull/1188/head
Jens Schauder 4 years ago
parent
commit
606f63b2ab
No known key found for this signature in database
GPG Key ID: 45CC872F17423DBF
  1. 36
      spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java

36
spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/PersistentPropertyPathExtensionUnitTests.java

@ -38,8 +38,8 @@ public class PersistentPropertyPathExtensionUnitTests { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -144,7 +144,7 @@ public class PersistentPropertyPathExtensionUnitTests {
}
@Test // DATAJDBC-359
public void idDefiningPath() {
void idDefiningPath() {
assertSoftly(softly -> {
@ -160,7 +160,7 @@ public class PersistentPropertyPathExtensionUnitTests { @@ -160,7 +160,7 @@ public class PersistentPropertyPathExtensionUnitTests {
}
@Test // DATAJDBC-359
public void reverseColumnName() {
void reverseColumnName() {
assertSoftly(softly -> {
@ -177,7 +177,7 @@ public class PersistentPropertyPathExtensionUnitTests { @@ -177,7 +177,7 @@ public class PersistentPropertyPathExtensionUnitTests {
}
@Test // DATAJDBC-359
public void getRequiredIdProperty() {
void getRequiredIdProperty() {
assertSoftly(softly -> {
@ -189,7 +189,7 @@ public class PersistentPropertyPathExtensionUnitTests { @@ -189,7 +189,7 @@ public class PersistentPropertyPathExtensionUnitTests {
}
@Test // DATAJDBC-359
public void extendBy() {
void extendBy() {
assertSoftly(softly -> {

Loading…
Cancel
Save