From 3a09024b10229f37d14944e16731a85e9992e176 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Tue, 21 May 2024 11:42:08 +0700 Subject: [PATCH] Disable ImageCaptureReaderTest If tests are run via gradle I get an error: `Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: Can't load library: /Users/dev/.openjfx/cache/16/libprism_es2.dylib` If run from the IDE it works. CI on windows also fails, other OS work. Seems that there are some platfomr specific dependency issues... Signed-off-by: HenrikJannsen --- .../content/notifications/qr/ImageCaptureReaderTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/desktop/src/test/java/bisq/desktop/main/account/content/notifications/qr/ImageCaptureReaderTest.java b/desktop/src/test/java/bisq/desktop/main/account/content/notifications/qr/ImageCaptureReaderTest.java index af045c136d2..041423ea550 100644 --- a/desktop/src/test/java/bisq/desktop/main/account/content/notifications/qr/ImageCaptureReaderTest.java +++ b/desktop/src/test/java/bisq/desktop/main/account/content/notifications/qr/ImageCaptureReaderTest.java @@ -28,6 +28,7 @@ import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -39,6 +40,13 @@ import org.bytedeco.javacv.Frame; import org.bytedeco.javacv.FrameGrabber; +// TODO fix dependency problems +// If tests are run via gradle I get an error: +// `Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: Can't load library: /Users/dev/.openjfx/cache/16/libprism_es2.dylib` +// If run from the IDE it works. +// CI on windows also fails, other OS work. +// Seems that there are some platfomr specific dependency issues... +@Disabled @ExtendWith(MockitoExtension.class) class ImageCaptureReaderTest { @Mock