summaryrefslogtreecommitdiffstats
path: root/pokemod/Sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Sound.cpp')
-rw-r--r--pokemod/Sound.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Sound.cpp b/pokemod/Sound.cpp
index cdcd480a..e6178c55 100644
--- a/pokemod/Sound.cpp
+++ b/pokemod/Sound.cpp
@@ -19,6 +19,7 @@
#include "Sound.h"
// Pokemod includes
+#include "Macros.h"
#include "Pokemod.h"
Pokemod::Sound::Sound(const Sound& sound) :
@@ -48,10 +49,12 @@ Pokemod::Sound::Sound(const QDomElement& xml, const Pokemod* parent, const int i
void Pokemod::Sound::validate()
{
+ TEST_BEGIN();
if (m_name.isEmpty())
emit(error("Name is empty"));
if (m_data.isEmpty())
emit(error("Data is empty"));
+ TEST_END();
}
void Pokemod::Sound::load(const QDomElement& xml, int id)