From e3033879f7693d40f652f013b00c76deed6994da Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Dec 2023 23:14:40 +0100 Subject: Rename everything. --- test/decryption_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/decryption_test.cc') 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(); + auto subs_asset = std::make_shared(); subs_asset->set_key (key); subs_asset->set_context_id (context_id); - subs_asset->add(std::make_shared( + subs_asset->add(std::make_shared( optional(), 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(reel_read->main_subtitle()->asset()); + auto smpte_sub = dynamic_pointer_cast(reel_read->main_subtitle()->asset()); BOOST_REQUIRE (smpte_sub); BOOST_CHECK (smpte_sub->key()); } -- cgit v1.2.3