summaryrefslogtreecommitdiff
path: root/test/memcheckertest.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-01-15 21:22:12 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2017-01-15 21:22:12 +0100
commitb502c26edcfae7a1ed8df928eb450d67223b7b0f (patch)
treed55455013a68d72250233cc8d6294c5d6d6c81b8 /test/memcheckertest.cc
parent25bf0872b6e3a28f93d222823b09e86549ea36d9 (diff)
Make all the tests use the drumkit_creator functions.
Diffstat (limited to 'test/memcheckertest.cc')
-rw-r--r--test/memcheckertest.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/memcheckertest.cc b/test/memcheckertest.cc
index e685361..125ff6c 100644
--- a/test/memcheckertest.cc
+++ b/test/memcheckertest.cc
@@ -41,6 +41,8 @@
#include "../src/drumkit.h"
#include "../src/drumkitparser.h"
+#include "drumkit_creator.h"
+
class MemCheckerTest
: public CppUnit::TestFixture
, public MemChecker
@@ -56,9 +58,9 @@ private:
DrumKit kit;
Random random;
- const std::string small_kit_path = "kit/small_kit.xml";
- const std::string huge_kit_path = "kit/huge_kit.xml";
- const std::string audiofile = "kit/ride-multi-channel.wav";
+ const std::string small_kit_path = drumkit_creator::createSmallKit("small_kit");
+ const std::string huge_kit_path = drumkit_creator::createHugeKit("huge_kit");
+ const std::string audiofile = drumkit_creator::createMultiChannelWav("multi_channel.wav");
public:
void setUp()
{