summaryrefslogtreecommitdiffstats
path: root/pokemod/MapWarp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/MapWarp.cpp')
-rw-r--r--pokemod/MapWarp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/MapWarp.cpp b/pokemod/MapWarp.cpp
index 3e3677b7..e3f1f090 100644
--- a/pokemod/MapWarp.cpp
+++ b/pokemod/MapWarp.cpp
@@ -19,6 +19,7 @@
#include "MapWarp.h"
// Pokemod includes
+#include "Macros.h"
#include "Map.h"
#include "Pokemod.h"
@@ -55,11 +56,13 @@ Pokemod::MapWarp::MapWarp(const QDomElement& xml, const Map* parent, const int i
void Pokemod::MapWarp::validate()
{
+ TEST_BEGIN();
if (m_name.isEmpty())
emit(error("Name is empty"));
TEST(setType, type);
TEST(setToMap, toMap);
TEST(setToWarp, toWarp);
+ TEST_END();
}
void Pokemod::MapWarp::load(const QDomElement& xml, int id)