File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
main/java/org/neo4j/gds/compat
test/java/org/neo4j/gds/compat
proc/sysinfo/src/test/java/org/neo4j/gds Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public enum Neo4jVersion {
3636 V_5_16 ,
3737 V_5_17 ,
3838 V_5_18 ,
39+ V_5_19 ,
3940 V_RC ;
4041
4142 private static final int MINOR_DEV_VERSION = 19 ;
@@ -79,6 +80,8 @@ static Neo4jVersion parse(String version) {
7980 return Neo4jVersion .V_5_17 ;
8081 case 18 :
8182 return Neo4jVersion .V_5_18 ;
83+ case 19 :
84+ return Neo4jVersion .V_5_19 ;
8285 default :
8386 if (minorVersion >= MINOR_DEV_VERSION ) {
8487 return Neo4jVersion .V_RC ;
@@ -153,6 +156,8 @@ public String toString() {
153156 return "5.17" ;
154157 case V_5_18 :
155158 return "5.18" ;
159+ case V_5_19 :
160+ return "5.19" ;
156161 case V_RC :
157162 return "dev" ;
158163 default :
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ class Neo4jVersionTest {
4646 "5.16.0, V_5_16" ,
4747 "5.17.0, V_5_17" ,
4848 "5.18.0, V_5_18" ,
49- "5.19.0, V_RC" ,
49+ "5.19.0, V_5_19" ,
50+ "5.20.0, V_RC" ,
5051 })
5152 void testParse (String input , Neo4jVersion expected ) {
5253 assertEquals (expected .name (), Neo4jVersion .parse (input ).name ());
@@ -95,6 +96,7 @@ void shouldNotRespectVersionOverride() {
9596 "5.16.0, 5, 16" ,
9697 "5.17.0, 5, 17" ,
9798 "5.18.1, 5, 18" ,
99+ "5.19.0, 5, 19" ,
98100 }
99101 )
100102 void semanticVersion (String input , int expectedMajor , int expectedMinor ) {
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ class SysInfoProcTest extends BaseProcTest {
8181 "Neo4j 5.18" ,
8282 "Neo4j 5.18 (placeholder)" ,
8383
84+ "Neo4j 5.19" ,
85+ "Neo4j 5.19 (placeholder)" ,
86+
8487 "Neo4j DEV" ,
8588 "Neo4j DEV (placeholder)" ,
8689
@@ -201,6 +204,14 @@ void testSysInfoProc() throws IOException {
201204 "Neo4j 5.18"
202205 );
203206 break ;
207+ case V_5_19 :
208+ expectedCompatibilities = Set .of (
209+ "Neo4j Settings 5.x (placeholder)" ,
210+ "Neo4j Settings 5.x" ,
211+ "Neo4j 5.19 (placeholder)" ,
212+ "Neo4j 5.19"
213+ );
214+ break ;
204215 case V_RC :
205216 expectedCompatibilities = Set .of (
206217 "Neo4j Settings 5.x" ,
You can’t perform that action at this time.
0 commit comments