summaryrefslogtreecommitdiff
path: root/test/midimapparsertest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-07-25 21:24:38 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:57 +0200
commitf2fa9543a11fd5551aa619160d5a02b886fb1bbb (patch)
tree6c6adcd10be04aca81b283f82920dbd0b880467e /test/midimapparsertest.cc
parent7543b64a995c1a2d3eb598c049919729016ba252 (diff)
Rewrite MidiMapParser to use pugixml.
Diffstat (limited to 'test/midimapparsertest.cc')
-rw-r--r--test/midimapparsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/midimapparsertest.cc b/test/midimapparsertest.cc
index 9af415c..006944c 100644
--- a/test/midimapparsertest.cc
+++ b/test/midimapparsertest.cc
@@ -53,7 +53,7 @@ public:
"</midimap>");
MidiMapParser parser;
- DGUNIT_ASSERT(!parser.parseFile(scoped_file.filename()));
+ DGUNIT_ASSERT(parser.parseFile(scoped_file.filename()));
DGUNIT_ASSERT(parser.midimap.find(54) != parser.midimap.end());
DGUNIT_ASSERT(parser.midimap.find(60) != parser.midimap.end());
@@ -81,7 +81,7 @@ public:
"</midimap>");
MidiMapParser parser;
- DGUNIT_ASSERT(parser.parseFile(scoped_file.filename()));
+ DGUNIT_ASSERT(!parser.parseFile(scoped_file.filename()));
}
};