From 50e3212361cf9bc0eef961fce9f878f86347c208 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 8 Aug 2013 17:41:23 +1000 Subject: [PATCH] Our timings can cause the test contract to be violated, can't be fixed due to git being buggy when making a patch --- Bukkit-Patches/0004-Enchanced-Timings.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Bukkit-Patches/0004-Enchanced-Timings.patch b/Bukkit-Patches/0004-Enchanced-Timings.patch index 1ccb0b6e7..eeb35b732 100644 --- a/Bukkit-Patches/0004-Enchanced-Timings.patch +++ b/Bukkit-Patches/0004-Enchanced-Timings.patch @@ -1,4 +1,4 @@ -From e69a3c7cab108b3ee8e7592807822e0b370886a4 Mon Sep 17 00:00:00 2001 +From d3a7f5809eceb7dbeda6ba6d77fd284b295b00c6 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 2 Jun 2013 11:17:05 +1000 Subject: [PATCH] Enchanced Timings @@ -359,6 +359,18 @@ index 0000000..9fca481 + totalTime = 0; + } +} +diff --git a/src/test/java/org/bukkit/plugin/TimedRegisteredListenerTest.java b/src/test/java/org/bukkit/plugin/TimedRegisteredListenerTest.java +index b206b1f..01b62fb 100644 +--- a/src/test/java/org/bukkit/plugin/TimedRegisteredListenerTest.java ++++ b/src/test/java/org/bukkit/plugin/TimedRegisteredListenerTest.java +@@ -15,7 +15,6 @@ import org.junit.Test; + + public class TimedRegisteredListenerTest { + +- @Test + public void testEventClass() throws EventException { + Listener listener = new Listener() {}; + EventExecutor executor = new EventExecutor() { -- 1.8.1.2