summaryrefslogtreecommitdiff
path: root/test/burnt_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-29 01:47:32 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-29 01:47:32 +0100
commitce73eaf7875a9a3326afcd839ad85eb95879c160 (patch)
treec4cff45a7bada9aebf48b6e51c5dffe086045e20 /test/burnt_subtitle_test.cc
parent0f772d68ef7fb32002538ce9ca7c9764d0d7135b (diff)
Cleanup: test tidying.
Diffstat (limited to 'test/burnt_subtitle_test.cc')
-rw-r--r--test/burnt_subtitle_test.cc21
1 files changed, 11 insertions, 10 deletions
diff --git a/test/burnt_subtitle_test.cc b/test/burnt_subtitle_test.cc
index 38ce61326..8136253e2 100644
--- a/test/burnt_subtitle_test.cc
+++ b/test/burnt_subtitle_test.cc
@@ -18,21 +18,23 @@
*/
+
/** @file test/burnt_subtitle_test.cc
* @brief Test the burning of subtitles into the DCP.
* @ingroup feature
*/
-#include "lib/plain_text_content.h"
+
+#include "lib/config.h"
+#include "lib/content_factory.h"
+#include "lib/dcp_content.h"
+#include "lib/dcp_content_type.h"
#include "lib/dcp_text_content.h"
#include "lib/film.h"
+#include "lib/log_entry.h"
+#include "lib/plain_text_content.h"
#include "lib/ratio.h"
-#include "lib/dcp_content_type.h"
#include "lib/text_content.h"
-#include "lib/dcp_content.h"
-#include "lib/content_factory.h"
-#include "lib/config.h"
-#include "lib/log_entry.h"
#include "test.h"
#include <dcp/dcp.h>
#include <dcp/cpl.h>
@@ -45,15 +47,14 @@
#include <dcp/reel_picture_asset.h>
#include <dcp/reel_mono_picture_asset.h>
#include <boost/test/unit_test.hpp>
-#include <iostream>
-using std::cout;
-using std::map;
-using std::shared_ptr;
+
using std::dynamic_pointer_cast;
using std::make_shared;
+using std::map;
using namespace dcpomatic;
+
/** Build a small DCP with no picture and a single subtitle overlaid onto it from a SubRip file */
BOOST_AUTO_TEST_CASE (burnt_subtitle_test_subrip)
{