Skip to content

Commit 15cbc03

Browse files
fixed documentation tests and style
Co-Authored-By: Florentin Dörre <florentin.dorre@neotechnology.com>
1 parent 5075a1e commit 15cbc03

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

doc-test-tools/src/main/java/org/neo4j/gds/doc/syntax/SyntaxMode.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public enum SyntaxMode {
3333
GRAPH_PROJECT_CYPHER_AGGREGATION("graph-project-cypher-aggregation-syntax"),
3434
STREAM_NODE_PROPERTIES("stream-node-properties-syntax"),
3535
STREAM_SINGLE_PROPERTY("include-with-stream-single-property"),
36+
37+
STREAM_MULTIPLE_PROPERTIES("include-with-stream-multiple-properties"),
3638
STREAM_TOPOLOGY("include-with-stream-topology"),
3739
GRAPH_EXISTS("graph-exists-syntax"),
3840
MODEL_EXISTS("model-exists-syntax"),

doc-test/src/test/java/org/neo4j/gds/doc/syntax/GraphCatalogRelationshipOperationsSyntaxTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class GraphCatalogRelationshipOperationsSyntaxTest extends SyntaxTestBase {
2626
@Override
2727
protected Iterable<SyntaxModeMeta> syntaxModes() {
2828
return List.of(
29-
SyntaxModeMeta.of(SyntaxMode.STREAM),
3029
SyntaxModeMeta.of(SyntaxMode.STREAM_SINGLE_PROPERTY),
3130
SyntaxModeMeta.of(SyntaxMode.STREAM_TOPOLOGY),
31+
SyntaxModeMeta.of(SyntaxMode.STREAM_MULTIPLE_PROPERTIES),
3232
SyntaxModeMeta.of(SyntaxMode.WRITE),
3333
SyntaxModeMeta.of(SyntaxMode.DELETE_RELATIONSHIPS)
3434
);

open-packaging/src/test/java/org/neo4j/gds/OpenGdsProcedureSmokeTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ class OpenGdsProcedureSmokeTest extends BaseProcTest {
349349
"gds.fastRP.write.estimate",
350350

351351
"gds.beta.graph.relationships.stream",
352+
"gds.beta.graph.relationships.toUndirected",
353+
"gds.beta.graph.relationships.toUndirected.estimate",
352354

353355
"gds.graph.deleteRelationships",
354356
"gds.graph.relationships.drop",
@@ -528,7 +530,7 @@ void countShouldMatch() {
528530
);
529531

530532
// If you find yourself updating this count, please also update the count in SmokeTest.kt
531-
int expectedCount = 375;
533+
int expectedCount = 377;
532534
assertEquals(
533535
expectedCount,
534536
registeredProcedures.size(),

proc/beta/src/test/java/org/neo4j/gds/beta/undirected/ToUndirectedProcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ void memoryEstimation() {
129129
"relationshipCount", 3L
130130
)));
131131
}
132-
}
132+
}

0 commit comments

Comments
 (0)