diff --git a/patches/api/Test-changes.patch b/patches/api/Test-changes.patch index c96d72c436..6de13bdf65 100644 --- a/patches/api/Test-changes.patch +++ b/patches/api/Test-changes.patch @@ -7,6 +7,7 @@ Subject: [PATCH] Test changes - Allow use of TYPE_USE annotations - Ignore package-private methods for nullability annotations - Add excludes for classes which don't pass +- Disable stupid BukkitMirrorTest Co-authored-by: Riley Park Co-authored-by: Jake Potrebic @@ -298,6 +299,18 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 if (annotations == null) { return false; } +diff --git a/src/test/java/org/bukkit/BukkitMirrorTest.java b/src/test/java/org/bukkit/BukkitMirrorTest.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/test/java/org/bukkit/BukkitMirrorTest.java ++++ b/src/test/java/org/bukkit/BukkitMirrorTest.java +@@ -0,0 +0,0 @@ public class BukkitMirrorTest { + + @Parameters(name = "{index}: {1}") + public static List data() { ++ if (true) return List.of(); // Paper + return Lists.transform(Arrays.asList(Server.class.getDeclaredMethods()), new Function() { + @Override + public Object[] apply(Method input) { diff --git a/src/test/java/org/bukkit/TestServer.java b/src/test/java/org/bukkit/TestServer.java deleted file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000