Browse Source

Polishing.

Reduce test class and method visibility.

See #1939
3.3.x
Mark Paluch 1 year ago
parent
commit
29a7a3b5aa
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 10
      spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java

10
spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java

@ -28,10 +28,10 @@ import org.springframework.data.domain.Sort; @@ -28,10 +28,10 @@ import org.springframework.data.domain.Sort;
* @author Jens Schauder
* @author Mark Paluch
*/
public class QueryUnitTests {
class QueryUnitTests {
@Test // DATAJDBC-614
public void withCombinesSortAndPaging() {
void withCombinesSortAndPaging() {
Query query = Query.empty() //
.sort(Sort.by("alpha")) //
@ -43,7 +43,7 @@ public class QueryUnitTests { @@ -43,7 +43,7 @@ public class QueryUnitTests {
}
@Test // DATAJDBC-614
public void withCombinesEmptySortAndPaging() {
void withCombinesEmptySortAndPaging() {
Query query = Query.empty() //
.with(PageRequest.of(2, 20, Sort.by("beta")));
@ -54,7 +54,7 @@ public class QueryUnitTests { @@ -54,7 +54,7 @@ public class QueryUnitTests {
}
@Test // DATAJDBC-614
public void withCombinesSortAndUnsortedPaging() {
void withCombinesSortAndUnsortedPaging() {
Query query = Query.empty() //
.sort(Sort.by("alpha")) //
@ -66,7 +66,7 @@ public class QueryUnitTests { @@ -66,7 +66,7 @@ public class QueryUnitTests {
}
@Test // GH-1939
public void withCombinesUnpagedWithSort() {
void withCombinesUnpagedWithSort() {
Query query = Query.empty() //
.with(Pageable.unpaged(Sort.by("beta")));

Loading…
Cancel
Save