summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-10 00:47:30 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-10 00:47:30 +0100
commitda38c8a0156808595be0aae1b1490069a663fb78 (patch)
tree27503d03848a16b4a437cacdad03e6872cd726f5 /test
parentd27598b1dcddd84fc0063dd1b67deabe164dc310 (diff)
Extract constants.h
Diffstat (limited to 'test')
-rw-r--r--test/audio_mapping_test.cc3
-rw-r--r--test/ffmpeg_encoder_test.cc1
-rw-r--r--test/hints_test.cc2
-rw-r--r--test/import_dcp_test.cc1
-rw-r--r--test/silence_padding_test.cc1
-rw-r--r--test/subtitle_font_id_test.cc1
-rw-r--r--test/vf_kdm_test.cc13
7 files changed, 14 insertions, 8 deletions
diff --git a/test/audio_mapping_test.cc b/test/audio_mapping_test.cc
index ca58c03ca..4e1042759 100644
--- a/test/audio_mapping_test.cc
+++ b/test/audio_mapping_test.cc
@@ -27,7 +27,8 @@
#include <boost/test/unit_test.hpp>
#include "lib/audio_mapping.h"
-#include "lib/util.h"
+#include "lib/constants.h"
+#include "lib/compose.hpp"
using std::list;
diff --git a/test/ffmpeg_encoder_test.cc b/test/ffmpeg_encoder_test.cc
index 88321d794..0881d2e2e 100644
--- a/test/ffmpeg_encoder_test.cc
+++ b/test/ffmpeg_encoder_test.cc
@@ -22,6 +22,7 @@
#include "lib/audio_content.h"
#include "lib/compose.hpp"
#include "lib/config.h"
+#include "lib/constants.h"
#include "lib/content_factory.h"
#include "lib/dcp_content.h"
#include "lib/dcpomatic_log.h"
diff --git a/test/hints_test.cc b/test/hints_test.cc
index ce7e87b9c..42c1c7cda 100644
--- a/test/hints_test.cc
+++ b/test/hints_test.cc
@@ -21,6 +21,7 @@
#include "lib/audio_content.h"
#include "lib/config.h"
+#include "lib/constants.h"
#include "lib/content.h"
#include "lib/content_factory.h"
#include "lib/cross.h"
@@ -28,7 +29,6 @@
#include "lib/font.h"
#include "lib/hints.h"
#include "lib/text_content.h"
-#include "lib/util.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 874e3d418..e759289be 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -26,6 +26,7 @@
#include "lib/config.h"
+#include "lib/constants.h"
#include "lib/content_factory.h"
#include "lib/cross.h"
#include "lib/dcp_content.h"
diff --git a/test/silence_padding_test.cc b/test/silence_padding_test.cc
index 6bcb82d05..28218e22f 100644
--- a/test/silence_padding_test.cc
+++ b/test/silence_padding_test.cc
@@ -25,6 +25,7 @@
*/
+#include "lib/constants.h"
#include "lib/ffmpeg_content.h"
#include "lib/film.h"
#include "lib/dcp_content_type.h"
diff --git a/test/subtitle_font_id_test.cc b/test/subtitle_font_id_test.cc
index 85fe179c4..95fd9da08 100644
--- a/test/subtitle_font_id_test.cc
+++ b/test/subtitle_font_id_test.cc
@@ -24,6 +24,7 @@
#include "lib/film.h"
#include "lib/font.h"
#include "lib/text_content.h"
+#include "lib/util.h"
#include <dcp/cpl.h>
#include <dcp/dcp.h>
#include <dcp/reel.h>
diff --git a/test/vf_kdm_test.cc b/test/vf_kdm_test.cc
index ff7c07b73..e52b11e67 100644
--- a/test/vf_kdm_test.cc
+++ b/test/vf_kdm_test.cc
@@ -26,14 +26,15 @@
#include "test.h"
-#include "lib/film.h"
-#include "lib/dcp_subtitle_content.h"
-#include "lib/ratio.h"
-#include "lib/dcp_content_type.h"
-#include "lib/dcp_content.h"
-#include "lib/ffmpeg_content.h"
#include "lib/config.h"
+#include "lib/constants.h"
#include "lib/cross.h"
+#include "lib/dcp_content.h"
+#include "lib/dcp_content_type.h"
+#include "lib/dcp_subtitle_content.h"
+#include "lib/ffmpeg_content.h"
+#include "lib/film.h"
+#include "lib/ratio.h"
#include "lib/screen.h"
#include <dcp/cpl.h>
#include <boost/test/unit_test.hpp>