mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Ignore <ExtendingDeviceNames> midnam during unit-test
So far Ardour only supports midnam descriptions that specify a <MasterDeviceNames> directly.
This commit is contained in:
parent
973ff10273
commit
22e5c1de0d
1 changed files with 6 additions and 0 deletions
|
|
@ -191,6 +191,12 @@ MidnamTest::load_all_midnams_test ()
|
||||||
boost::shared_ptr<XMLSharedNodeList> result = xmldoc.find("//MIDINameDocument");
|
boost::shared_ptr<XMLSharedNodeList> result = xmldoc.find("//MIDINameDocument");
|
||||||
CPPUNIT_ASSERT(result->size() == 1);
|
CPPUNIT_ASSERT(result->size() == 1);
|
||||||
|
|
||||||
|
result = xmldoc.find("//ExtendingDeviceNames");
|
||||||
|
if (result->size() != 0) {
|
||||||
|
cout << " ... skipped (ExtendingDeviceNames)" << endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
result = xmldoc.find("//MasterDeviceNames");
|
result = xmldoc.find("//MasterDeviceNames");
|
||||||
CPPUNIT_ASSERT(result->size() == 1);
|
CPPUNIT_ASSERT(result->size() == 1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue