From 64bd18216738052c150770561f8f78e13ca792b8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Nov 2020 22:49:05 +0100 Subject: Move some test references into test-private. --- test/image_proxy_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/image_proxy_test.cc') diff --git a/test/image_proxy_test.cc b/test/image_proxy_test.cc index 0999d4b10..73ab8cb4c 100644 --- a/test/image_proxy_test.cc +++ b/test/image_proxy_test.cc @@ -21,6 +21,7 @@ #include "lib/ffmpeg_image_proxy.h" #include "lib/j2k_image_proxy.h" +#include "test.h" #include #include @@ -28,8 +29,8 @@ using boost::shared_ptr; -static const char data_file0[] = "test/data/player_seek_test_0.png"; -static const char data_file1[] = "test/data/player_seek_test_1.png"; +static const boost::filesystem::path data_file0 = TestPaths::private_data() / "player_seek_test_0.png"; +static const boost::filesystem::path data_file1 = TestPaths::private_data9) / "player_seek_test_1.png"; BOOST_AUTO_TEST_CASE (j2k_image_proxy_same_test) -- cgit v1.2.3