diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-26 18:47:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-26 18:47:20 +0000 |
commit | a50dd69c0ca39cc675da6d78e0fdbfea5581531f (patch) | |
tree | f6fd9a76dd472bb751fcbdf334b74dc41fbe6525 /libs/ardour/test/load_sessions_test.cc | |
parent | 7031e1249512474af94b4765a634b8dcfa9a87d7 (diff) |
Add test for loading sessions, and a session with a
rec-enabled track that currently crashes.
git-svn-id: svn://localhost/ardour2/branches/3.0@12945 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test/load_sessions_test.cc')
-rw-r--r-- | libs/ardour/test/load_sessions_test.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/ardour/test/load_sessions_test.cc b/libs/ardour/test/load_sessions_test.cc new file mode 100644 index 0000000000..73cc506430 --- /dev/null +++ b/libs/ardour/test/load_sessions_test.cc @@ -0,0 +1,28 @@ +/* + 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 "load_sessions_test.h" +#include "test_util.h" + +CPPUNIT_TEST_SUITE_REGISTRATION (LoadSessionsTest); + +void +LoadSessionsTest::loadSessions () +{ + load_session ("../libs/ardour/test/data/sessions/rec_enabled", "rec_enabled"); +} |