File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
main/java/org/neo4j/driver/internal/util
test/java/org/neo4j/driver/v1/integration Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2828
2929public class ServerVersion
3030{
31+ public static final ServerVersion v3_4_0 = new ServerVersion ( 3 , 4 , 0 );
3132 public static final ServerVersion v3_2_0 = new ServerVersion ( 3 , 2 , 0 );
3233 public static final ServerVersion v3_1_0 = new ServerVersion ( 3 , 1 , 0 );
3334 public static final ServerVersion v3_0_0 = new ServerVersion ( 3 , 0 , 0 );
Original file line number Diff line number Diff line change 1818 */
1919package org .neo4j .driver .v1 .integration ;
2020
21+ import org .junit .Before ;
2122import org .junit .Rule ;
2223import org .junit .Test ;
2324
3233import static java .util .Arrays .asList ;
3334import static java .util .Collections .singletonMap ;
3435import static org .junit .Assert .assertEquals ;
36+ import static org .junit .Assume .assumeTrue ;
37+ import static org .neo4j .driver .internal .util .ServerVersion .v3_4_0 ;
3538import static org .neo4j .driver .v1 .Values .point ;
3639
3740public class PointTypeIT
@@ -45,6 +48,12 @@ public class PointTypeIT
4548 @ Rule
4649 public final TestNeo4jSession session = new TestNeo4jSession ();
4750
51+ @ Before
52+ public void setUp ()
53+ {
54+ assumeTrue ( session .version ().greaterThanOrEqual ( v3_4_0 ) );
55+ }
56+
4857 @ Test
4958 public void shouldReceivePoint ()
5059 {
You can’t perform that action at this time.
0 commit comments