diff options
Diffstat (limited to 'test/lv2.cc')
-rw-r--r-- | test/lv2.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/lv2.cc b/test/lv2.cc index 4ad6d94..78bf342 100644 --- a/test/lv2.cc +++ b/test/lv2.cc @@ -62,6 +62,8 @@ class test_lv2 : public CppUnit::TestFixture CPPUNIT_TEST(test1); CPPUNIT_TEST_SUITE_END(); + DrumkitCreator drumkit_creator; + public: void setUp() {} void tearDown() {} @@ -110,9 +112,9 @@ public: "</config>"; // Create drumkit - auto kit1_file = drumkit_creator::createStdKit("kit1"); + auto kit1_file = drumkit_creator.createStdKit("kit1"); - auto midimapfile = drumkit_creator::createStdMidimap("midimap"); + auto midimapfile = drumkit_creator.createStdMidimap("midimap"); bool enable_velocity_modifier = true; float velocity_modifier_falloff = 0.5; float velocity_modifier_weight = 0.25; @@ -177,9 +179,9 @@ public: "</config>"; // Create drumkit - auto kit1_file = drumkit_creator::createStdKit("kit1"); + auto kit1_file = drumkit_creator.createStdKit("kit1"); - auto midimapfile = drumkit_creator::createStdMidimap("midimap"); + auto midimapfile = drumkit_creator.createStdMidimap("midimap"); bool enable_velocity_modifier = true; float velocity_modifier_falloff = 0.5; float velocity_modifier_weight = 0.25; @@ -256,9 +258,9 @@ public: "</config>"; // Create drumkit - auto kit1_file = drumkit_creator::createStdKit("kit1"); + auto kit1_file = drumkit_creator.createStdKit("kit1"); - auto midimapfile = drumkit_creator::createStdMidimap("midimap"); + auto midimapfile = drumkit_creator.createStdMidimap("midimap"); bool enable_velocity_modifier = true; float velocity_modifier_falloff = 0.5; float velocity_modifier_weight = 0.25; |