diff --git a/patches/api/0003-Test-changes.patch b/patches/api/0003-Test-changes.patch index 1dde6be76c..b1de3fe665 100644 --- a/patches/api/0003-Test-changes.patch +++ b/patches/api/0003-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 4ac3dd977e75cd8464163351d306e037ee32cb48..c26ea217927ba77611e6ae93f8df50a8 if (annotations == null) { return false; } +diff --git a/src/test/java/org/bukkit/BukkitMirrorTest.java b/src/test/java/org/bukkit/BukkitMirrorTest.java +index 2dfada66067d79b84cd490eadbe0178e8cd8c260..06d66512c91c680130132b79e34fbf32245ff9ee 100644 +--- a/src/test/java/org/bukkit/BukkitMirrorTest.java ++++ b/src/test/java/org/bukkit/BukkitMirrorTest.java +@@ -20,6 +20,7 @@ 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 701a17c10f31cd345238a3c568264178ce372faa..0000000000000000000000000000000000000000