Extract QuerydslPredicateExecutor to its own fragment.

Closes #398
This commit is contained in:
Mark Paluch
2021-10-11 10:26:28 +02:00
parent 44ab6db763
commit 201b957f9e
4 changed files with 284 additions and 101 deletions

View File

@@ -16,12 +16,10 @@
package org.springframework.data.map;
import static org.assertj.core.api.Assertions.*;
import static org.assertj.core.api.Assumptions.*;
import java.util.List;
import java.util.Optional;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.dao.IncorrectResultSizeDataAccessException;
@@ -37,7 +35,6 @@ import org.springframework.data.map.QuerydslKeyValueRepositoryUnitTests.QPersonR
import org.springframework.data.querydsl.QSort;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.data.util.Streamable;
import org.springframework.data.util.Version;
/**
* Unit tests for {@link QuerydslKeyValueRepository}.
@@ -49,11 +46,6 @@ import org.springframework.data.util.Version;
*/
public class QuerydslKeyValueRepositoryUnitTests extends AbstractRepositoryUnitTests<QPersonRepository> {
@BeforeEach
void before() {
assumeThat(Version.javaVersion().toString()).startsWith("1.8");
}
@Test // DATACMNS-525
void findOneIsExecutedCorrectly() {