diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-01-17 14:06:53 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-01-17 14:27:25 +0100 |
commit | c03bd6049a635ae42c0ca2cc3bc88fc1f489b477 (patch) | |
tree | 9dc136410b1fcbdaa255c7fc79202cd36794c04c /test/resource_test.cc | |
parent | b328df4dea35d4d4c1713bd3fb6bda48d30b9e1b (diff) |
Make DrumkitCreator clean up the created files in the destructor.
Diffstat (limited to 'test/resource_test.cc')
-rw-r--r-- | test/resource_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/resource_test.cc b/test/resource_test.cc index c8650a5..d6d9221 100644 --- a/test/resource_test.cc +++ b/test/resource_test.cc @@ -49,13 +49,15 @@ class ResourceTest : public CppUnit::TestFixture CPPUNIT_TEST(internalReadTest); CPPUNIT_TEST_SUITE_END(); + DrumkitCreator drumkit_creator; + public: void setUp() {} void tearDown() {} void externalReadTest() { - auto filename = drumkit_creator::create0000Wav("0000.wav"); + auto filename = drumkit_creator.create0000Wav("0000.wav"); ResourceTester rc(filename); CPPUNIT_ASSERT(!rc.probeIsInternal()); |