Add CI/CD pipeline for tests and coverage reporting #1
103 passed, 4 failed and 0 skipped
✅ jlmap-api/target/surefire-reports/TEST-io.github.makbn.jlmap.model.builder.JLCircleBuilderTest.xml
1 tests were completed in 54ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.model.builder.JLCircleBuilderTest | 1✅ | 54ms |
✅ io.github.makbn.jlmap.model.builder.JLCircleBuilderTest
✅ builder_withOptions_buildCircle
✅ jlmap-api/target/surefire-reports/TEST-io.github.makbn.jlmap.model.builder.JLOptionsBuilderTest.xml
1 tests were completed in 239ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.model.builder.JLOptionsBuilderTest | 1✅ | 239ms |
✅ io.github.makbn.jlmap.model.builder.JLOptionsBuilderTest
✅ optionBuilder_default_shouldGenerateTheMap
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.engine.JLJavaFXEngineTest.xml
4 tests were completed in 98ms with 4 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.engine.JLJavaFXEngineTest | 4✅ | 98ms |
✅ io.github.makbn.jlmap.fx.test.engine.JLJavaFXEngineTest
✅ jlJavaFXEngine_shouldExtendJLWebEngine
✅ jlJavaFXEngine_shouldHaveCorrectConstructorParameter
✅ constructor_withNullWebEngine_shouldAcceptNullEngine
✅ jlJavaFXEngine_shouldImplementRequiredMethods
❌ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.xml
9 tests were completed in 43s with 5 passed, 4 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest | 5✅ | 4❌ | 43s |
❌ io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest
✅ jlMapView_addGeoJsonFromContent_shouldAddGeoJsonAsLayer
✅ jlMapView_addPopup_shouldAddPopupAsLayer
❌ jlMapView_addPolygon_shouldAddPolygonAsLayer
java.util.concurrent.TimeoutException: Timed out waiting for polygon addition
✅ jlMapView_addCircle_shouldAddCircleAsLayer
❌ jlMapView_addPolyline_shouldAddPolylineAsLayer
java.util.concurrent.TimeoutException: Timed out waiting for polyline addition
❌ jlMapView_addImageOverlay_shouldAddImageOverlayAsLayer
java.util.concurrent.TimeoutException: Timed out waiting for image overlay addition
✅ jlMapView_addCircleMarker_shouldAddCircleMarkerAsLayer
✅ jlMapView_addMarker_shouldAddMarkerAsLayer
❌ jlMapView_addMultiPolyline_shouldAddMultiPolylineAsLayer
java.util.concurrent.TimeoutException: Timed out waiting for multi-polyline addition
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest.xml
12 tests were completed in 25ms with 12 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest | 12✅ | 25ms |
✅ io.github.makbn.jlmap.fx.test.internal.JLFxMapRendererTest
✅ render_shouldIncludeAllMapEventHandlers
✅ render_shouldIncludeClientToServerEventHandler
✅ render_shouldIncludeMetaTags
✅ render_shouldIncludeLeafletCssAndJavascript
✅ render_shouldIncludeMapSetup
✅ render_shouldIncludeLeafletIntegrityAttributes
✅ render_shouldIncludeMapHelperFunctions
✅ render_shouldIncludeMapContainerDiv
✅ render_shouldIncludeMapInitializationWithCorrectParameters
✅ render_shouldIncludeJsRelayFunction
✅ render_shouldSetBodyStyle
✅ render_shouldGenerateValidHtmlDocument
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLControlLayerTest.xml
25 tests were completed in 71ms with 25 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.layer.JLControlLayerTest | 25✅ | 71ms |
✅ io.github.makbn.jlmap.fx.test.layer.JLControlLayerTest
✅ setZoomAround_withNullLatLng_shouldThrowNullPointerException
✅ setMaxZoom_shouldExecuteCorrectScript
✅ panInside_shouldExecuteCorrectScript
✅ flyTo_shouldExecuteCorrectScript
✅ panTo_withNullLatLng_shouldThrowNullPointerException
✅ zoomOperations_withNegativeValues_shouldExecuteCorrectScript
✅ panInsideBounds_shouldExecuteCorrectScript
✅ zoomIn_shouldExecuteCorrectScript
✅ constructor_withNullEngine_shouldAcceptNullEngine
✅ panTo_shouldExecuteCorrectScript
✅ zoomOperations_withZeroValues_shouldExecuteCorrectScript
✅ setMaxBounds_shouldExecuteCorrectScript
✅ fitBounds_shouldExecuteCorrectScript
✅ zoomOut_shouldExecuteCorrectScript
✅ flyTo_withNullLatLng_shouldThrowNullPointerException
✅ setMinZoom_shouldExecuteCorrectScript
✅ setZoom_shouldExecuteCorrectScript
✅ fitBounds_withNullBounds_shouldThrowNullPointerException
✅ flyToBounds_shouldExecuteCorrectScript
✅ constructor_withNullCallbackHandler_shouldAcceptNullHandler
✅ multipleOperations_shouldExecuteAllScripts
✅ setMaxBounds_withNullBounds_shouldThrowNullPointerException
✅ controlLayer_shouldExtendJLLayer
✅ fitWorld_shouldExecuteCorrectScript
✅ setZoomAround_shouldExecuteCorrectScript
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest.xml
16 tests were completed in 1s with 16 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest | 16✅ | 1s |
✅ io.github.makbn.jlmap.fx.test.layer.JLGeoJsonLayerTest
✅ addFromUrl_whenUrlLoadFails_shouldThrowJLException
✅ addFromFile_whenFileLoadFails_shouldThrowJLException
✅ geoJsonLayer_shouldGenerateUniqueIds
✅ addFromUrl_withValidUrl_shouldLoadUrlAndExecuteScript
✅ addFromContent_withNullContent_shouldThrowNullPointerException
✅ geoJsonLayer_shouldExtendJLLayer
✅ addFromUrl_withNullUrl_shouldThrowNullPointerException
✅ removeGeoJson_withNullId_shouldThrowNullPointerException
✅ constructor_withNullEngine_shouldAcceptNullEngine
✅ addFromFile_withNullFile_shouldThrowNullPointerException
✅ addFromContent_whenContentLoadFails_shouldThrowJLException
✅ multipleGeoJsonOperations_shouldExecuteAllScripts
✅ constructor_withNullCallbackHandler_shouldAcceptNullHandler
✅ removeGeoJson_shouldExecuteRemoveScriptAndRemoveFromCallback
✅ addFromFile_withValidFile_shouldLoadFileAndExecuteScript
✅ addFromContent_withValidContent_shouldLoadContentAndExecuteScript
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLUiLayerTest.xml
17 tests were completed in 74ms with 17 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.layer.JLUiLayerTest | 17✅ | 74ms |
✅ io.github.makbn.jlmap.fx.test.layer.JLUiLayerTest
✅ removePopup_shouldExecuteRemoveScript
✅ addImage_withNullImageUrl_shouldAcceptNullUrl
✅ addMarker_withNonDraggableMarker_shouldExecuteCorrectScript
✅ uiLayer_shouldExtendJLLayer
✅ addMarker_withNullText_shouldAcceptNullText
✅ uiLayer_shouldGenerateUniqueIds
✅ addPopup_withNullPosition_shouldThrowNullPointerException
✅ addImage_shouldExecuteCorrectScript
✅ removeMarker_shouldExecuteRemoveScript
✅ constructor_withNullEngine_shouldAcceptNullEngine
✅ addPopup_withDefaultOptions_shouldExecuteCorrectScript
✅ addPopup_withNullText_shouldAcceptNullText
✅ addMarker_withNullPosition_shouldThrowNullPointerException
✅ addImage_withNullBounds_shouldThrowNullPointerException
✅ constructor_withNullCallbackHandler_shouldAcceptNullHandler
✅ addPopup_withCustomOptions_shouldIncludeOptionsInScript
✅ addMarker_withDraggableMarker_shouldExecuteScriptWithDraggableTrue
✅ jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.layer.JLVectorLayerTest.xml
22 tests were completed in 82ms with 22 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.github.makbn.jlmap.fx.test.layer.JLVectorLayerTest | 22✅ | 82ms |
✅ io.github.makbn.jlmap.fx.test.layer.JLVectorLayerTest
✅ addMultiPolyline_withValidVertices_shouldCreateMultiPolyline
✅ addPolygon_withValidVertices_shouldCreatePolygon
✅ removeCircle_shouldExecuteRemoveScript
✅ addCircleMarker_withDefaultOptions_shouldCreateCircleMarker
✅ addCircleMarker_withNullCenter_shouldThrowNullPointerException
✅ addMultiPolyline_withNullVertices_shouldThrowNullPointerException
✅ addPolyline_withNullVertices_shouldThrowNullPointerException
✅ addPolygon_withNullVertices_shouldThrowNullPointerException
✅ constructor_withNullEngine_shouldAcceptNullEngine
✅ addPolyline_withCustomOptions_shouldIncludeOptionsInScript
✅ removeMultiPolyline_shouldExecuteRemoveScript
✅ constructor_withNullCallbackHandler_shouldAcceptNullHandler
✅ removeCircleMarker_shouldExecuteRemoveScript
✅ addPolyline_withEmptyVertices_shouldAcceptEmptyArray
✅ vectorLayer_shouldGenerateUniqueIds
✅ removePolygon_shouldExecuteRemoveScript
✅ addCircle_withCustomRadius_shouldUseCustomRadius
✅ addPolyline_withValidVertices_shouldCreatePolylineAndExecuteScript
✅ addCircle_withNullCenter_shouldThrowNullPointerException
✅ vectorLayer_shouldExtendJLLayer
✅ removePolyline_shouldExecuteRemoveScript
✅ addCircle_withDefaultOptions_shouldCreateCircleWithDefaults
Annotations
github-actions / Test Results (Java 17)
io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest ► jlMapView_addPolygon_shouldAddPolygonAsLayer
Failed test found in:
jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.xml
Error:
java.util.concurrent.TimeoutException: Timed out waiting for polygon addition
Raw output
java.util.concurrent.TimeoutException: Timed out waiting for polygon addition
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.jlMapView_addPolygon_shouldAddPolygonAsLayer(JLMapViewIntegrationTest.java:201)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: java.lang.RuntimeException: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at org.testfx.util.WaitForAsyncUtils.---- Delayed Exception: (See Trace Below) ----(WaitForAsyncUtils.java:0)
Caused by: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:160)
at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
at com.sun.webkit.WebPage.executeScript(WebPage.java:1562)
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:985)
at io.github.makbn.jlmap.fx.engine.JLJavaFXEngine.executeScript(JLJavaFXEngine.java:22)
at io.github.makbn.jlmap.engine.JLWebEngine.executeScript(JLWebEngine.java:20)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addPolygon(JLVectorLayer.java:178)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addPolygon(JLVectorLayer.java:192)
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.lambda$jlMapView_addPolygon_shouldAddPolygonAsLayer$10(JLMapViewIntegrationTest.java:183)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Results (Java 17)
io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest ► jlMapView_addPolyline_shouldAddPolylineAsLayer
Failed test found in:
jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.xml
Error:
java.util.concurrent.TimeoutException: Timed out waiting for polyline addition
Raw output
java.util.concurrent.TimeoutException: Timed out waiting for polyline addition
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.jlMapView_addPolyline_shouldAddPolylineAsLayer(JLMapViewIntegrationTest.java:147)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: java.lang.RuntimeException: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at org.testfx.util.WaitForAsyncUtils.---- Delayed Exception: (See Trace Below) ----(WaitForAsyncUtils.java:0)
Caused by: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:160)
at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
at com.sun.webkit.WebPage.executeScript(WebPage.java:1562)
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:985)
at io.github.makbn.jlmap.fx.engine.JLJavaFXEngine.executeScript(JLJavaFXEngine.java:22)
at io.github.makbn.jlmap.engine.JLWebEngine.executeScript(JLWebEngine.java:20)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addPolyline(JLVectorLayer.java:70)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addPolyline(JLVectorLayer.java:46)
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.lambda$jlMapView_addPolyline_shouldAddPolylineAsLayer$6(JLMapViewIntegrationTest.java:132)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Results (Java 17)
io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest ► jlMapView_addImageOverlay_shouldAddImageOverlayAsLayer
Failed test found in:
jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.xml
Error:
java.util.concurrent.TimeoutException: Timed out waiting for image overlay addition
Raw output
java.util.concurrent.TimeoutException: Timed out waiting for image overlay addition
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.jlMapView_addImageOverlay_shouldAddImageOverlayAsLayer(JLMapViewIntegrationTest.java:124)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: java.lang.RuntimeException: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at org.testfx.util.WaitForAsyncUtils.---- Delayed Exception: (See Trace Below) ----(WaitForAsyncUtils.java:0)
Caused by: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:160)
at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
at com.sun.webkit.WebPage.executeScript(WebPage.java:1562)
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:985)
at io.github.makbn.jlmap.fx.engine.JLJavaFXEngine.executeScript(JLJavaFXEngine.java:22)
at io.github.makbn.jlmap.engine.JLWebEngine.executeScript(JLWebEngine.java:20)
at io.github.makbn.jlmap.fx.layer.JLUiLayer.addImage(JLUiLayer.java:166)
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.lambda$jlMapView_addImageOverlay_shouldAddImageOverlayAsLayer$4(JLMapViewIntegrationTest.java:106)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / Test Results (Java 17)
io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest ► jlMapView_addMultiPolyline_shouldAddMultiPolylineAsLayer
Failed test found in:
jlmap-fx/target/surefire-reports/TEST-io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.xml
Error:
java.util.concurrent.TimeoutException: Timed out waiting for multi-polyline addition
Raw output
java.util.concurrent.TimeoutException: Timed out waiting for multi-polyline addition
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.jlMapView_addMultiPolyline_shouldAddMultiPolylineAsLayer(JLMapViewIntegrationTest.java:175)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Suppressed: java.lang.RuntimeException: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at org.testfx.util.WaitForAsyncUtils.---- Delayed Exception: (See Trace Below) ----(WaitForAsyncUtils.java:0)
Caused by: netscape.javascript.JSException: TypeError: e.target.getLatLng is not a function. (In 'e.target.getLatLng()', 'e.target.getLatLng' is undefined)
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:160)
at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
at com.sun.webkit.WebPage.executeScript(WebPage.java:1562)
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:985)
at io.github.makbn.jlmap.fx.engine.JLJavaFXEngine.executeScript(JLJavaFXEngine.java:22)
at io.github.makbn.jlmap.engine.JLWebEngine.executeScript(JLWebEngine.java:20)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addMultiPolyline(JLVectorLayer.java:131)
at io.github.makbn.jlmap.fx.layer.JLVectorLayer.addMultiPolyline(JLVectorLayer.java:100)
at io.github.makbn.jlmap.fx.test.integration.JLMapViewIntegrationTest.lambda$jlMapView_addMultiPolyline_shouldAddMultiPolylineAsLayer$8(JLMapViewIntegrationTest.java:155)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
at com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:92)
at com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:51)
at java.base/java.lang.Thread.run(Thread.java:840)