mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
make a verify variable static
This commit is contained in:
parent
bd07c24bee
commit
ffca1032ff
1 changed files with 21 additions and 18 deletions
|
|
@ -924,6 +924,27 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
}
|
||||
|
||||
private static final Set<String> ignoreBoosterSets = new HashSet<>();
|
||||
|
||||
static {
|
||||
// temporary, TODO: remove after set release and mtgjson get info
|
||||
ignoreBoosterSets.add("Edge of Eternities");
|
||||
// jumpstart, TODO: must implement from JumpstartPoolGenerator, see #13264
|
||||
ignoreBoosterSets.add("Jumpstart");
|
||||
ignoreBoosterSets.add("Jumpstart 2022");
|
||||
ignoreBoosterSets.add("Foundations Jumpstart");
|
||||
ignoreBoosterSets.add("Ravnica: Clue Edition");
|
||||
// joke or un-sets, low implemented cards
|
||||
ignoreBoosterSets.add("Unglued");
|
||||
ignoreBoosterSets.add("Unhinged");
|
||||
ignoreBoosterSets.add("Unstable");
|
||||
ignoreBoosterSets.add("Unfinity");
|
||||
// other
|
||||
ignoreBoosterSets.add("Secret Lair Drop"); // cards shop
|
||||
ignoreBoosterSets.add("Zendikar Rising Expeditions"); // box toppers
|
||||
ignoreBoosterSets.add("March of the Machine: The Aftermath"); // epilogue boosters aren't for draft
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test_checkMissingSetData() {
|
||||
Collection<String> errorsList = new ArrayList<>();
|
||||
|
|
@ -1074,24 +1095,6 @@ public class VerifyCardDataTest {
|
|||
}
|
||||
|
||||
// CHECK: miss booster settings
|
||||
Set<String> ignoreBoosterSets = new HashSet<>();
|
||||
// temporary, TODO: remove after set release and mtgjson get info
|
||||
ignoreBoosterSets.add("Edge of Eternities");
|
||||
// jumpstart, TODO: must implement from JumpstartPoolGenerator, see #13264
|
||||
ignoreBoosterSets.add("Jumpstart");
|
||||
ignoreBoosterSets.add("Jumpstart 2022");
|
||||
ignoreBoosterSets.add("Foundations Jumpstart");
|
||||
ignoreBoosterSets.add("Ravnica: Clue Edition");
|
||||
// joke or un-sets, low implemented cards
|
||||
ignoreBoosterSets.add("Unglued");
|
||||
ignoreBoosterSets.add("Unhinged");
|
||||
ignoreBoosterSets.add("Unstable");
|
||||
ignoreBoosterSets.add("Unfinity");
|
||||
// other
|
||||
ignoreBoosterSets.add("Secret Lair Drop"); // cards shop
|
||||
ignoreBoosterSets.add("Zendikar Rising Expeditions"); // box toppers
|
||||
ignoreBoosterSets.add("March of the Machine: The Aftermath"); // epilogue boosters aren't for draft
|
||||
|
||||
// make sure mtgjson has booster data
|
||||
boolean hasBoostersInfo = MtgJsonService.sets().values().stream().anyMatch(s -> s.booster != null && !s.booster.isEmpty());
|
||||
for (ExpansionSet set : sets) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue