From 514ac9eeb3e0d969ccaa15eef72bb3ecc4f08864 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 22 Aug 2023 18:21:10 +0200 Subject: [PATCH 1/8] define api method --- .../src/main/java/org/cryptomator/jfuse/api/Errno.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java index dd62c590..0bb1c812 100644 --- a/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java +++ b/jfuse-api/src/main/java/org/cryptomator/jfuse/api/Errno.java @@ -124,4 +124,11 @@ public interface Errno { */ int enametoolong(); + /** + * The named attribute does not exist, or the process has no access to this attribute; + * + * @return error constant {@code ENODATA} + */ + int enodata(); + } From ceb60f19ee70ce18fd34896250749f053809848a Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Tue, 22 Aug 2023 18:21:43 +0200 Subject: [PATCH 2/8] implement windows --- jfuse-win/pom.xml | 1 + .../java/org/cryptomator/jfuse/win/WinErrno.java | 5 +++++ .../jfuse/win/extr/errno/errno_h.java | 8 ++++++++ .../org/cryptomator/jfuse/win/WinErrnoTest.java | 16 +++++++++++++--- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/jfuse-win/pom.xml b/jfuse-win/pom.xml index 60d296e4..e0e553f3 100644 --- a/jfuse-win/pom.xml +++ b/jfuse-win/pom.xml @@ -165,6 +165,7 @@ ERANGE ENOLCK ENAMETOOLONG + ENODATA diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java index b0ea5cf0..35e65454 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/WinErrno.java @@ -84,4 +84,9 @@ public int enolck() { public int enametoolong() { return errno_h.ENAMETOOLONG(); } + + @Override + public int enodata() { + return errno_h.ENODATA(); + } } diff --git a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java index 0e3aae2d..bed4b821 100644 --- a/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java +++ b/jfuse-win/src/main/java/org/cryptomator/jfuse/win/extr/errno/errno_h.java @@ -137,6 +137,14 @@ public static int EINVAL() { public static int ERANGE() { return (int)34L; } + /** + * {@snippet : + * #define ENODATA 120 + * } + */ + public static int ENODATA() { + return (int)120L; + } /** * {@snippet : * #define ENOTSUP 129 diff --git a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java index bf06627d..d8677770 100644 --- a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java +++ b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java @@ -1,16 +1,22 @@ package org.cryptomator.jfuse.win; +import org.cryptomator.jfuse.api.Errno; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.ValueSource; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.stream.Stream; + public class WinErrnoTest { - @DisplayName("make sure method is not a stub") + @DisplayName("make sure errno method is not a stub") @ParameterizedTest(name = "{0}()") - @ValueSource(strings = {"enoent", "enosys", "enomem", "eacces", "eio", "erofs", "ebadf", "eexist", "enotdir", "eisdir", "enotempty", "einval"}) - public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { + @MethodSource("errnoNameProvider") + public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { var errno = new WinErrno(); var method = WinErrno.class.getMethod(methodName); @@ -19,4 +25,8 @@ public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationExce Assertions.assertNotEquals(0, result); } + static Stream errnoNameProvider() { + return Arrays.stream(Errno.class.getDeclaredMethods()).map(Method::getName); + } + } \ No newline at end of file From 101f380133b958212dd086d948c570654a15cd30 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 23 Aug 2023 10:07:10 +0200 Subject: [PATCH 3/8] implement linux --- jfuse-linux-aarch64/pom.xml | 1 + .../org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java | 5 +++++ .../jfuse/linux/aarch64/extr/errno/errno_h.java | 8 ++++++++ jfuse-linux-amd64/pom.xml | 4 ++-- .../org/cryptomator/jfuse/linux/amd64/LinuxErrno.java | 5 +++++ .../cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java | 8 ++++++++ 6 files changed, 29 insertions(+), 2 deletions(-) diff --git a/jfuse-linux-aarch64/pom.xml b/jfuse-linux-aarch64/pom.xml index 4a2bca9f..80d608d4 100644 --- a/jfuse-linux-aarch64/pom.xml +++ b/jfuse-linux-aarch64/pom.xml @@ -165,6 +165,7 @@ ERANGE ENOLCK ENAMETOOLONG + ENODATA diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java index 81a3dc0a..70bbab60 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrno.java @@ -84,4 +84,9 @@ public int enolck() { public int enametoolong() { return errno_h.ENAMETOOLONG(); } + + @Override + public int enodata() { + return errno_h.ENODATA(); + } } diff --git a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java index ef240cbf..8d7dc15b 100644 --- a/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java +++ b/jfuse-linux-aarch64/src/main/java/org/cryptomator/jfuse/linux/aarch64/extr/errno/errno_h.java @@ -137,6 +137,14 @@ public static int ENOSYS() { public static int ENOTEMPTY() { return (int)39L; } + /** + * {@snippet : + * #define ENODATA 61 + * } + */ + public static int ENODATA() { + return (int)61L; + } /** * {@snippet : * #define ENOTSUP 95 diff --git a/jfuse-linux-amd64/pom.xml b/jfuse-linux-amd64/pom.xml index ec62a06c..3a3aa74c 100644 --- a/jfuse-linux-amd64/pom.xml +++ b/jfuse-linux-amd64/pom.xml @@ -165,6 +165,7 @@ ERANGE ENOLCK ENAMETOOLONG + ENODATA @@ -230,5 +231,4 @@ - - \ No newline at end of file + diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java index 158b577c..ba51b4f1 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/LinuxErrno.java @@ -84,4 +84,9 @@ public int enolck() { public int enametoolong() { return errno_h.ENAMETOOLONG(); } + + @Override + public int enodata() { + return errno_h.ENODATA(); + } } diff --git a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java index bd32b6db..0dd69db9 100644 --- a/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java +++ b/jfuse-linux-amd64/src/main/java/org/cryptomator/jfuse/linux/amd64/extr/errno/errno_h.java @@ -137,6 +137,14 @@ public static int ENOSYS() { public static int ENOTEMPTY() { return (int)39L; } + /** + * {@snippet : + * #define ENODATA 61 + * } + */ + public static int ENODATA() { + return (int)61L; + } /** * {@snippet : * #define ENOTSUP 95 From aa7c036e9fbef9749e6dec60740c37baf1063bed Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 23 Aug 2023 10:12:25 +0200 Subject: [PATCH 4/8] improve errno unit tests --- .../jfuse/linux/aarch64/LinuxErrnoTest.java | 16 +++++++++++++--- .../jfuse/linux/amd64/LinuxErrnoTest.java | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java index 34cb8b02..56d77b3e 100644 --- a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java +++ b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java @@ -1,16 +1,22 @@ package org.cryptomator.jfuse.linux.aarch64; +import org.cryptomator.jfuse.api.Errno; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.ValueSource; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.stream.Stream; + public class LinuxErrnoTest { - @DisplayName("make sure method is not a stub") + @DisplayName("make sure no errno method is not a stub") @ParameterizedTest(name = "{0}()") - @ValueSource(strings = {"enoent", "enosys", "enomem", "eacces", "eio", "erofs", "ebadf", "eexist", "enotdir", "eisdir", "enotempty", "einval"}) - public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { + @MethodSource("errnoNameProvider") + public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { var errno = new LinuxErrno(); var method = LinuxErrno.class.getMethod(methodName); @@ -19,4 +25,8 @@ public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationExce Assertions.assertNotEquals(0, result); } + static Stream errnoNameProvider() { + return Arrays.stream(Errno.class.getDeclaredMethods()).map(Method::getName); + } + } \ No newline at end of file diff --git a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java index e7980c46..1da3d979 100644 --- a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java +++ b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java @@ -1,16 +1,22 @@ package org.cryptomator.jfuse.linux.amd64; +import org.cryptomator.jfuse.api.Errno; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.ValueSource; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.stream.Stream; + public class LinuxErrnoTest { - @DisplayName("make sure method is not a stub") + @DisplayName("make sure no errno method is not a stub") @ParameterizedTest(name = "{0}()") - @ValueSource(strings = {"enoent", "enosys", "enomem", "eacces", "eio", "erofs", "ebadf", "eexist", "enotdir", "eisdir", "enotempty", "einval"}) - public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { + @MethodSource("errnoNameProvider") + public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { var errno = new LinuxErrno(); var method = LinuxErrno.class.getMethod(methodName); @@ -19,4 +25,8 @@ public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationExce Assertions.assertNotEquals(0, result); } + static Stream errnoNameProvider() { + return Arrays.stream(Errno.class.getDeclaredMethods()).map(Method::getName); + } + } \ No newline at end of file From 8bae1e50beb5e1d798af858459780292fa082e80 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Wed, 30 Aug 2023 11:15:44 +0200 Subject: [PATCH 5/8] add `ENODATA` on Mac --- jfuse-mac/pom.xml | 1 + .../src/main/java/org/cryptomator/jfuse/mac/MacErrno.java | 5 +++++ .../org/cryptomator/jfuse/mac/extr/errno/errno_h.java | 8 ++++++++ 3 files changed, 14 insertions(+) diff --git a/jfuse-mac/pom.xml b/jfuse-mac/pom.xml index a8ab9ad5..c67f6096 100644 --- a/jfuse-mac/pom.xml +++ b/jfuse-mac/pom.xml @@ -139,6 +139,7 @@ ERANGE ENOLCK ENAMETOOLONG + ENODATA diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java index 50569d9f..436cdb1e 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/MacErrno.java @@ -84,4 +84,9 @@ public int enolck() { public int enametoolong() { return errno_h.ENAMETOOLONG(); } + + @Override + public int enodata() { + return errno_h.ENODATA(); + } } diff --git a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java index 1ab648e4..bf71ae55 100644 --- a/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java +++ b/jfuse-mac/src/main/java/org/cryptomator/jfuse/mac/extr/errno/errno_h.java @@ -145,6 +145,14 @@ public static int ENOLCK() { public static int ENOSYS() { return (int)78L; } + /** + * {@snippet : + * #define ENODATA 96 + * } + */ + public static int ENODATA() { + return (int)96L; + } } From e8822fa93d874faf17d98a725f6029ff523aeb3a Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 30 Aug 2023 12:01:20 +0200 Subject: [PATCH 6/8] improve errno unit test for mac --- .../org/cryptomator/jfuse/mac/MacErrnoTest.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java index 6d40c6ea..1c22839b 100644 --- a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java +++ b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java @@ -1,16 +1,21 @@ package org.cryptomator.jfuse.mac; +import org.cryptomator.jfuse.api.Errno; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; -import org.junit.jupiter.params.provider.ValueSource; +import org.junit.jupiter.params.provider.MethodSource; + +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.stream.Stream; public class MacErrnoTest { - @DisplayName("make sure method is not a stub") + @DisplayName("make sure errno method is not a stub") @ParameterizedTest(name = "{0}()") - @ValueSource(strings = {"enoent", "enosys", "enomem", "eacces", "eio", "erofs", "ebadf", "eexist", "enotdir", "eisdir", "enotempty", "einval"}) - public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { + @MethodSource("errnoNameProvider") + public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { var errno = new MacErrno(); var method = MacErrno.class.getMethod(methodName); @@ -19,4 +24,8 @@ public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationExce Assertions.assertNotEquals(0, result); } + static Stream errnoNameProvider() { + return Arrays.stream(Errno.class.getDeclaredMethods()).map(Method::getName); + } + } \ No newline at end of file From 1064001dbadc889406f12933e21d8bf9cf0f7fd7 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 30 Aug 2023 14:16:28 +0200 Subject: [PATCH 7/8] revert misleading test method name to former one --- .../org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java | 2 +- .../java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java | 2 +- .../src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java | 2 +- .../src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java index 56d77b3e..f2d98407 100644 --- a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java +++ b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java @@ -16,7 +16,7 @@ public class LinuxErrnoTest { @DisplayName("make sure no errno method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") - public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { + public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { var errno = new LinuxErrno(); var method = LinuxErrno.class.getMethod(methodName); diff --git a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java index 1da3d979..010ea6df 100644 --- a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java +++ b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java @@ -16,7 +16,7 @@ public class LinuxErrnoTest { @DisplayName("make sure no errno method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") - public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { + public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { var errno = new LinuxErrno(); var method = LinuxErrno.class.getMethod(methodName); diff --git a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java index 1c22839b..b770c6e7 100644 --- a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java +++ b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java @@ -15,7 +15,7 @@ public class MacErrnoTest { @DisplayName("make sure errno method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") - public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { + public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { var errno = new MacErrno(); var method = MacErrno.class.getMethod(methodName); diff --git a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java index d8677770..7b495e05 100644 --- a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java +++ b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java @@ -16,7 +16,7 @@ public class WinErrnoTest { @DisplayName("make sure errno method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") - public void testErrnoIsImplemented(String methodName) throws ReflectiveOperationException { + public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { var errno = new WinErrno(); var method = WinErrno.class.getMethod(methodName); From 6f587127619391369fe322687c0c4a3908803b8f Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 30 Aug 2023 14:37:54 +0200 Subject: [PATCH 8/8] also revert confusing test method display name --- .../org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java | 2 +- .../java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java | 2 +- .../src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java | 2 +- .../src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java index f2d98407..45ff047a 100644 --- a/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java +++ b/jfuse-linux-aarch64/src/test/java/org/cryptomator/jfuse/linux/aarch64/LinuxErrnoTest.java @@ -13,7 +13,7 @@ public class LinuxErrnoTest { - @DisplayName("make sure no errno method is not a stub") + @DisplayName("make sure method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { diff --git a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java index 010ea6df..e15bbd14 100644 --- a/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java +++ b/jfuse-linux-amd64/src/test/java/org/cryptomator/jfuse/linux/amd64/LinuxErrnoTest.java @@ -13,7 +13,7 @@ public class LinuxErrnoTest { - @DisplayName("make sure no errno method is not a stub") + @DisplayName("make sure method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { diff --git a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java index b770c6e7..87c40311 100644 --- a/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java +++ b/jfuse-mac/src/test/java/org/cryptomator/jfuse/mac/MacErrnoTest.java @@ -12,7 +12,7 @@ public class MacErrnoTest { - @DisplayName("make sure errno method is not a stub") + @DisplayName("make sure method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException { diff --git a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java index 7b495e05..432b5c68 100644 --- a/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java +++ b/jfuse-win/src/test/java/org/cryptomator/jfuse/win/WinErrnoTest.java @@ -13,7 +13,7 @@ public class WinErrnoTest { - @DisplayName("make sure errno method is not a stub") + @DisplayName("make sure method is not a stub") @ParameterizedTest(name = "{0}()") @MethodSource("errnoNameProvider") public void testErrnoIsNotZero(String methodName) throws ReflectiveOperationException {