File tree Expand file tree Collapse file tree 3 files changed +15
-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 +15
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public enum Neo4jVersion {
39
39
V_5_9 ,
40
40
V_5_10 ,
41
41
V_5_11 ,
42
+ V_5_12 ,
42
43
V_RC ;
43
44
44
45
@ Override
@@ -68,6 +69,8 @@ public String toString() {
68
69
return "5.10" ;
69
70
case V_5_11 :
70
71
return "5.11" ;
72
+ case V_5_12 :
73
+ return "5.12" ;
71
74
case V_RC :
72
75
return "rc" ;
73
76
default :
@@ -163,6 +166,8 @@ static Neo4jVersion parse(String version) {
163
166
} else if (minorVersion == 11 ) {
164
167
return Neo4jVersion .V_5_11 ;
165
168
} else if (minorVersion == 12 ) {
169
+ return Neo4jVersion .V_5_12 ;
170
+ } else if (minorVersion == 13 ) {
166
171
return Neo4jVersion .V_RC ;
167
172
}
168
173
}
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ class Neo4jVersionTest {
52
52
"5.9.0, V_5_9" ,
53
53
"5.10.0, V_5_10" ,
54
54
"5.11.0, V_5_11" ,
55
- "5.12.0, V_RC" ,
55
+ "5.12.0, V_5_12" ,
56
+ "5.13.0, V_RC" ,
56
57
})
57
58
void testParse (String input , Neo4jVersion expected ) {
58
59
assertEquals (expected .name (), Neo4jVersion .parse (input ).name ());
Original file line number Diff line number Diff line change @@ -255,6 +255,14 @@ void testSysInfoProc() throws IOException {
255
255
"Neo4j 5.11"
256
256
);
257
257
break ;
258
+ case V_5_12 :
259
+ expectedCompatibilities = Set .of (
260
+ "Neo4j Settings 5.12 (placeholder)" ,
261
+ "Neo4j Settings 5.12" ,
262
+ "Neo4j 5.12 (placeholder)" ,
263
+ "Neo4j 5.12"
264
+ );
265
+ break ;
258
266
case V_RC :
259
267
expectedCompatibilities = Set .of (
260
268
"Neo4j Settings RC" ,
You can’t perform that action at this time.
0 commit comments