Skip to content

Commit e8c933d

Browse files
committed
Polishing.
Adding references to issues on test annotations. Made test methods package private. See #1164
1 parent cd3d0b1 commit e8c933d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

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

+18-18
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public class PersistentPropertyPathExtensionUnitTests {
3838
JdbcMappingContext context = new JdbcMappingContext();
3939
private RelationalPersistentEntity<?> entity = context.getRequiredPersistentEntity(DummyEntity.class);
4040

41-
@Test
42-
public void isEmbedded() {
41+
@Test // DATAJDBC-340
42+
void isEmbedded() {
4343

4444
assertSoftly(softly -> {
4545

@@ -49,8 +49,8 @@ public void isEmbedded() {
4949
});
5050
}
5151

52-
@Test
53-
public void isMultiValued() {
52+
@Test // DATAJDBC-340
53+
void isMultiValued() {
5454

5555
assertSoftly(softly -> {
5656

@@ -62,8 +62,8 @@ public void isMultiValued() {
6262
});
6363
}
6464

65-
@Test
66-
public void leafEntity() {
65+
@Test // DATAJDBC-340
66+
void leafEntity() {
6767

6868
RelationalPersistentEntity<?> second = context.getRequiredPersistentEntity(Second.class);
6969
RelationalPersistentEntity<?> third = context.getRequiredPersistentEntity(Third.class);
@@ -78,8 +78,8 @@ public void leafEntity() {
7878
});
7979
}
8080

81-
@Test
82-
public void isEntity() {
81+
@Test // DATAJDBC-340
82+
void isEntity() {
8383

8484
assertSoftly(softly -> {
8585

@@ -94,8 +94,8 @@ public void isEntity() {
9494
});
9595
}
9696

97-
@Test
98-
public void getTableName() {
97+
@Test // DATAJDBC-340
98+
void getTableName() {
9999

100100
assertSoftly(softly -> {
101101

@@ -109,8 +109,8 @@ public void getTableName() {
109109
});
110110
}
111111

112-
@Test
113-
public void getTableAlias() {
112+
@Test // DATAJDBC-340
113+
void getTableAlias() {
114114

115115
assertSoftly(softly -> {
116116

@@ -129,8 +129,8 @@ public void getTableAlias() {
129129
});
130130
}
131131

132-
@Test
133-
public void getColumnName() {
132+
@Test // DATAJDBC-340
133+
void getColumnName() {
134134

135135
assertSoftly(softly -> {
136136

@@ -144,7 +144,7 @@ public void getColumnName() {
144144
}
145145

146146
@Test // DATAJDBC-359
147-
public void idDefiningPath() {
147+
void idDefiningPath() {
148148

149149
assertSoftly(softly -> {
150150

@@ -160,7 +160,7 @@ public void idDefiningPath() {
160160
}
161161

162162
@Test // DATAJDBC-359
163-
public void reverseColumnName() {
163+
void reverseColumnName() {
164164

165165
assertSoftly(softly -> {
166166

@@ -177,7 +177,7 @@ public void reverseColumnName() {
177177
}
178178

179179
@Test // DATAJDBC-359
180-
public void getRequiredIdProperty() {
180+
void getRequiredIdProperty() {
181181

182182
assertSoftly(softly -> {
183183

@@ -189,7 +189,7 @@ public void getRequiredIdProperty() {
189189
}
190190

191191
@Test // DATAJDBC-359
192-
public void extendBy() {
192+
void extendBy() {
193193

194194
assertSoftly(softly -> {
195195

0 commit comments

Comments
 (0)