summaryrefslogtreecommitdiff
path: root/libs/ardour/test
AgeCommit message (Collapse)Author
2012-06-26Add test for loading sessions, and a session with aCarl Hetherington
rec-enabled track that currently crashes. git-svn-id: svn://localhost/ardour2/branches/3.0@12945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unnecessary header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19Add load_session to profiling.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12775 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18Simple arrangement to run basic load tests on a corpusCarl Hetherington
of sessions. git-svn-id: svn://localhost/ardour2/branches/3.0@12760 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18Fix up profiling.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18Use a map of region names to speed upCarl Hetherington
RegionFactory::new_region_name; should help with #2982. git-svn-id: svn://localhost/ardour2/branches/3.0@12753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18Do XML comparisons better in tests.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12752 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18Basic region naming test.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12751 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17Profile of duplicating lots of regions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17Resurrect profiling code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17Use hardware optimization when running tests.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-16Add new SharedStatefulProperty which manages a shared_ptr toCarl Hetherington
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
2012-06-14Simple test for playlist region equivalency.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-14Remove debugging.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11Remove debug code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10Add test for compound regions with the layeringCarl Hetherington
reversed. git-svn-id: svn://localhost/ardour2/branches/3.0@12644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Clean up libardour tests a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Delete the session before the AudioEngine is stopped, as the mackie surface ↵Carl Hetherington
code wants to send out MIDI as it dies. git-svn-id: svn://localhost/ardour2/branches/3.0@12638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Test combination of regions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Comment tweaks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06Call ARDOUR::cleanup at the end of libardour tests (fromCarl Hetherington
Tim Mayberry). git-svn-id: svn://localhost/ardour2/branches/3.0@12579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-06Patch from Tim Mayberry:Carl Hetherington
Remove redundant init and cleanup code from common test code Calling PBD::EnumWriter::destroy means ARDOUR::init and setup_libpbd_enums need to be called again to register types. If the call to EnumWriter::destroy is removed then ARDOUR::init and setup_libpbd_enums no longer need to be called. EnumWriter::destroy should probably be added to ARDOUR::cleanup(or better yet PBD::cleanup) and then called at the end of main. __attribute__ ((destructor)) could be used but that is not portable between git-svn-id: svn://localhost/ardour2/branches/3.0@12578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01Minor tidy-ups to MTDM code; add test.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Add test for a transparent region on top of (and enclosing) another.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15Keep tests up to date with reality.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-15Remove some debug output.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-12Add test for strange boost-related crash.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-30Clarify behaviour of ::read (overwrites its buffer) wrt ::read_at (mixes ↵Carl Hetherington
into its buffer). Refactor things slightly, removing need for ReadOps. Fix crash on teardown of test. Fixes Rhythm Ferret. git-svn-id: svn://localhost/ardour2/branches/3.0@12127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20Fix linear interpolator to avoid error accumulation.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-19Another little test.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-18Re-work fade operation to be closer to Mixbus; thingsCarl Hetherington
below the top region's fades are implicitly faded in the opposite sense; restore short crossfades option. git-svn-id: svn://localhost/ardour2/branches/3.0@12022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16Fairly major change to the way in which crossfades are handled;Carl Hetherington
they are now done with region fades, rather than separate objects. After this commit, Ardour will try to convert your session files to the new crossfade format, but will make a backup in your session folder first. If you have works in progress using Ardour 3 it is ***STRONGLY RECOMMENDED*** that you back up session files before updating to this commit. git-svn-id: svn://localhost/ardour2/branches/3.0@11986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-14Fix a few framecnt / framepos type confusions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09Fix test build.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23Add another profiling session.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23Tidy a few things up.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-23Basic process thread profiling code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-06twiddle with one test explanation to help paul reason about itPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-05make extending the tempo map O(N) in the section to be filled in, rather ↵Paul Davis
than O(N) in the overall length of the map, and clean up some other details git-svn-id: svn://localhost/ardour2/branches/3.0@11166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Maybe fix initial run of tests with sources.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Add TestNeedingPlaylistAndRegionsCarl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03remove duplicated test conditionsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03fix incorrect tempo testPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03remove body of no-longer-relevant tempo-related testPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11143 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03add support for -D foobar when running testsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11142 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Add TestNeedingSession and add missing tempo_test.hCarl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03New test.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Reverse parameters to CPPUNIT_ASSERT_EQUAL so its assertCarl Hetherington
messages read the right way round. git-svn-id: svn://localhost/ardour2/branches/3.0@11137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Fix erroneous test.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-03Reverse parameters to CPPUNIT_ASSERT_EQUAL so its assertCarl Hetherington
messages read the right way round. git-svn-id: svn://localhost/ardour2/branches/3.0@11133 d708f5d6-7413-0410-9779-e7cbd77b26cf