Skip to content

Split up procedures and functions into separate classes #35

Split up procedures and functions into separate classes

Split up procedures and functions into separate classes #35

GitHub Actions / Test Results failed May 30, 2024 in 0s

2 fail, 25 skipped, 288 pass in 9m 48s

315 tests   288 ✅  9m 48s ⏱️
 33 suites   25 💤
 33 files      2 ❌

Results for commit 1e50734.

Annotations

Check warning on line 0 in org.neo4j.gis.spatial.ProgressLoggingListenerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testProgressLoggingListnerWithOnlyStartAndEnd (org.neo4j.gis.spatial.ProgressLoggingListenerTest) failed

target/surefire-reports/TEST-org.neo4j.gis.spatial.ProgressLoggingListenerTest.xml [took 1s]
Raw output
Wanted but not invoked:
printStream.printf(
    "%.2f (10/10) - Completed test%n",
    100.0f
);
-> at java.base/java.io.PrintStream.printf(PrintStream.java:1105)

However, there were exactly 3 interactions with this mock:
printStream.println("Starting test");
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.begin(ProgressLoggingListener.java:82)

printStream.println(
    "10.00 (1/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "100.00 (10/10) - Completed test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)


	at java.base/java.io.PrintStream.printf(PrintStream.java:1105)
	at org.neo4j.gis.spatial.ProgressLoggingListenerTest.testProgressLoggingListenerWithSpecifiedWaits(ProgressLoggingListenerTest.java:66)
	at org.neo4j.gis.spatial.ProgressLoggingListenerTest.testProgressLoggingListnerWithOnlyStartAndEnd(ProgressLoggingListenerTest.java:47)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Starting test
10.00 (1/10) - Running test
100.00 (10/10) - Completed test

Check warning on line 0 in org.neo4j.gis.spatial.ProgressLoggingListenerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testProgressLoggingListnerWithAllLogs (org.neo4j.gis.spatial.ProgressLoggingListenerTest) failed

target/surefire-reports/TEST-org.neo4j.gis.spatial.ProgressLoggingListenerTest.xml [took 0s]
Raw output
Wanted but not invoked:
printStream.printf(
    "%.2f (10/10) - Completed test%n",
    100.0f
);
-> at java.base/java.io.PrintStream.printf(PrintStream.java:1105)

However, there were exactly 12 interactions with this mock:
printStream.println("Starting test");
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.begin(ProgressLoggingListener.java:82)

printStream.println(
    "10.00 (1/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "20.00 (2/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "30.00 (3/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "40.00 (4/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "50.00 (5/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "60.00 (6/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "70.00 (7/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "80.00 (8/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "90.00 (9/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "100.00 (10/10) - Running test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)

printStream.println(
    "100.00 (10/10) - Completed test"
);
-> at org.neo4j.gis.spatial.rtree.ProgressLoggingListener.logNoMoreThanOnceASecond(ProgressLoggingListener.java:106)


	at java.base/java.io.PrintStream.printf(PrintStream.java:1105)
	at org.neo4j.gis.spatial.ProgressLoggingListenerTest.testProgressLoggingListenerWithSpecifiedWaits(ProgressLoggingListenerTest.java:66)
	at org.neo4j.gis.spatial.ProgressLoggingListenerTest.testProgressLoggingListnerWithAllLogs(ProgressLoggingListenerTest.java:39)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Starting test
10.00 (1/10) - Running test
20.00 (2/10) - Running test
30.00 (3/10) - Running test
40.00 (4/10) - Running test
50.00 (5/10) - Running test
60.00 (6/10) - Running test
70.00 (7/10) - Running test
80.00 (8/10) - Running test
90.00 (9/10) - Running test
100.00 (10/10) - Running test
100.00 (10/10) - Completed test