summaryrefslogtreecommitdiff
path: root/test/image_proxy_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-29 22:49:05 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-29 22:49:05 +0100
commit64bd18216738052c150770561f8f78e13ca792b8 (patch)
tree6d1809492436c3bd4d0f962a261bf25da5f2bf1e /test/image_proxy_test.cc
parentcf26869c2789b7ecf91e486fc3c7bf271276a592 (diff)
Move some test references into test-private.
Diffstat (limited to 'test/image_proxy_test.cc')
-rw-r--r--test/image_proxy_test.cc5
1 files changed, 3 insertions, 2 deletions
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 <boost/shared_ptr.hpp>
#include <boost/test/unit_test.hpp>
@@ -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)