diff options
author | Carl Hetherington <carl@carlh.net> | 2011-12-11 14:50:36 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-12-11 14:50:36 +0000 |
commit | 1bbe08af1a44f46c13873b762decc7629274929d (patch) | |
tree | c7516ca9e7bdce095a906002f354e8e04dfa94bf /libs/ardour/test/framepos_minus_beats_test.h | |
parent | ed360080d0e7a4505eb3e90f3f9946754f0c779b (diff) |
Keep track of MIDI region's start positions in beats, to
match the source, so that starts are not corrupted when
tempos change (#4494).
git-svn-id: svn://localhost/ardour2/branches/3.0@10976 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/framepos_minus_beats_test.h')
-rw-r--r-- | libs/ardour/test/framepos_minus_beats_test.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/ardour/test/framepos_minus_beats_test.h b/libs/ardour/test/framepos_minus_beats_test.h new file mode 100644 index 0000000000..648ef71918 --- /dev/null +++ b/libs/ardour/test/framepos_minus_beats_test.h @@ -0,0 +1,21 @@ +#include <sigc++/sigc++.h> +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> + +class FrameposMinusBeatsTest : public CppUnit::TestFixture +{ + CPPUNIT_TEST_SUITE (FrameposMinusBeatsTest); + CPPUNIT_TEST (singleTempoTest); + CPPUNIT_TEST (doubleTempoTest); + CPPUNIT_TEST (doubleTempoWithMeterTest); + CPPUNIT_TEST_SUITE_END (); + +public: + void setUp () {} + void tearDown () {} + + void singleTempoTest (); + void doubleTempoTest (); + void doubleTempoWithMeterTest (); +}; + |