summaryrefslogtreecommitdiff
path: root/libs/ardour/test
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-13 13:32:01 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-13 13:32:01 +0000
commitf60c9d52dc4c3d59f6a269a0a1b435581135d408 (patch)
tree02e8f39bbd0361d91202e71eecc33463bca6fd8f /libs/ardour/test
parent36ac7f3e786d3dde0972ed0f4c2babe392282c87 (diff)
Fix some bits of the libardour unit tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10564 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/test')
-rw-r--r--libs/ardour/test/mantis_3356.cc4
-rw-r--r--libs/ardour/test/resampled_source.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/test/mantis_3356.cc b/libs/ardour/test/mantis_3356.cc
index 30472692bc..2a68fca352 100644
--- a/libs/ardour/test/mantis_3356.cc
+++ b/libs/ardour/test/mantis_3356.cc
@@ -30,7 +30,7 @@ Mantis3356Test::test ()
MIDI::Manager::create (engine.jack ());
CPPUNIT_ASSERT (engine.start () == 0);
- Session session (engine, "../../libs/ardour/test/data/mantis_3356", "mantis_3356");
+ Session session (engine, "../libs/ardour/test/data/mantis_3356", "mantis_3356");
engine.set_session (&session);
Session::SourceMap sources = session.get_sources ();
@@ -47,7 +47,7 @@ Mantis3356Test::test ()
result << *i << "\n";
}
- ifstream ref ("../../libs/ardour/test/data/mantis_3356.ref");
+ ifstream ref ("../libs/ardour/test/data/mantis_3356.ref");
while (1) {
string a;
diff --git a/libs/ardour/test/resampled_source.cc b/libs/ardour/test/resampled_source.cc
index 00842c811e..bb8cd76f56 100644
--- a/libs/ardour/test/resampled_source.cc
+++ b/libs/ardour/test/resampled_source.cc
@@ -9,7 +9,7 @@ using namespace ARDOUR;
void
ResampledSourceTest::seekTest ()
{
- boost::shared_ptr<SndFileImportableSource> s (new SndFileImportableSource ("../../libs/ardour/test/data/test.wav"));
+ boost::shared_ptr<SndFileImportableSource> s (new SndFileImportableSource ("../libs/ardour/test/data/test.wav"));
ResampledImportableSource r (s, 48000, SrcBest);
/* Make sure that seek (0) has the desired effect, ie that