Oleg Agafonov
0930bdd016
Merge pull request #5690 from magefree/copy_constructor_watchers
...
refactor the copy functionality for no-args watchers
2020-01-02 18:51:37 +01:00
Oleg Agafonov
ed8c3276e1
Tests: add new verify test to check wrong symbols in rules/names;
2020-01-01 14:24:52 +04:00
Ingmar Goudt
ce23f6900d
fix conflicts
2019-12-29 19:28:20 +01:00
Ingmar Goudt
702a1f2498
remove all copy constructors and copy methods for all watchers
2019-12-29 19:18:20 +01:00
Oleg Agafonov
0885a01849
Fixed that TargetCard ignore filter in some calls
2019-12-16 02:55:13 +04:00
Evan Kranzler
c0344015bb
removed test skip for Noble and Warlock creature types
2019-09-30 17:43:10 -04:00
Evan Kranzler
12d8e40368
added additional subtype verification skips
2019-09-27 19:11:45 -04:00
Evan Kranzler
a99afc763d
updated Dread Warlock creature type
2019-09-24 20:07:12 -04:00
Oleg Agafonov
2de535feb2
Tests: improved verify checks for missing/wrong abilities
2019-06-30 22:48:36 +04:00
Oleg Agafonov
77e92d9186
* Fixed that snow lands can be added in draft and sealed modes ( #5831 );
2019-06-06 22:50:16 +04:00
Evan Kranzler
e6396798aa
temporary test skip until mtgjson updates its data
2019-05-29 23:26:54 -04:00
Oleg Agafonov
e80ba6383f
Added verify tests for watchers copy;
2019-05-18 10:58:30 +04:00
Oleg Agafonov
b9b8415c99
Extra tests to catch card creation errors;
2019-05-06 17:03:56 +04:00
Oleg Agafonov
5f07a9aff2
Tests: enable warnings for wrong card texts in WAR set
2019-04-19 08:05:31 +04:00
Thomas Winwood
d28ea98dff
Exempt Thingamajig from mana cost verification
2019-04-12 06:54:10 +01:00
Thomas Winwood
83234762f6
Implement Everythingamajig
2019-04-12 05:56:04 +01:00
Thomas Winwood
5a83b27271
Fix verify bug
2019-04-09 01:13:56 +01:00
Oleg Agafonov
b8782d572d
Tests: added test to check copy() methods removes;
2019-03-30 20:26:35 +04:00
Oleg Agafonov
3454ffbe01
Fixed merge
2019-03-27 16:53:09 +04:00
Oleg Agafonov
490d207efe
Tests: added checks that planeswalkers must be legendary;
2019-03-19 06:27:55 +04:00
Oleg Agafonov
fa75ac2727
Typo fix
2019-03-07 12:14:27 +04:00
Oleg Agafonov
e68b79336a
Typo fix
2019-03-06 14:06:47 +04:00
Oleg Agafonov
7eba755666
Refactor card ratings, fixed rare error exception "comparison method violates its general contract" (different ratings in same card);
2019-02-01 17:41:29 +04:00
Oleg Agafonov
727165dd3a
Improved verify tests (wip) and showCardInfo for realtime texts test.
2019-01-14 11:01:42 +04:00
Oleg Agafonov
4495d75d8a
Fixed NPE error on AI calcs
2018-12-18 17:17:10 +04:00
Oleg Agafonov
a4d797e473
Fixed mtgjson data;
2018-12-07 07:34:38 +04:00
LevelX2
09a5ece9f3
Fixed color check and added missing attribute to verify.
2018-11-27 16:09:43 +01:00
LevelX2
b7ebff4fa1
Fixed verify color check.
2018-11-26 19:01:18 +01:00
Ingmar Goudt
d9b25cbac1
suppert mtgjson v4
2018-11-23 19:22:27 +01:00
Oleg Agafonov
fe3eda4944
* Spell Contortion, Warleader's Helix - fixed wrong card text;
...
Removed unused getRules in cards code;
2018-11-11 22:54:49 +04:00
Oleg Agafonov
8fd6eb6313
Fix merge
2018-10-03 22:43:13 +04:00
Oleg Agafonov
6bb478c342
Tests: added many verify tests for sets and cards, e.g.:
...
* check set's class name/file (source code style);
* check set's hasBasicLands settings (missing lands in deck generation bug);
* check card's UsesVariousArt settings (same image for multi-images card bug);
* check card's missing abilities (forgot addAbility call bug);
* improved output messages;
2018-10-03 22:32:52 +04:00
Evan Kranzler
11e1d9df38
removed outdated verification skips
2018-09-09 14:07:59 -04:00
Oleg Agafonov
747f3030e2
Added test to check missing abilities
2018-09-05 02:45:01 +04:00
Noah Gleason
8ee7965580
Fix tests
2018-07-07 11:52:38 -04:00
Oleg Agafonov
fb36f329f9
Fixed Dragon Egg tests
2018-06-23 01:19:54 +04:00
Evan Kranzler
ab3cd76d3e
Fixed various potential null pointer exceptions
2018-05-31 21:03:40 -04:00
Evan Kranzler
c3d0297045
Updated Mage Verify test
2018-05-20 21:00:09 -04:00
Oleg Agafonov
4851ba9e84
Test framework: added commands for real time checks/assertions:
...
* new checks: color, subtype, ability, PT, permanent and hand count;
* more info in #4936 ;
2018-05-14 02:31:19 +04:00
Oleg Agafonov
f021951578
Tests: added tokens tests in mage-verify (ignored until massive fixes, run it manually):
...
* check token class name convention (must ends with Token);
* check token package (must be in mage.game.permanent.token);
* check private tokens (must be replaced with CreateToken);
* check missing data from tok-file;
2018-05-11 22:22:02 +04:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
Oleg Agafonov
bc3274b144
Test: fixed mage-verify tests
2018-01-15 07:46:31 +04:00
Oleg Agafonov
4771ad2c63
Fixed UGL test, rename new token
2018-01-13 02:27:16 +04:00
Oleg Agafonov
0ba2375ac1
Tests:
...
* added new checks for basic land types/rarity in mage-verify;
* fixed tests for UGL cards in mage-verify (wrong json data)
2018-01-11 20:37:38 +04:00
Oleg Agafonov
60443cdbfe
Updated readme with actual card stats, added stats printing on mage-verify tests
2017-12-29 17:53:12 +04:00
Oleg Agafonov
c4fe9e3121
Tests: added mage-verify warning test for missing sets in xmage (current missing sets: 34 with 1689 cards)
2017-12-29 17:15:00 +04:00
Zzooouhh
6fae8ef606
Merge branch 'master' into master
2017-12-22 23:17:20 +01:00
Oleg Agafonov
6c86856933
Added tests to verify DB for card numbers typos, duplicate and wrong classes
2017-12-20 16:42:02 +04:00
Zzooouhh
eae526e3b3
Added Verify exception for Infinity Elemental
2017-12-18 22:16:14 +01:00
Oleg Agafonov
36055178bd
- fixed UST - Sword of Dungeons card name;
...
- fixed mage-verify tests for UST set;
2017-12-16 19:58:11 +04:00