summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-16 01:26:19 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-16 01:26:19 +0100
commit0a3de908ae0f62dd8d7d5aaaa96e2ddab891b5a8 (patch)
tree3fedb8afbdd883f2febe22b2801134bde936790b /test
parent09a0d2f170b17c1eef75d334f20e5f5c6d19b1c9 (diff)
Remove unused method.
Diffstat (limited to 'test')
-rw-r--r--test/audio_processor_test.cc2
-rw-r--r--test/ffmpeg_audio_only_test.cc2
-rw-r--r--test/ffmpeg_audio_test.cc2
-rw-r--r--test/ffmpeg_dcp_test.cc2
-rw-r--r--test/film_metadata_test.cc4
-rw-r--r--test/reels_test.cc8
-rw-r--r--test/repeat_frame_test.cc2
-rw-r--r--test/seek_zero_test.cc2
-rw-r--r--test/skip_frame_test.cc2
-rw-r--r--test/threed_test.cc2
10 files changed, 14 insertions, 14 deletions
diff --git a/test/audio_processor_test.cc b/test/audio_processor_test.cc
index 8357cff78..82ae9e563 100644
--- a/test/audio_processor_test.cc
+++ b/test/audio_processor_test.cc
@@ -39,7 +39,7 @@ BOOST_AUTO_TEST_CASE (audio_processor_test)
wait_for_jobs ();
film->set_audio_channels (6);
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->set_audio_processor (AudioProcessor::from_id ("mid-side-decoder"));
/* Analyse the audio and check it doesn't crash */
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc
index bad800e57..b0606ab0f 100644
--- a/test/ffmpeg_audio_only_test.cc
+++ b/test/ffmpeg_audio_only_test.cc
@@ -36,7 +36,7 @@ test (boost::filesystem::path file)
{
shared_ptr<Film> film = new_test_film ("ffmpeg_audio_only_test");
film->set_name ("test_film");
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
shared_ptr<FFmpegContent> c (new FFmpegContent (film, file));
film->examine_and_add_content (c);
wait_for_jobs ();
diff --git a/test/ffmpeg_audio_test.cc b/test/ffmpeg_audio_test.cc
index cfbaf46c3..1e9048584 100644
--- a/test/ffmpeg_audio_test.cc
+++ b/test/ffmpeg_audio_test.cc
@@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test)
film->set_container (Ratio::from_id ("185"));
film->set_audio_channels (6);
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->make_dcp ();
film->write_metadata ();
diff --git a/test/ffmpeg_dcp_test.cc b/test/ffmpeg_dcp_test.cc
index 18decee95..a28119110 100644
--- a/test/ffmpeg_dcp_test.cc
+++ b/test/ffmpeg_dcp_test.cc
@@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_dcp_test)
c->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->make_dcp ();
film->write_metadata ();
diff --git a/test/film_metadata_test.cc b/test/film_metadata_test.cc
index 970c6526d..b59de23c6 100644
--- a/test/film_metadata_test.cc
+++ b/test/film_metadata_test.cc
@@ -44,7 +44,7 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
BOOST_CHECK (film->dcp_content_type() == 0);
film->set_name ("fred");
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Short"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("SHR"));
film->set_container (Ratio::from_id ("185"));
film->set_j2k_bandwidth (200000000);
film->write_metadata ();
@@ -57,7 +57,7 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
g->read_metadata ();
BOOST_CHECK_EQUAL (g->name(), "fred");
- BOOST_CHECK_EQUAL (g->dcp_content_type(), DCPContentType::from_pretty_name ("Short"));
+ BOOST_CHECK_EQUAL (g->dcp_content_type(), DCPContentType::from_isdcf_name ("SHR"));
BOOST_CHECK_EQUAL (g->container(), Ratio::from_id ("185"));
g->write_metadata ();
diff --git a/test/reels_test.cc b/test/reels_test.cc
index 6178c88ac..50b4622e2 100644
--- a/test/reels_test.cc
+++ b/test/reels_test.cc
@@ -84,7 +84,7 @@ BOOST_AUTO_TEST_CASE (reels_test2)
shared_ptr<Film> film = new_test_film ("reels_test2");
film->set_name ("reels_test2");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
{
shared_ptr<ImageContent> c (new ImageContent (film, "test/data/flat_red.png"));
@@ -118,7 +118,7 @@ BOOST_AUTO_TEST_CASE (reels_test2)
shared_ptr<Film> film2 = new_test_film ("reels_test2b");
film2->set_name ("reels_test2b");
film2->set_container (Ratio::from_id ("185"));
- film2->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film2->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film2->set_reel_type (REELTYPE_BY_VIDEO_CONTENT);
shared_ptr<DCPContent> c (new DCPContent (film2, film->dir (film->dcp_name ())));
@@ -152,7 +152,7 @@ BOOST_AUTO_TEST_CASE (reels_test3)
shared_ptr<Film> film = new_test_film ("reels_test3");
film->set_name ("reels_test3");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->set_reel_type (REELTYPE_BY_VIDEO_CONTENT);
shared_ptr<Content> dcp (new DCPContent (film, "test/data/reels_test2"));
@@ -185,7 +185,7 @@ BOOST_AUTO_TEST_CASE (reels_test4)
shared_ptr<Film> film = new_test_film ("reels_test4");
film->set_name ("reels_test4");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->set_reel_type (REELTYPE_BY_VIDEO_CONTENT);
/* 4 piece of 1s-long content */
diff --git a/test/repeat_frame_test.cc b/test/repeat_frame_test.cc
index d145ccb18..5e6da83e1 100644
--- a/test/repeat_frame_test.cc
+++ b/test/repeat_frame_test.cc
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test)
shared_ptr<Film> film = new_test_film ("repeat_frame_test");
film->set_name ("repeat_frame_test");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/red_24.mp4"));
film->examine_and_add_content (c);
diff --git a/test/seek_zero_test.cc b/test/seek_zero_test.cc
index a176339e7..faf4c9eac 100644
--- a/test/seek_zero_test.cc
+++ b/test/seek_zero_test.cc
@@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (seek_zero_test)
shared_ptr<Film> film = new_test_film ("seek_zero_test");
film->set_name ("seek_zero_test");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
shared_ptr<FFmpegContent> content (new FFmpegContent (film, "test/data/count300bd48.m2ts"));
film->examine_and_add_content (content);
wait_for_jobs ();
diff --git a/test/skip_frame_test.cc b/test/skip_frame_test.cc
index 8ff43a4ca..535efacdf 100644
--- a/test/skip_frame_test.cc
+++ b/test/skip_frame_test.cc
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE (skip_frame_test)
shared_ptr<Film> film = new_test_film ("skip_frame_test");
film->set_name ("skip_frame_test");
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/count300bd48.m2ts"));
film->examine_and_add_content (c);
diff --git a/test/threed_test.cc b/test/threed_test.cc
index ab94cf8e5..5a28122c0 100644
--- a/test/threed_test.cc
+++ b/test/threed_test.cc
@@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE (threed_test)
c->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
film->set_container (Ratio::from_id ("185"));
- film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
film->set_three_d (true);
film->make_dcp ();
film->write_metadata ();