summaryrefslogtreecommitdiff
path: root/libs/evoral/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-20 18:23:42 +0000
committerDavid Robillard <d@drobilla.net>2013-01-20 18:23:42 +0000
commitfa8d0268eb9488530a9544bd0ed2631636b129b7 (patch)
tree6d313405b9be4a2a61eae6c40ce4d85bbfb521e6 /libs/evoral/test
parentfc7b4b7f627e5238ee1cb48d1bbb36811b85b9ed (diff)
Fix compilation with --test.
Make midnam test suite pass again. The Ardour test suite does not pass. I commented out old crossfade stuff, but I am not familiar enough with the parts that fail to fix it. It might be a good idea for someone to look into this. Ideally we'd have the test integrated into everyone's workflow, but they add quite a few files to compile... git-svn-id: svn://localhost/ardour2/branches/3.0@13931 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/test')
-rw-r--r--libs/evoral/test/SequenceTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/test/SequenceTest.cpp b/libs/evoral/test/SequenceTest.cpp
index 6523675b0f..69931b8e0d 100644
--- a/libs/evoral/test/SequenceTest.cpp
+++ b/libs/evoral/test/SequenceTest.cpp
@@ -77,12 +77,12 @@ SequenceTest::iteratorSeekTest ()
bool on = true;
for (Sequence<Time>::const_iterator i = seq->begin(600); i != seq->end(); ++i) {
if (on) {
- CPPUNIT_ASSERT(((MIDIEvent<Time>&)*i).is_note_on());
+ CPPUNIT_ASSERT(((const MIDIEvent<Time>&)*i).is_note_on());
CPPUNIT_ASSERT_EQUAL(i->time(), Time((num_notes + 6) * 100));
++num_notes;
on = false;
} else {
- CPPUNIT_ASSERT(((MIDIEvent<Time>&)*i).is_note_off());
+ CPPUNIT_ASSERT(((const MIDIEvent<Time>&)*i).is_note_off());
on = true;
}
}