NOOP, remove trailing tabs/whitespace.
[ardour.git] / libs / ardour / test / automation_list_property_test.cc
index c0b3e8a42aadf39ac0c3b9f36da09144c6e98612..e17ad4f151ce4a6659bcfaa6748537f030b276dd 100644 (file)
@@ -58,9 +58,9 @@ 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,13 +81,15 @@ 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());
+       delete foo;
        foo = new XMLNode ("test");
        property.get_changes_as_xml (foo);
        write_automation_list_xml (foo, test_data_filename);
        check_xml (foo, test_data_file2, ignore_properties);
+       delete foo;
 }
 
 /** Here's a StatefulDestructible class that has a AutomationListProperty */
@@ -133,13 +135,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";