summaryrefslogtreecommitdiff
path: root/test/drumkitcreatortest.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-01-17 14:06:53 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2017-01-17 14:27:25 +0100
commitc03bd6049a635ae42c0ca2cc3bc88fc1f489b477 (patch)
tree9dc136410b1fcbdaa255c7fc79202cd36794c04c /test/drumkitcreatortest.cc
parentb328df4dea35d4d4c1713bd3fb6bda48d30b9e1b (diff)
Make DrumkitCreator clean up the created files in the destructor.
Diffstat (limited to 'test/drumkitcreatortest.cc')
-rw-r--r--test/drumkitcreatortest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/drumkitcreatortest.cc b/test/drumkitcreatortest.cc
index 852f407..1b6321b 100644
--- a/test/drumkitcreatortest.cc
+++ b/test/drumkitcreatortest.cc
@@ -28,8 +28,6 @@
#include "drumkit_creator.h"
-using namespace drumkit_creator;
-
class DrumkitcreatorTest
: public CppUnit::TestFixture
{
@@ -37,6 +35,8 @@ class DrumkitcreatorTest
CPPUNIT_TEST(testTest);
CPPUNIT_TEST_SUITE_END();
+ DrumkitCreator drumkit_creator;
+
public:
void setUp()
{
@@ -50,7 +50,7 @@ public:
//! This just creates some drumkit.
void testTest()
{
- drumkit_creator::createStdKit("stdkit");
+ drumkit_creator.createStdKit("stdkit");
}
};