summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2014-12-07 13:22:56 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2014-12-07 13:22:56 +0000
commit44ea9d88c2f814b1b25bce683b1be9c34089eb5a (patch)
tree13dc472e0331c0d6883bee6da7e174d553378035 /src/test
parentfb445e533764a22e5d4a3e61e888c305db07e6aa (diff)
downloadcraftbukkit-44ea9d88c2f814b1b25bce683b1be9c34089eb5a.tar
craftbukkit-44ea9d88c2f814b1b25bce683b1be9c34089eb5a.tar.gz
craftbukkit-44ea9d88c2f814b1b25bce683b1be9c34089eb5a.tar.lz
craftbukkit-44ea9d88c2f814b1b25bce683b1be9c34089eb5a.tar.xz
craftbukkit-44ea9d88c2f814b1b25bce683b1be9c34089eb5a.zip
Add CraftMetaTileEntity, fixes the previously broken tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java b/src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java
index 891282d3..10682e76 100644
--- a/src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java
+++ b/src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java
@@ -207,11 +207,11 @@ public class ItemMetaTest extends AbstractTestingBase {
}
);
- assertThat("Forgotten test?", providers, hasSize(ItemStackTest.COMPOUND_MATERIALS.length - 2 /* Normal item meta and skulls */));
+ assertThat("Forgotten test?", providers, hasSize(ItemStackTest.COMPOUND_MATERIALS.length - 3/* Normal item meta, skulls and tile entities */));
for (final StackProvider provider : providers) {
- // downCastTest(new BukkitWrapper(provider));
- // downCastTest(new CraftWrapper(provider));
+ downCastTest(new BukkitWrapper(provider));
+ downCastTest(new CraftWrapper(provider));
}
}