Add CraftMetaTileEntity, fixes the previously broken tests

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2014-12-07 13:22:56 +00:00
parent 9284d1c164
commit 6ee362dcff
6 changed files with 156 additions and 26 deletions

View File

@@ -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));
}
}