diff options
Diffstat (limited to 'pokemod/Store.cpp')
| -rw-r--r-- | pokemod/Store.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Store.cpp b/pokemod/Store.cpp index 4fb10abe..a8e81b45 100644 --- a/pokemod/Store.cpp +++ b/pokemod/Store.cpp @@ -19,6 +19,7 @@ #include "Store.h" // Pokemod includes +#include "Macros.h" #include "Pokemod.h" Pokemod::Store::Store(const Store& store) : @@ -47,6 +48,7 @@ Pokemod::Store::Store(const QDomElement& xml, const Pokemod* parent, const int i void Pokemod::Store::validate() { + TEST_BEGIN(); if (m_name.isEmpty()) emit(error("Name is empty")); if (m_item.size()) @@ -55,6 +57,7 @@ void Pokemod::Store::validate() } else emit(error("No items in the store")); + TEST_END(); } void Pokemod::Store::load(const QDomElement& xml, int id) |
