DATAKV-280 - Enable building with Java 11.
Rely on inherited enforcer plugin configuration. Disable Querydsl tests that cannot be executed with Java9+.
This commit is contained in:
committed by
Greg Turnquist
parent
c0b4dda728
commit
0e92913e8e
@@ -21,6 +21,7 @@ import static org.mockito.Mockito.*;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Before;
|
||||
@@ -70,8 +71,9 @@ public class SpelQueryEngineUnitTests {
|
||||
|
||||
doReturn(people).when(adapter).getAllOf(anyString());
|
||||
|
||||
assertThat(engine.execute(createQueryForMethodWithArgs("findByFirstname", "bob"), null, -1, -1, anyString()))
|
||||
.containsExactly(BOB_WITH_FIRSTNAME);
|
||||
Collection result = engine.execute(createQueryForMethodWithArgs("findByFirstname", "bob"), null, -1, -1,
|
||||
anyString());
|
||||
assertThat(result).containsExactly(BOB_WITH_FIRSTNAME);
|
||||
}
|
||||
|
||||
@Test // DATAKV-114
|
||||
|
||||
Reference in New Issue
Block a user