From 973ff1027311bc59edf446f82b173d18b5ed0a36 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 Sep 2019 17:42:19 +0200 Subject: [PATCH] Fix paths to .midnam file --- libs/midi++2/test/MidnamTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/midi++2/test/MidnamTest.cpp b/libs/midi++2/test/MidnamTest.cpp index 3d0beeb72f..5d822217d9 100644 --- a/libs/midi++2/test/MidnamTest.cpp +++ b/libs/midi++2/test/MidnamTest.cpp @@ -22,7 +22,7 @@ test_search_path () std::vector path_tok; path_tok.push_back (g_win32_get_package_installation_directory_of_module(NULL)); path_tok.push_back ("share"); - path_tok.push_back ("ardour3"); + path_tok.push_back ("ardour6"); // XXX lwrcase_dirname path_tok.push_back ("patchfiles"); return Glib::build_filename (path_tok); } @@ -35,7 +35,7 @@ MidnamTest::protools_patchfile_test() { std::string test_file_path; - CPPUNIT_ASSERT(find_file (test_search_path (), "Roland_SC-88_Pro.midnam", test_file_path)); + CPPUNIT_ASSERT(find_file (test_search_path (), "Roland_SC_88_Pro.midnam", test_file_path)); XMLTree xmldoc(test_file_path); boost::shared_ptr result = xmldoc.find( "//MIDINameDocument"); @@ -103,7 +103,7 @@ MidnamTest::yamaha_PSRS900_patchfile_test() { std::string test_file_path; - CPPUNIT_ASSERT(find_file (test_search_path (), "Yamaha_PSR-S900.midnam", test_file_path)); + CPPUNIT_ASSERT(find_file (test_search_path (), "Yamaha_PSR_S900.midnam", test_file_path)); XMLTree xmldoc(test_file_path); boost::shared_ptr result = xmldoc.find( "//MIDINameDocument");