summaryrefslogtreecommitdiff
path: root/libs/ardour/test/audio_region_read_test.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-09 23:07:27 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-09 23:07:27 +0000
commit1dc8d99d78908222545e78f41cff08896f46a529 (patch)
treeac30ffe2ceacd9db700fd15a36b2dfad45808284 /libs/ardour/test/audio_region_read_test.h
parenta715e566d03b5e1a68856ec0c24d59ed8610b768 (diff)
Clean up libardour tests a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@12641 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/audio_region_read_test.h')
-rw-r--r--libs/ardour/test/audio_region_read_test.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/ardour/test/audio_region_read_test.h b/libs/ardour/test/audio_region_read_test.h
new file mode 100644
index 0000000000..e6c20c1082
--- /dev/null
+++ b/libs/ardour/test/audio_region_read_test.h
@@ -0,0 +1,33 @@
+/*
+ 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 "ardour/types.h"
+#include "audio_region_test.h"
+
+class AudioRegionReadTest : public AudioRegionTest
+{
+ CPPUNIT_TEST_SUITE (AudioRegionReadTest);
+ CPPUNIT_TEST (readTest);
+ CPPUNIT_TEST_SUITE_END ();
+
+public:
+ void readTest ();
+
+private:
+ void check_staircase (ARDOUR::Sample *, int, int);
+};