summaryrefslogtreecommitdiff
path: root/test/audio_delay_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-27 20:55:51 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-02 13:38:21 +0100
commit0a93237cb5e4642d3b698ff9b7d0cfae5401478c (patch)
treeb0d5255ae2b90d1c9ef489e78239c2f081ea0a9e /test/audio_delay_test.cc
parent608c146eb09fac2a8fc60e1a72591f6bb8364e1f (diff)
Handle multiple audio streams in a single piece of content
in a similar way to the V1 patch.
Diffstat (limited to 'test/audio_delay_test.cc')
-rw-r--r--test/audio_delay_test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/audio_delay_test.cc b/test/audio_delay_test.cc
index 68e14ff3c..63f363114 100644
--- a/test/audio_delay_test.cc
+++ b/test/audio_delay_test.cc
@@ -43,6 +43,8 @@ using boost::shared_ptr;
static
void test_audio_delay (int delay_in_ms)
{
+ BOOST_TEST_MESSAGE ("Testing delay of " << delay_in_ms);
+
string const film_name = "audio_delay_test_" + lexical_cast<string> (delay_in_ms);
shared_ptr<Film> film = new_test_film (film_name);
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
@@ -87,7 +89,7 @@ void test_audio_delay (int delay_in_ms)
delayed = 0;
}
- BOOST_CHECK_EQUAL (sample, delayed);
+ BOOST_REQUIRE_EQUAL (sample, delayed);
++n;
}
}