diff --git a/tests/carddatabase/carddatabase_test.cpp b/tests/carddatabase/carddatabase_test.cpp index 1381d1b48..22cbe9074 100644 --- a/tests/carddatabase/carddatabase_test.cpp +++ b/tests/carddatabase/carddatabase_test.cpp @@ -52,9 +52,9 @@ TEST(CardDatabaseTest, LoadXml) // load dummy cards and test result db->loadCardDatabases(); - ASSERT_EQ(13, db->getCardList().size()) << "Wrong card count after load"; - ASSERT_EQ(14, db->getSetList().size()) << "Wrong sets count after load"; - ASSERT_EQ(5, db->query()->getAllMainCardTypes().size()) << "Wrong types count after load"; + ASSERT_EQ(9, db->getCardList().size()) << "Wrong card count after load"; + ASSERT_EQ(5, db->getSetList().size()) << "Wrong sets count after load"; + ASSERT_EQ(3, db->query()->getAllMainCardTypes().size()) << "Wrong types count after load"; ASSERT_EQ(Ok, db->getLoadStatus()) << "Wrong status after load"; // ensure the card database is empty after clear() diff --git a/tests/carddatabase/data/cards.xml b/tests/carddatabase/data/cards.xml index 01668f57f..2c1c09ed8 100644 --- a/tests/carddatabase/data/cards.xml +++ b/tests/carddatabase/data/cards.xml @@ -1,20 +1,6 @@ - - Island - 0 - ({T}: Add {U}.) - - 000 - Basic Land — Island - 0 - normal - front - U - Land - - Cat CAT @@ -24,7 +10,6 @@ 111 G 2G - G 2 Creature — Cat Creature @@ -39,7 +24,6 @@ 222 R - R 2RR 4 Creature — Dog @@ -70,7 +54,6 @@ 333 B - B B 1 Instant @@ -84,69 +67,10 @@ 444 U - U 2U 2 Instant - - Artifact - Not a Card - {T}: Add {C}. - - 555 - Artifact - 1 - normal - front - 1 - Artifact - - - - Wall of Denial - Defender, flying -Shroud (This creature can't be the target of spells or abilities.) - - Creature — Wall - WU - 3 - normal - front - WU - 1WU - 0/8 - Creature - - ARB - CMD - CMM - DDI - MM3 - PLST - 2 - - - Maelstrom Archangel - Flying -Whenever this creature deals combat damage to a player, you may cast a spell from your hand without paying its mana cost. - - Creature — Angel - WUBRG - 5 - normal - front - WUBRG - WUBRG - 5/5 - Creature - - CON - DMC - JMP - PLST - 2 -