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/audiocachetest.cc | |
parent | b328df4dea35d4d4c1713bd3fb6bda48d30b9e1b (diff) |
Make DrumkitCreator clean up the created files in the destructor.
Diffstat (limited to 'test/audiocachetest.cc')
-rw-r--r-- | test/audiocachetest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/audiocachetest.cc b/test/audiocachetest.cc index a3d62c9..546a5c4 100644 --- a/test/audiocachetest.cc +++ b/test/audiocachetest.cc @@ -44,6 +44,8 @@ class AudioCacheTest CPPUNIT_TEST(multiChannelThreaded); CPPUNIT_TEST_SUITE_END(); + DrumkitCreator drumkit_creator; + public: void setUp() {} void tearDown() {} @@ -140,7 +142,7 @@ public: { printf("\nsinglechannel_nonthreaded()\n"); - auto filename = drumkit_creator::createSingleChannelWav("single_channel.wav"); + auto filename = drumkit_creator.createSingleChannelWav("single_channel.wav"); // Conduct test int channel = 0; @@ -152,7 +154,7 @@ public: { printf("\nsinglechannel_threaded()\n"); - auto filename = drumkit_creator::createSingleChannelWav("single_channel.wav"); + auto filename = drumkit_creator.createSingleChannelWav("single_channel.wav"); // Conduct test int channel = 0; @@ -164,7 +166,7 @@ public: { printf("\nmultichannel_nonthreaded()\n"); - auto filename = drumkit_creator::createMultiChannelWav("multi_channel.wav"); + auto filename = drumkit_creator.createMultiChannelWav("multi_channel.wav"); // Conduct test int channel = 0; @@ -178,7 +180,7 @@ public: { printf("\nmultichannel_threaded()\n"); - auto filename = drumkit_creator::createMultiChannelWav("multi_channel.wav"); + auto filename = drumkit_creator.createMultiChannelWav("multi_channel.wav"); // Conduct test int channel = 0; |