summaryrefslogtreecommitdiff
path: root/libs/ardour/test
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-12-05 20:50:09 +0100
committerRobin Gareus <robin@gareus.org>2014-12-05 20:57:07 +0100
commit8714fab1bcec70383e8c3a1b461df4943fcf7b94 (patch)
tree67a4fa718784910184b383e5073b2faac4612e67 /libs/ardour/test
parent91d3e8ead0fc19cfec6b157a56b8bb391d3be44d (diff)
update to 'new' ControlList API
add (double when, double value, bool with_guards=true, bool with_default=true);
Diffstat (limited to 'libs/ardour/test')
-rw-r--r--libs/ardour/test/automation_list_property_test.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/ardour/test/automation_list_property_test.cc b/libs/ardour/test/automation_list_property_test.cc
index c0b3e8a42a..5bfdff3b89 100644
--- a/libs/ardour/test/automation_list_property_test.cc
+++ b/libs/ardour/test/automation_list_property_test.cc
@@ -59,8 +59,8 @@ AutomationListPropertyTest::basicTest ()
/* No change since we just cleared them */
CPPUNIT_ASSERT_EQUAL (false, property.changed());
- property->add (1, 2);
- property->add (3, 4);
+ property->add (1, 2, false, false);
+ property->add (3, 4, false, false);
/* Now it has changed */
CPPUNIT_ASSERT_EQUAL (true, property.changed());
@@ -81,8 +81,8 @@ AutomationListPropertyTest::basicTest ()
/* Do some more */
property.clear_changes ();
CPPUNIT_ASSERT_EQUAL (false, property.changed());
- property->add (5, 6);
- property->add (7, 8);
+ property->add (5, 6, false, false);
+ property->add (7, 8, false, false);
CPPUNIT_ASSERT_EQUAL (true, property.changed());
foo = new XMLNode ("test");
property.get_changes_as_xml (foo);
@@ -133,13 +133,13 @@ AutomationListPropertyTest::undoTest ()
boost::shared_ptr<Fred> sheila (new Fred);
/* Add some data */
- sheila->_jim->add (1, 2);
- sheila->_jim->add (3, 4);
+ sheila->_jim->add (1, 2, false, false);
+ sheila->_jim->add (3, 4, false, false);
/* Do a `command' */
sheila->clear_changes ();
- sheila->_jim->add (5, 6);
- sheila->_jim->add (7, 8);
+ sheila->_jim->add (5, 6, false, false);
+ sheila->_jim->add (7, 8, false, false);
StatefulDiffCommand sdc (sheila);
std::string test_data_filename = "automation_list_property_test3.ref";