summaryrefslogtreecommitdiff
path: root/libs/ardour/test/playlist_equivalent_regions_test.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-14 13:01:32 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-14 13:01:32 +0000
commite258a15330a7cf1dfb7f54870fc6945cdbd07922 (patch)
tree75453d5418d40c488a574da5fc7fcc9bed95fe66 /libs/ardour/test/playlist_equivalent_regions_test.h
parentb7f586f0a3a2609790d5a451c8c46bc57092803d (diff)
Simple test for playlist region equivalency.
git-svn-id: svn://localhost/ardour2/branches/3.0@12724 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/playlist_equivalent_regions_test.h')
-rw-r--r--libs/ardour/test/playlist_equivalent_regions_test.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/ardour/test/playlist_equivalent_regions_test.h b/libs/ardour/test/playlist_equivalent_regions_test.h
new file mode 100644
index 0000000000..a3447bbe80
--- /dev/null
+++ b/libs/ardour/test/playlist_equivalent_regions_test.h
@@ -0,0 +1,36 @@
+/*
+ Copyright (C) 2012 Paul Davis
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#include "audio_region_test.h"
+
+class PlaylistEquivalentRegionsTest : public AudioRegionTest
+{
+ CPPUNIT_TEST_SUITE (PlaylistEquivalentRegionsTest);
+ CPPUNIT_TEST (basicsTest);
+ CPPUNIT_TEST (multiLayerTest);
+ CPPUNIT_TEST_SUITE_END ();
+
+public:
+ void setUp ();
+ void tearDown ();
+ void basicsTest ();
+ void multiLayerTest ();
+
+private:
+ boost::shared_ptr<ARDOUR::Playlist> _playlist_b;
+};