summaryrefslogtreecommitdiff
path: root/libs/midi++2/test
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-05 17:42:19 +0200
committerRobin Gareus <robin@gareus.org>2019-09-05 17:42:19 +0200
commit973ff1027311bc59edf446f82b173d18b5ed0a36 (patch)
treeede57ca5ce42feb949334d6ba6471c34a7d5783d /libs/midi++2/test
parentdfdce8345295199e422828ab174c6f254d460ade (diff)
Fix paths to .midnam file
Diffstat (limited to 'libs/midi++2/test')
-rw-r--r--libs/midi++2/test/MidnamTest.cpp6
1 files 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<std::string> 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<XMLSharedNodeList> 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<XMLSharedNodeList> result = xmldoc.find(
"//MIDINameDocument");