diff options
Diffstat (limited to 'pokemod/Move.cpp')
| -rw-r--r-- | pokemod/Move.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Move.cpp b/pokemod/Move.cpp index 51ed7a8a..16802dcd 100644 --- a/pokemod/Move.cpp +++ b/pokemod/Move.cpp @@ -19,6 +19,7 @@ #include "Move.h" // Pokemod includes +#include "Macros.h" #include "Pokemod.h" // Qt includes @@ -64,10 +65,12 @@ Pokemod::Move::~Move() void Pokemod::Move::validate() { + TEST_BEGIN(); if (m_name.isEmpty()) emit(error("Name is empty")); TEST(setType, type); TEST(setPowerPoints, powerPoints); + TEST_END(); } void Pokemod::Move::load(const QDomElement& xml, int id) |
