@@ -29,8 +29,8 @@ public class ArtTest extends AbstractTestingBase {
|
||||
for (MinecraftKey key : IRegistry.MOTIVE.keySet()) {
|
||||
Paintings enumArt = IRegistry.MOTIVE.get(key);
|
||||
String name = key.getKey();
|
||||
int width = enumArt.b() / UNIT_MULTIPLIER;
|
||||
int height = enumArt.c() / UNIT_MULTIPLIER;
|
||||
int width = enumArt.getWidth() / UNIT_MULTIPLIER;
|
||||
int height = enumArt.getHeight() / UNIT_MULTIPLIER;
|
||||
|
||||
Art subject = CraftArt.NotchToBukkit(enumArt);
|
||||
|
||||
@@ -60,7 +60,7 @@ public class ArtTest extends AbstractTestingBase {
|
||||
@Test
|
||||
public void testCraftArtToBukkit() {
|
||||
Map<Art, Paintings> cache = new EnumMap(Art.class);
|
||||
for (Paintings enumArt : (Iterable<Paintings>) IRegistry.MOTIVE) { // Eclipse fail
|
||||
for (Paintings enumArt : IRegistry.MOTIVE) {
|
||||
Art art = CraftArt.NotchToBukkit(enumArt);
|
||||
assertNotNull("Could not CraftArt.NotchToBukkit " + enumArt, art);
|
||||
assertThat("Duplicate artwork " + enumArt, cache.put(art, enumArt), is(nullValue()));
|
||||
|
||||
@@ -34,6 +34,18 @@ public class LegacyTest extends AbstractTestingBase {
|
||||
Material.TUBE_CORAL_WALL_FAN, Material.BRAIN_CORAL_WALL_FAN, Material.BUBBLE_CORAL_WALL_FAN, Material.FIRE_CORAL_WALL_FAN, Material.HORN_CORAL_WALL_FAN, Material.DEAD_TUBE_CORAL_WALL_FAN, Material.DEAD_BRAIN_CORAL_WALL_FAN,
|
||||
Material.DEAD_BUBBLE_CORAL_WALL_FAN, Material.DEAD_FIRE_CORAL_WALL_FAN, Material.DEAD_HORN_CORAL_WALL_FAN, Material.DEAD_TUBE_CORAL_FAN, Material.DEAD_BRAIN_CORAL_FAN, Material.DEAD_BUBBLE_CORAL_FAN, Material.DEAD_FIRE_CORAL_FAN,
|
||||
Material.DEAD_HORN_CORAL_FAN, Material.DEAD_BRAIN_CORAL, Material.DEAD_BUBBLE_CORAL, Material.DEAD_FIRE_CORAL, Material.DEAD_HORN_CORAL, Material.DEAD_TUBE_CORAL,
|
||||
// 1.14
|
||||
Material.ACACIA_SIGN, Material.ACACIA_WALL_SIGN, Material.ANDESITE_SLAB, Material.ANDESITE_STAIRS, Material.ANDESITE_WALL, Material.BAMBOO, Material.BAMBOO_SAPLING, Material.BARREL, Material.BELL, Material.BIRCH_SIGN, Material.BIRCH_WALL_SIGN,
|
||||
Material.BLACK_DYE, Material.BLAST_FURNACE, Material.BLUE_DYE, Material.BRICK_WALL, Material.BROWN_DYE, Material.CAMPFIRE, Material.CARTOGRAPHY_TABLE, Material.CAT_SPAWN_EGG, Material.CORNFLOWER, Material.CREEPER_BANNER_PATTERN, Material.CROSSBOW,
|
||||
Material.DARK_OAK_SIGN, Material.DARK_OAK_WALL_SIGN, Material.DIORITE_SLAB, Material.DIORITE_STAIRS, Material.DIORITE_WALL, Material.END_STONE_BRICK_SLAB, Material.END_STONE_BRICK_STAIRS, Material.END_STONE_BRICK_WALL, Material.FLETCHING_TABLE,
|
||||
Material.FLOWER_BANNER_PATTERN, Material.GRANITE_SLAB, Material.GRANITE_STAIRS, Material.GRANITE_WALL, Material.GREEN_DYE, Material.GRINDSTONE, Material.RAVAGER_SPAWN_EGG, Material.JIGSAW, Material.JUNGLE_SIGN, Material.JUNGLE_WALL_SIGN,
|
||||
Material.LANTERN, Material.LECTERN, Material.LILY_OF_THE_VALLEY, Material.LOOM, Material.MOJANG_BANNER_PATTERN, Material.MOSSY_COBBLESTONE_SLAB, Material.MOSSY_COBBLESTONE_STAIRS, Material.MOSSY_STONE_BRICK_SLAB, Material.MOSSY_STONE_BRICK_STAIRS,
|
||||
Material.MOSSY_STONE_BRICK_WALL, Material.NETHER_BRICK_WALL, Material.OAK_SIGN, Material.OAK_WALL_SIGN, Material.PANDA_SPAWN_EGG, Material.PILLAGER_SPAWN_EGG, Material.POLISHED_ANDESITE_SLAB, Material.POLISHED_ANDESITE_STAIRS, Material.POLISHED_DIORITE_SLAB,
|
||||
Material.POLISHED_DIORITE_STAIRS, Material.POLISHED_GRANITE_SLAB, Material.POLISHED_GRANITE_STAIRS, Material.POTTED_BAMBOO, Material.POTTED_CORNFLOWER, Material.POTTED_LILY_OF_THE_VALLEY, Material.POTTED_WITHER_ROSE, Material.PRISMARINE_WALL, Material.RED_DYE,
|
||||
Material.RED_NETHER_BRICK_SLAB, Material.RED_NETHER_BRICK_STAIRS, Material.RED_NETHER_BRICK_WALL, Material.RED_SANDSTONE_WALL, Material.SANDSTONE_WALL, Material.SCAFFOLDING, Material.SKULL_BANNER_PATTERN, Material.SMITHING_TABLE, Material.SMOKER,
|
||||
Material.SMOOTH_QUARTZ_SLAB, Material.SMOOTH_QUARTZ_STAIRS, Material.SMOOTH_RED_SANDSTONE_SLAB, Material.SMOOTH_RED_SANDSTONE_STAIRS, Material.SMOOTH_SANDSTONE_SLAB, Material.SMOOTH_SANDSTONE_STAIRS, Material.SMOOTH_STONE_SLAB, Material.SPRUCE_SIGN,
|
||||
Material.SPRUCE_WALL_SIGN, Material.STONECUTTER, Material.STONE_BRICK_WALL, Material.STONE_STAIRS, Material.SUSPICIOUS_STEW, Material.SWEET_BERRIES, Material.SWEET_BERRY_BUSH, Material.WHITE_DYE, Material.WITHER_ROSE, Material.YELLOW_DYE,
|
||||
Material.COMPOSTER, Material.TRADER_LLAMA_SPAWN_EGG, Material.WANDERING_TRADER_SPAWN_EGG, Material.FOX_SPAWN_EGG, Material.LEATHER_HORSE_ARMOR, Material.GLOBE_BANNER_PATTERN, Material.CUT_RED_SANDSTONE_SLAB, Material.CUT_SANDSTONE_SLAB,
|
||||
//
|
||||
Material.LEGACY_AIR, Material.LEGACY_DEAD_BUSH, Material.LEGACY_BURNING_FURNACE, Material.LEGACY_WALL_SIGN, Material.LEGACY_REDSTONE_TORCH_OFF, Material.LEGACY_SKULL, Material.LEGACY_REDSTONE_COMPARATOR_ON, Material.LEGACY_WALL_BANNER, Material.LEGACY_MONSTER_EGG));
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ public class ParticleTest extends AbstractTestingBase {
|
||||
|
||||
Assert.assertNotNull("Missing Bukkit->NMS particle mapping for " + bukkit, CraftParticle.toNMS(bukkit, data));
|
||||
}
|
||||
for (net.minecraft.server.Particle nms : (Iterable<net.minecraft.server.Particle<?>>) IRegistry.PARTICLE_TYPE) { // Eclipse fail
|
||||
Assert.assertNotNull("Missing NMS->Bukkit particle mapping for " + nms, CraftParticle.toBukkit(nms));
|
||||
for (net.minecraft.server.Particle nms : IRegistry.PARTICLE_TYPE) {
|
||||
Assert.assertNotNull("Missing NMS->Bukkit particle mapping for " + IRegistry.PARTICLE_TYPE.getKey(nms), CraftParticle.toBukkit(nms));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ import java.util.List;
|
||||
import net.minecraft.server.BlockFalling;
|
||||
import net.minecraft.server.BlockFire;
|
||||
import net.minecraft.server.Item;
|
||||
import net.minecraft.server.ItemFood;
|
||||
import net.minecraft.server.ItemRecord;
|
||||
import net.minecraft.server.TileEntityFurnace;
|
||||
|
||||
@@ -26,12 +25,14 @@ import org.junit.runners.Parameterized.Parameters;
|
||||
import com.google.common.collect.Lists;
|
||||
import java.util.Map;
|
||||
import net.minecraft.server.Block;
|
||||
import net.minecraft.server.BlockAccessAir;
|
||||
import net.minecraft.server.BlockPosition;
|
||||
import net.minecraft.server.Blocks;
|
||||
import net.minecraft.server.EntityHuman;
|
||||
import net.minecraft.server.EnumDirection;
|
||||
import net.minecraft.server.EnumHand;
|
||||
import net.minecraft.server.IBlockData;
|
||||
import net.minecraft.server.MovingObjectPositionBlock;
|
||||
import org.bukkit.craftbukkit.util.CraftMagicNumbers;
|
||||
import org.bukkit.enchantments.EnchantmentTarget;
|
||||
|
||||
@@ -77,7 +78,11 @@ public class PerMaterialTest extends AbstractTestingBase {
|
||||
|
||||
@Test
|
||||
public void isEdible() {
|
||||
assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material) instanceof ItemFood));
|
||||
if (material.isBlock()) {
|
||||
assertFalse(material.isEdible());
|
||||
} else {
|
||||
assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material).isFood()));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -153,7 +158,7 @@ public class PerMaterialTest extends AbstractTestingBase {
|
||||
@Test
|
||||
public void isOccluding() {
|
||||
if (material.isBlock()) {
|
||||
assertThat(material.isOccluding(), is(CraftMagicNumbers.getBlock(material).isOccluding(CraftMagicNumbers.getBlock(material).getBlockData())));
|
||||
assertThat(material.isOccluding(), is(CraftMagicNumbers.getBlock(material).isOccluding(CraftMagicNumbers.getBlock(material).getBlockData(), BlockAccessAir.INSTANCE, BlockPosition.ZERO)));
|
||||
} else {
|
||||
assertFalse(material.isOccluding());
|
||||
}
|
||||
@@ -209,7 +214,7 @@ public class PerMaterialTest extends AbstractTestingBase {
|
||||
if (material.isBlock()) {
|
||||
assertThat(material.isInteractable(),
|
||||
is(!CraftMagicNumbers.getBlock(material).getClass()
|
||||
.getMethod("interact", IBlockData.class, net.minecraft.server.World.class, BlockPosition.class, EntityHuman.class, EnumHand.class, EnumDirection.class, float.class, float.class, float.class)
|
||||
.getMethod("interact", IBlockData.class, net.minecraft.server.World.class, BlockPosition.class, EntityHuman.class, EnumHand.class, MovingObjectPositionBlock.class)
|
||||
.getDeclaringClass().equals(Block.class)));
|
||||
} else {
|
||||
assertFalse(material.isInteractable());
|
||||
|
||||
@@ -34,7 +34,7 @@ public class StatisticsAndAchievementsTest extends AbstractTestingBase {
|
||||
@SuppressWarnings("unchecked")
|
||||
public void verifyStatisticMapping() throws Throwable {
|
||||
HashMultiset<Statistic> statistics = HashMultiset.create();
|
||||
for (StatisticWrapper wrapper : (Iterable<StatisticWrapper<?>>) IRegistry.STATS) { // Eclipse fail
|
||||
for (StatisticWrapper wrapper : IRegistry.STATS) {
|
||||
for (Object child : wrapper.a()) {
|
||||
net.minecraft.server.Statistic<?> statistic = wrapper.b(child);
|
||||
String message = String.format("org.bukkit.Statistic is missing: '%s'", statistic);
|
||||
@@ -43,7 +43,7 @@ public class StatisticsAndAchievementsTest extends AbstractTestingBase {
|
||||
assertThat(message, subject, is(not(nullValue())));
|
||||
|
||||
if (wrapper.a() == IRegistry.BLOCK || wrapper.a() == IRegistry.ITEM) {
|
||||
assertNotNull("Material type map missing for " + child, CraftStatistic.getMaterialFromStatistic(statistic));
|
||||
assertNotNull("Material type map missing for " + wrapper.a().getKey(child), CraftStatistic.getMaterialFromStatistic(statistic));
|
||||
} else if (wrapper.a() == IRegistry.ENTITY_TYPE) {
|
||||
assertNotNull("Entity type map missing for " + EntityTypes.getName((EntityTypes<?>) child), CraftStatistic.getEntityTypeFromStatistic((net.minecraft.server.Statistic<EntityTypes<?>>) statistic));
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
package org.bukkit;
|
||||
|
||||
import java.util.Map;
|
||||
import net.minecraft.server.WorldGenFactory;
|
||||
import net.minecraft.server.IRegistry;
|
||||
import net.minecraft.server.MinecraftKey;
|
||||
import org.bukkit.support.AbstractTestingBase;
|
||||
import org.junit.Assert;
|
||||
import org.junit.BeforeClass;
|
||||
@@ -22,24 +23,24 @@ public class StructureTypeTest extends AbstractTestingBase {
|
||||
|
||||
@Test
|
||||
public void testMinecraftToBukkit() {
|
||||
for (String key : WorldGenFactory.structureStartMap.keySet()) {
|
||||
Assert.assertNotNull(structures.get(key));
|
||||
for (MinecraftKey key : IRegistry.STRUCTURE_FEATURE.keySet()) {
|
||||
Assert.assertNotNull(key.getKey(), structures.get(key.getKey()));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBukkit() {
|
||||
for (Map.Entry<String, StructureType> entry : structures.entrySet()) {
|
||||
Assert.assertNotNull(StructureType.getStructureTypes().get(entry.getKey()));
|
||||
Assert.assertNotNull(StructureType.getStructureTypes().get(entry.getValue().getName()));
|
||||
Assert.assertNotNull(entry.getKey(), StructureType.getStructureTypes().get(entry.getKey()));
|
||||
Assert.assertNotNull(entry.getValue().getName(), StructureType.getStructureTypes().get(entry.getValue().getName()));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBukkitToMinecraft() {
|
||||
for (Map.Entry<String, StructureType> entry : structures.entrySet()) {
|
||||
Assert.assertNotNull(WorldGenFactory.structureStartMap.get(entry.getKey()));
|
||||
Assert.assertNotNull(WorldGenFactory.structureStartMap.get(entry.getValue().getName()));
|
||||
Assert.assertNotNull(entry.getKey(), IRegistry.STRUCTURE_FEATURE.get(new MinecraftKey(entry.getKey())));
|
||||
Assert.assertNotNull(entry.getValue().getName(), IRegistry.STRUCTURE_FEATURE.get(new MinecraftKey(entry.getValue().getName())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ public class InventoryWrapperTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
Inventory raw = new CraftInventoryCustom(null, 9);
|
||||
Inventory raw = new CraftInventoryCustom(null, 27);
|
||||
raw.addItem(new ItemStack(Material.STONE));
|
||||
|
||||
Assert.assertTrue(raw.contains(Material.STONE));
|
||||
|
||||
@@ -10,8 +10,8 @@ import java.util.HashSet;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
import net.minecraft.server.IAnimal;
|
||||
import net.minecraft.server.IAttribute;
|
||||
import net.minecraft.server.IDynamicTexture;
|
||||
|
||||
import org.bukkit.support.AbstractTestingBase;
|
||||
import org.junit.Test;
|
||||
@@ -20,7 +20,7 @@ public class ItemFactoryTest extends AbstractTestingBase {
|
||||
|
||||
@Test
|
||||
public void testKnownAttributes() throws Throwable {
|
||||
final ZipInputStream nmsZipStream = new ZipInputStream(IAnimal.class/* Magic class that isn't imported! */.getProtectionDomain().getCodeSource().getLocation().openStream());
|
||||
final ZipInputStream nmsZipStream = new ZipInputStream(IDynamicTexture.class/* Magic class that isn't imported! */.getProtectionDomain().getCodeSource().getLocation().openStream());
|
||||
final Collection<String> names = new HashSet<String>();
|
||||
for (ZipEntry clazzEntry; (clazzEntry = nmsZipStream.getNextEntry()) != null; ) {
|
||||
final String entryName = clazzEntry.getName();
|
||||
|
||||
@@ -27,6 +27,7 @@ import org.bukkit.attribute.Attribute;
|
||||
import org.bukkit.attribute.AttributeModifier;
|
||||
import org.bukkit.block.banner.Pattern;
|
||||
import org.bukkit.block.banner.PatternType;
|
||||
import org.bukkit.craftbukkit.block.data.CraftBlockData;
|
||||
import org.bukkit.craftbukkit.inventory.ItemStackTest.StackProvider;
|
||||
import org.bukkit.craftbukkit.inventory.ItemStackTest.StackWrapper;
|
||||
import org.bukkit.craftbukkit.inventory.ItemStackTest.BukkitWrapper;
|
||||
@@ -36,6 +37,7 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.TropicalFish;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.BannerMeta;
|
||||
import org.bukkit.inventory.meta.BlockDataMeta;
|
||||
import org.bukkit.inventory.meta.BlockStateMeta;
|
||||
import org.bukkit.inventory.meta.BookMeta;
|
||||
import org.bukkit.inventory.meta.EnchantmentStorageMeta;
|
||||
@@ -188,7 +190,7 @@ public class ItemMetaTest extends AbstractTestingBase {
|
||||
public void testBlockStateMeta() {
|
||||
List<Block> queue = new ArrayList<>();
|
||||
|
||||
for (Item item : (Iterable<Item>) IRegistry.ITEM) { // Eclipse fail
|
||||
for (Item item : IRegistry.ITEM) {
|
||||
if (item instanceof ItemBlock) {
|
||||
queue.add(((ItemBlock) item).getBlock());
|
||||
}
|
||||
@@ -370,6 +372,13 @@ public class ItemMetaTest extends AbstractTestingBase {
|
||||
assertThat(itemMeta2.equals(notEqualMeta2), is(false));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBlockData() {
|
||||
BlockDataMeta itemMeta = (BlockDataMeta) Bukkit.getItemFactory().getItemMeta(Material.CHEST);
|
||||
itemMeta.setBlockData(CraftBlockData.newData(null, "minecraft:chest[waterlogged=true]"));
|
||||
assertThat(itemMeta.getBlockData(Material.CHEST), is(CraftBlockData.newData(null, "minecraft:chest[waterlogged=true]")));
|
||||
}
|
||||
|
||||
private void downCastTest(final StackWrapper provider) {
|
||||
final String name = provider.toString();
|
||||
final ItemStack blank = new ItemStack(Material.STONE);
|
||||
|
||||
@@ -16,8 +16,7 @@ public class EntityTypesTest extends AbstractTestingBase {
|
||||
public void testMaps() {
|
||||
Set<EntityType> allBukkit = Arrays.stream(EntityType.values()).filter((b) -> b.getName() != null).collect(Collectors.toSet());
|
||||
|
||||
for (Object o : IRegistry.ENTITY_TYPE) {
|
||||
EntityTypes<?> nms = (EntityTypes<?>) o; // Eclipse fail
|
||||
for (EntityTypes<?> nms : IRegistry.ENTITY_TYPE) {
|
||||
MinecraftKey key = EntityTypes.getName(nms);
|
||||
|
||||
EntityType bukkit = EntityType.fromName(key.getKey());
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import net.minecraft.server.EntityPanda;
|
||||
import org.bukkit.craftbukkit.entity.CraftPanda;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class PandaGeneTest {
|
||||
|
||||
@Test
|
||||
public void testBukkit() {
|
||||
for (Panda.Gene gene : Panda.Gene.values()) {
|
||||
EntityPanda.Gene nms = CraftPanda.toNms(gene);
|
||||
|
||||
Assert.assertNotNull("NMS gene null for " + gene, nms);
|
||||
Assert.assertEquals("Recessive status did not match " + gene, gene.isRecessive(), nms.isRecessive());
|
||||
Assert.assertEquals("Gene did not convert back " + gene, gene, CraftPanda.fromNms(nms));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNMS() {
|
||||
for (EntityPanda.Gene gene : EntityPanda.Gene.values()) {
|
||||
Panda.Gene bukkit = CraftPanda.fromNms(gene);
|
||||
|
||||
Assert.assertNotNull("Bukkit gene null for " + gene, bukkit);
|
||||
Assert.assertEquals("Recessive status did not match " + gene, gene.isRecessive(), bukkit.isRecessive());
|
||||
Assert.assertEquals("Gene did not convert back " + gene, gene, CraftPanda.toNms(bukkit));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,17 @@
|
||||
package org.bukkit.support;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.util.concurrent.MoreExecutors;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import net.minecraft.server.DispenserRegistry;
|
||||
import net.minecraft.server.EnumResourcePackType;
|
||||
import net.minecraft.server.LootTableRegistry;
|
||||
import net.minecraft.server.ResourceManager;
|
||||
import net.minecraft.server.ResourcePackVanilla;
|
||||
import net.minecraft.server.TagRegistry;
|
||||
import net.minecraft.server.Unit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.craftbukkit.util.CraftMagicNumbers;
|
||||
import org.junit.Assert;
|
||||
@@ -29,14 +32,14 @@ public abstract class AbstractTestingBase {
|
||||
public static final TagRegistry TAG_REGISTRY;
|
||||
|
||||
static {
|
||||
DispenserRegistry.c();
|
||||
DispenserRegistry.init();
|
||||
// Set up resource manager
|
||||
ResourceManager resourceManager = new ResourceManager(EnumResourcePackType.SERVER_DATA);
|
||||
ResourceManager resourceManager = new ResourceManager(EnumResourcePackType.SERVER_DATA, Thread.currentThread());
|
||||
// add tags and loot tables for unit tests
|
||||
resourceManager.a(TAG_REGISTRY = new TagRegistry());
|
||||
resourceManager.a(LOOT_TABLE_REGISTRY = new LootTableRegistry());
|
||||
// Register vanilla pack
|
||||
resourceManager.a(Collections.singletonList(new ResourcePackVanilla("minecraft")));
|
||||
resourceManager.a(MoreExecutors.directExecutor(), MoreExecutors.directExecutor(), Collections.singletonList(new ResourcePackVanilla("minecraft")), CompletableFuture.completedFuture(Unit.INSTANCE)).join();
|
||||
|
||||
DummyServer.setup();
|
||||
DummyEnchantments.setup();
|
||||
@@ -48,6 +51,6 @@ public abstract class AbstractTestingBase {
|
||||
}
|
||||
}
|
||||
INVALIDATED_MATERIALS = builder.build();
|
||||
Assert.assertEquals("Expected 543 invalidated materials (got " + INVALIDATED_MATERIALS.size() + ")", 543, INVALIDATED_MATERIALS.size());
|
||||
Assert.assertEquals("Expected 554 invalidated materials (got " + INVALIDATED_MATERIALS.size() + ")", 554, INVALIDATED_MATERIALS.size());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user