summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-04 23:14:40 +0100
committerCarl Hetherington <cth@carlh.net>2023-12-05 00:49:33 +0100
commite3033879f7693d40f652f013b00c76deed6994da (patch)
tree16c6a62810d61306e15b0e81e8f4ef92015d0473 /test/decryption_test.cc
parent6973568117ed23c300f5ffa538f7eae87a9a9927 (diff)
Rename everything.
Diffstat (limited to 'test/decryption_test.cc')
-rw-r--r--test/decryption_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc
index 8f3dbff7..dd91da1e 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -48,7 +48,7 @@
#include "reel_sound_asset.h"
#include "reel_smpte_subtitle_asset.h"
#include "rgb_xyz.h"
-#include "smpte_subtitle_asset.h"
+#include "smpte_text_asset.h"
#include "sound_asset.h"
#include "sound_asset_writer.h"
#include "stream_operators.h"
@@ -178,10 +178,10 @@ BOOST_AUTO_TEST_CASE (decryption_test2)
sound_writer->write(audio.data(), 2, 48000);
sound_writer->finalize ();
- auto subs_asset = std::make_shared<dcp::SMPTESubtitleAsset>();
+ auto subs_asset = std::make_shared<dcp::SMPTETextAsset>();
subs_asset->set_key (key);
subs_asset->set_context_id (context_id);
- subs_asset->add(std::make_shared<dcp::SubtitleString>(
+ subs_asset->add(std::make_shared<dcp::TextString>(
optional<string>(),
false, false, false,
dcp::Colour(255, 255, 255),
@@ -236,7 +236,7 @@ BOOST_AUTO_TEST_CASE (decryption_test2)
BOOST_REQUIRE (reel_read->main_sound());
BOOST_CHECK (reel_read->main_sound()->asset()->key());
BOOST_REQUIRE (reel_read->main_subtitle());
- auto smpte_sub = dynamic_pointer_cast<dcp::SMPTESubtitleAsset>(reel_read->main_subtitle()->asset());
+ auto smpte_sub = dynamic_pointer_cast<dcp::SMPTETextAsset>(reel_read->main_subtitle()->asset());
BOOST_REQUIRE (smpte_sub);
BOOST_CHECK (smpte_sub->key());
}