summaryrefslogtreecommitdiff
path: root/libs/ardour/test/data
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-16 17:20:10 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-16 17:20:10 +0000
commit5ac22e9095d5f851b5238029e3f813bc86fe2280 (patch)
tree51460c63aa9ace692dedceb01494f2a92d4bc364 /libs/ardour/test/data
parent9429401f11ffa0ee1729dbdc5e14e87cf06e2dc1 (diff)
Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for AutomationList. SharedStatefulProperty will manage undo / redo using full copies of the XML state, like MementoCommand, but does it within the Property undo system. git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/data')
-rw-r--r--libs/ardour/test/data/automation_list_property_test1.ref17
-rw-r--r--libs/ardour/test/data/automation_list_property_test2.ref24
-rw-r--r--libs/ardour/test/data/automation_list_property_test3.ref11
-rw-r--r--libs/ardour/test/data/automation_list_property_test4.ref13
4 files changed, 65 insertions, 0 deletions
diff --git a/libs/ardour/test/data/automation_list_property_test1.ref b/libs/ardour/test/data/automation_list_property_test1.ref
new file mode 100644
index 0000000000..b7c11f153a
--- /dev/null
+++ b/libs/ardour/test/data/automation_list_property_test1.ref
@@ -0,0 +1,17 @@
+<test>
+ <FadeIn>
+ <from>
+ <AutomationList automation-id="fadein" id="162" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ </AutomationList>
+ </from>
+ <to>
+ <AutomationList automation-id="fadein" id="162" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ <events>
+ 1 2
+3 4
+
+ </events>
+ </AutomationList>
+ </to>
+ </FadeIn>
+</test>
diff --git a/libs/ardour/test/data/automation_list_property_test2.ref b/libs/ardour/test/data/automation_list_property_test2.ref
new file mode 100644
index 0000000000..17df0e4f54
--- /dev/null
+++ b/libs/ardour/test/data/automation_list_property_test2.ref
@@ -0,0 +1,24 @@
+<test>
+ <FadeIn>
+ <from>
+ <AutomationList automation-id="fadein" id="162" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ <events>
+ 1 2
+3 4
+
+ </events>
+ </AutomationList>
+ </from>
+ <to>
+ <AutomationList automation-id="fadein" id="162" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ <events>
+ 1 2
+3 4
+5 6
+7 8
+
+ </events>
+ </AutomationList>
+ </to>
+ </FadeIn>
+</test>
diff --git a/libs/ardour/test/data/automation_list_property_test3.ref b/libs/ardour/test/data/automation_list_property_test3.ref
new file mode 100644
index 0000000000..edc1469d10
--- /dev/null
+++ b/libs/ardour/test/data/automation_list_property_test3.ref
@@ -0,0 +1,11 @@
+<State>
+ <FadeIn>
+ <AutomationList automation-id="fadein" id="166" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ <events>
+ 1 2
+3 4
+
+ </events>
+ </AutomationList>
+ </FadeIn>
+</State>
diff --git a/libs/ardour/test/data/automation_list_property_test4.ref b/libs/ardour/test/data/automation_list_property_test4.ref
new file mode 100644
index 0000000000..5a6024a429
--- /dev/null
+++ b/libs/ardour/test/data/automation_list_property_test4.ref
@@ -0,0 +1,13 @@
+<State>
+ <FadeIn>
+ <AutomationList automation-id="fadein" id="166" default="0" min-yval="0" max-yval="2" interpolation-style="Linear" state="Off" style="Absolute">
+ <events>
+ 1 2
+3 4
+5 6
+7 8
+
+ </events>
+ </AutomationList>
+ </FadeIn>
+</State>