From cba246a2a5dfb6fbcc96826645ec9c0c766383bb Mon Sep 17 00:00:00 2001 From: wizjany Date: Tue, 2 Jul 2013 08:01:01 -0400 Subject: [PATCH] Fix some maven tests --- .../java/com/sk89q/worldedit/blocks/BlockDataTest.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/sk89q/worldedit/blocks/BlockDataTest.java b/src/test/java/com/sk89q/worldedit/blocks/BlockDataTest.java index c29c996f3..1b82117c3 100644 --- a/src/test/java/com/sk89q/worldedit/blocks/BlockDataTest.java +++ b/src/test/java/com/sk89q/worldedit/blocks/BlockDataTest.java @@ -34,6 +34,9 @@ public class BlockDataTest { @Test public void testRotateFlip() { for (int type = 0; type < 256; ++type) { + if (type == BlockID.HAY_BLOCK) { + continue; // not monotonous + } for (int data = 0; data < 16; ++data) { final String message = type + "/" + data; @@ -76,7 +79,11 @@ public class BlockDataTest { // Test monotony and continuity for (int type = 0; type < 256; ++type) { // Cloth isn't monotonous, and thus excluded. - if (type == BlockID.CLOTH) continue; + if (type == BlockID.CLOTH + || type == BlockID.STAINED_CLAY + || type == BlockID.CARPET) { + continue; + } for (int data = 0; data < 16; ++data) { final String message = type + "/" + data;