summaryrefslogtreecommitdiff
path: root/test/image_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-09 16:45:26 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-11 22:24:28 +0100
commit5ff6b15ef3c58a046fb9eec0273c5e7322988a14 (patch)
tree26740a36eea1d61aeb62445671c4c2f3a8017de9 /test/image_test.cc
parentffe35585f08d0a5aeccf3e32f9c4cd2a5a6f43f5 (diff)
Move private_data into TestPaths
Diffstat (limited to 'test/image_test.cc')
-rw-r--r--test/image_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/image_test.cc b/test/image_test.cc
index 4eb2f0486..e021322e0 100644
--- a/test/image_test.cc
+++ b/test/image_test.cc
@@ -137,7 +137,7 @@ BOOST_AUTO_TEST_CASE (compact_image_test)
void
alpha_blend_test_one (AVPixelFormat format, string suffix)
{
- shared_ptr<FFmpegImageProxy> proxy (new FFmpegImageProxy (private_data / "prophet_frame.tiff"));
+ shared_ptr<FFmpegImageProxy> proxy (new FFmpegImageProxy (TestPaths::private_data / "prophet_frame.tiff"));
shared_ptr<Image> raw = proxy->image().first;
shared_ptr<Image> background = raw->convert_pixel_format (dcp::YUV_TO_RGB_REC709, format, true, false);
@@ -173,7 +173,7 @@ alpha_blend_test_one (AVPixelFormat format, string suffix)
shared_ptr<Image> save = background->convert_pixel_format (dcp::YUV_TO_RGB_REC709, AV_PIX_FMT_RGB24, false, false);
write_image (save, "build/test/image_test_" + suffix + ".png", "RGB");
- check_image ("build/test/image_test_" + suffix + ".png", private_data / ("image_test_" + suffix + ".png"));
+ check_image ("build/test/image_test_" + suffix + ".png", TestPaths::private_data / ("image_test_" + suffix + ".png"));
}
/** Test Image::alpha_blend */