summaryrefslogtreecommitdiffstats
path: root/src/test/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-11-18 09:11:17 +1100
committermd_5 <git@md-5.net>2016-11-18 09:11:17 +1100
commit64032adfd28dbe545ce9dab346a1b9abbc56d349 (patch)
tree6e6017b86e6c5310a54dc9e5dd8dd22c11469902 /src/test/java/org
parent162e96132615902cbd603bc4a97c61cf7365d7d7 (diff)
downloadcraftbukkit-64032adfd28dbe545ce9dab346a1b9abbc56d349.tar
craftbukkit-64032adfd28dbe545ce9dab346a1b9abbc56d349.tar.gz
craftbukkit-64032adfd28dbe545ce9dab346a1b9abbc56d349.tar.lz
craftbukkit-64032adfd28dbe545ce9dab346a1b9abbc56d349.tar.xz
craftbukkit-64032adfd28dbe545ce9dab346a1b9abbc56d349.zip
Remove unit test based on now incorrect assumptions
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/bukkit/craftbukkit/inventory/NMSCraftItemStackTest.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/java/org/bukkit/craftbukkit/inventory/NMSCraftItemStackTest.java b/src/test/java/org/bukkit/craftbukkit/inventory/NMSCraftItemStackTest.java
index 1f5a6a32..10baff39 100644
--- a/src/test/java/org/bukkit/craftbukkit/inventory/NMSCraftItemStackTest.java
+++ b/src/test/java/org/bukkit/craftbukkit/inventory/NMSCraftItemStackTest.java
@@ -25,12 +25,4 @@ public class NMSCraftItemStackTest extends AbstractTestingBase {
assertThat(clone.getData(), is(itemStack.getData()));
assertThat(clone, is(itemStack));
}
-
- @Test
- public void testCloneNullItem() throws Exception {
- net.minecraft.server.ItemStack nmsItemStack = null;
- ItemStack itemStack = CraftItemStack.asCraftMirror(nmsItemStack);
- ItemStack clone = itemStack.clone();
- assertThat(clone, is(itemStack));
- }
}