diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 9c9afcfc5bd..2224d8cc4f8 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -83,10 +83,22 @@ public class VerifyCardDataTest { private static final Logger logger = Logger.getLogger(VerifyCardDataTest.class); - private static final String FULL_ABILITIES_CHECK_SET_CODES = "BLC"; // check ability text due mtgjson, can use multiple sets like MAT;CMD or * for all - private static final boolean CHECK_ONLY_ABILITIES_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages + private static String FULL_ABILITIES_CHECK_SET_CODES = "BLC"; // check ability text due mtgjson, can use multiple sets like MAT;CMD or * for all + private static boolean CHECK_ONLY_ABILITIES_TEXT = false; // use when checking text locally, suppresses unnecessary checks and output messages private static final boolean CHECK_COPYABLE_FIELDS = true; // disable for better verify test performance + // for automated local testing support + static { + String val = System.getProperty("xmage.tests.verifyCheckSetCodes"); + if (val != null) { + FULL_ABILITIES_CHECK_SET_CODES = val; + } + val = System.getProperty("xmage.tests.verifyCheckOnlyText"); + if (val != null) { + CHECK_ONLY_ABILITIES_TEXT = Boolean.parseBoolean(val); + } + } + private static final boolean AUTO_FIX_SAMPLE_DECKS = false; // debug only: auto-fix sample decks by test_checkSampleDecks test run private static final Set checkedNames = new HashSet<>(); // skip already checked cards @@ -3338,4 +3350,4 @@ public class VerifyCardDataTest { System.out.println(String.format("ALL DONE, found and write %d combos", allCombos.size())); } -} \ No newline at end of file +}