Revert "Added extra cards to the test database"

This reverts commit e456e4d461.
This commit is contained in:
Jurriaan van den Berg 2026-11-02 17:13:50 +01:00
parent b3e6ecbef7
commit 1a46aeaaff
2 changed files with 3 additions and 79 deletions

View file

@ -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()

View file

@ -1,20 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<cockatrice_carddatabase version="4">
<cards>
<card>
<name>Island</name>
<tablerow>0</tablerow>
<text>({T}: Add {U}.)</text>
<prop>
<muid>000</muid>
<type>Basic Land — Island</type>
<cmc>0</cmc>
<layout>normal</layout>
<side>front</side>
<coloridentity>U</coloridentity>
<maintype>Land</maintype>
</prop>
</card>
<card>
<name>Cat</name>
<set>CAT</set>
@ -24,7 +10,6 @@
<muid>111</muid>
<colors>G</colors>
<manacost>2G</manacost>
<coloridentity>G</coloridentity>
<cmc>2</cmc>
<type>Creature — Cat</type>
<maintype>Creature</maintype>
@ -39,7 +24,6 @@
<prop>
<muid>222</muid>
<colors>R</colors>
<coloridentity>R</coloridentity>
<manacost>2RR</manacost>
<cmc>4</cmc>
<type>Creature — Dog</type>
@ -70,7 +54,6 @@
<prop>
<muid>333</muid>
<colors>B</colors>
<coloridentity>B</coloridentity>
<manacost>B</manacost>
<cmc>1</cmc>
<maintype>Instant</maintype>
@ -84,69 +67,10 @@
<prop>
<muid>444</muid>
<colors>U</colors>
<coloridentity>U</coloridentity>
<manacost>2U</manacost>
<cmc>2</cmc>
<maintype>Instant</maintype>
</prop>
</card>
<card>
<name>Artifact</name>
<set> Not a Card</set>
<text>{T}: Add {C}.</text>
<prop>
<muid>555</muid>
<type>Artifact</type>
<cmc>1</cmc>
<layout>normal</layout>
<side>front</side>
<manacost>1</manacost>
<maintype>Artifact</maintype>
</prop>
</card>
<card>
<name>Wall of Denial</name>
<text>Defender, flying
Shroud (This creature can't be the target of spells or abilities.)</text>
<prop>
<type>Creature — Wall</type>
<colors>WU</colors>
<cmc>3</cmc>
<layout>normal</layout>
<side>front</side>
<coloridentity>WU</coloridentity>
<manacost>1WU</manacost>
<pt>0/8</pt>
<maintype>Creature</maintype>
</prop>
<set rarity="uncommon" muid="179601" num="16" uuid="dd66cb50-6ef5-4b1f-b6c3-ad1210d2d380">ARB</set>
<set rarity="uncommon" muid="247169" num="237" uuid="e5eecd2c-0908-44d6-9dea-eb59049a7924">CMD</set>
<set rarity="uncommon" muid="625344" num="939" uuid="049ce45b-ab07-4bce-bb4a-83f5720b6ee7">CMM</set>
<set rarity="uncommon" muid="270829" num="11" uuid="dd30b92d-9eb0-40db-afb1-3dea9d1c5cd7">DDI</set>
<set rarity="uncommon" muid="426026" num="201" uuid="0cd95bba-0c3d-4f2c-94ea-bbd3f396292c">MM3</set>
<set rarity="uncommon" num="ARB-16" uuid="8dbcf08f-dcc1-4a6a-9af6-6fadb89f2f96">PLST</set>
<tablerow>2</tablerow>
</card>
<card>
<name>Maelstrom Archangel</name>
<text>Flying
Whenever this creature deals combat damage to a player, you may cast a spell from your hand without paying its mana cost.</text>
<prop>
<type>Creature — Angel</type>
<colors>WUBRG</colors>
<cmc>5</cmc>
<layout>normal</layout>
<side>front</side>
<coloridentity>WUBRG</coloridentity>
<manacost>WUBRG</manacost>
<pt>5/5</pt>
<maintype>Creature</maintype>
</prop>
<set rarity="mythic" muid="185136" num="115" uuid="a92ecfaa-2d8e-4352-b8ec-287da7ba0b78">CON</set>
<set rarity="mythic" muid="578774" num="158" uuid="95ea2a05-207d-4330-bcbe-bcaacd6657f4">DMC</set>
<set rarity="mythic" muid="489437" num="454" uuid="ed111116-c2cc-4c97-a84c-f9576ea2ada7">JMP</set>
<set rarity="mythic" num="CON-115" uuid="6620ead7-4499-4a19-b3b8-edd263067c02">PLST</set>
<tablerow>2</tablerow>
</card>
</cards>
</cockatrice_carddatabase>