summaryrefslogtreecommitdiff
path: root/test/decryption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-27 14:16:40 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-27 14:25:17 +0200
commit77add31b0e5d38e307dd5694b634d5614e9133b4 (patch)
tree5508fb33c7f011d77fecaf715fe79d50d290630d /test/decryption_test.cc
parentc1d32ccfc586d0292ca4ec35a03fb403c3c45a07 (diff)
C++11 cleanup.
Diffstat (limited to 'test/decryption_test.cc')
-rw-r--r--test/decryption_test.cc30
1 files changed, 22 insertions, 8 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc
index 77f349bd..26005d12 100644
--- a/test/decryption_test.cc
+++ b/test/decryption_test.cc
@@ -31,29 +31,43 @@
files in the program, then also delete it here.
*/
-#include "dcp.h"
-#include "mono_picture_frame.h"
+#include "colour_conversion.h"
#include "cpl.h"
+#include "dcp.h"
#include "decrypted_kdm.h"
#include "encrypted_kdm.h"
#include "mono_picture_asset.h"
#include "mono_picture_asset_reader.h"
-#include "reel_picture_asset.h"
-#include "reel.h"
-#include "test.h"
+#include "mono_picture_frame.h"
#include "openjpeg_image.h"
+#include "picture_asset_writer.h"
+#include "reel.h"
+#include "reel_file_asset.h"
+#include "reel_mono_picture_asset.h"
+#include "reel_picture_asset.h"
+#include "reel_sound_asset.h"
+#include "reel_smpte_subtitle_asset.h"
#include "rgb_xyz.h"
-#include "colour_conversion.h"
+#include "smpte_subtitle_asset.h"
+#include "sound_asset.h"
+#include "sound_asset_writer.h"
#include "stream_operators.h"
+#include "test.h"
#include <boost/test/unit_test.hpp>
#include <boost/scoped_array.hpp>
-using std::pair;
-using std::make_pair;
+
using std::dynamic_pointer_cast;
+using std::make_pair;
+using std::make_shared;
+using std::map;
+using std::pair;
using std::shared_ptr;
+using std::string;
+using boost::optional;
using boost::scoped_array;
+
pair<uint8_t*, dcp::Size>
get_frame (dcp::DCP const & dcp)
{