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 28
28
29
29
public class ServerVersion
30
30
{
31
+ public static final ServerVersion v3_4_0 = new ServerVersion ( 3 , 4 , 0 );
31
32
public static final ServerVersion v3_2_0 = new ServerVersion ( 3 , 2 , 0 );
32
33
public static final ServerVersion v3_1_0 = new ServerVersion ( 3 , 1 , 0 );
33
34
public static final ServerVersion v3_0_0 = new ServerVersion ( 3 , 0 , 0 );
Original file line number Diff line number Diff line change 18
18
*/
19
19
package org .neo4j .driver .v1 .integration ;
20
20
21
+ import org .junit .Before ;
21
22
import org .junit .Rule ;
22
23
import org .junit .Test ;
23
24
32
33
import static java .util .Arrays .asList ;
33
34
import static java .util .Collections .singletonMap ;
34
35
import static org .junit .Assert .assertEquals ;
36
+ import static org .junit .Assume .assumeTrue ;
37
+ import static org .neo4j .driver .internal .util .ServerVersion .v3_4_0 ;
35
38
import static org .neo4j .driver .v1 .Values .point ;
36
39
37
40
public class PointTypeIT
@@ -45,6 +48,12 @@ public class PointTypeIT
45
48
@ Rule
46
49
public final TestNeo4jSession session = new TestNeo4jSession ();
47
50
51
+ @ Before
52
+ public void setUp ()
53
+ {
54
+ assumeTrue ( session .version ().greaterThanOrEqual ( v3_4_0 ) );
55
+ }
56
+
48
57
@ Test
49
58
public void shouldReceivePoint ()
50
59
{
You can’t perform that action at this time.
0 commit comments