diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-19 02:06:10 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-19 02:06:10 +0000 |
| commit | 6dd3d36c4552565756dcedab2ddd44e90a553252 (patch) | |
| tree | 85fce9e5b97bd3a5f9f60b8d427ca8155d76609f /pokemod/CoinListObject.cpp | |
| parent | 5d7d71ddb75f636f94028da346f43565ffb798df (diff) | |
| download | sigen-6dd3d36c4552565756dcedab2ddd44e90a553252.tar.gz sigen-6dd3d36c4552565756dcedab2ddd44e90a553252.tar.xz sigen-6dd3d36c4552565756dcedab2ddd44e90a553252.zip | |
[FIX] Validation works in Pokémodr
[FIX] Macros moved to their own file
[FIX] Macros for subclasses added
[FIX] Key shortcuts added to context menu items
[FIX] Rules had a redundant field
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@212 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/CoinListObject.cpp')
| -rw-r--r-- | pokemod/CoinListObject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp index 38aafdda..36cfaa92 100644 --- a/pokemod/CoinListObject.cpp +++ b/pokemod/CoinListObject.cpp @@ -20,6 +20,7 @@ // Pokemod includes #include "CoinList.h" +#include "Macros.h" #include "Pokemod.h" const QStringList Pokemod::CoinListObject::TypeStr = QStringList() << "Item" << "Team Member"; @@ -53,9 +54,11 @@ Pokemod::CoinListObject::CoinListObject(const QDomElement& xml, const CoinList* void Pokemod::CoinListObject::validate() { + TEST_BEGIN(); TEST(setType, type); TEST(setObject, object); TEST(setAmount, amount); + TEST_END(); } void Pokemod::CoinListObject::load(const QDomElement& xml, int id) |
