Add CraftMetaTileEntity, fixes the previously broken tests

This commit is contained in:
Thinkofdeath
2014-12-07 13:22:56 +00:00
parent fb445e5337
commit 44ea9d88c2
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));
}
}