diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 15:53:15 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 15:53:15 -0500 |
commit | dde935e48d44ca1b2b8ce993ae5bc187a8ca30fd (patch) | |
tree | f317e6de1e2f2a187221a3f4586a2d00ab174237 /sigmod/test/TestMapWildList.cpp | |
parent | b3082840638dc89d48e621a0bf88f7887163ee08 (diff) | |
download | sigen-dde935e48d44ca1b2b8ce993ae5bc187a8ca30fd.tar.gz sigen-dde935e48d44ca1b2b8ce993ae5bc187a8ca30fd.tar.xz sigen-dde935e48d44ca1b2b8ce993ae5bc187a8ca30fd.zip |
Fixed sigmod tests to also use namespace Sigmod
Diffstat (limited to 'sigmod/test/TestMapWildList.cpp')
-rw-r--r-- | sigmod/test/TestMapWildList.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sigmod/test/TestMapWildList.cpp b/sigmod/test/TestMapWildList.cpp index a39bf743..fe514c9a 100644 --- a/sigmod/test/TestMapWildList.cpp +++ b/sigmod/test/TestMapWildList.cpp @@ -19,20 +19,22 @@ #include "TestMapWildList.h" // Sigmod includes +#include "../Game.h" #include "../Map.h" #include "../MapWildList.h" #include "../MapWildListEncounter.h" -#include "../Sigmod.h" // Qt includes #include <QtCore/QFile> #include <QtTest/QTest> +using namespace Sigmod; + void TestMapWildList::initTestCase() { TestSigmodObject::initTestCase(); - Sigmod::Map* map = m_sigmod->newMap(); + Map* map = m_game->newMap(); m_wildList1 = map->newWildList(); m_wildList2 = map->newWildList(); @@ -84,7 +86,7 @@ void TestMapWildList::validation() void TestMapWildList::saving() { - QDomDocument xml = Sigmod::Object::xml(m_wildList1); + QDomDocument xml = Object::xml(m_wildList1); QFile file("wildList.xml"); QVERIFY(file.open(QIODevice::WriteOnly)); |