test/DeltaTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 329b3518e7d5850a6b661d5ab597ab6cd48b8f79 Author: Henry Castro <hcas...@collabora.com> Date: Sun Apr 29 20:14:33 2018 -0400 wsd:test: use TDOC preprocessing symbol Change-Id: Ib00fc7c9fe7ebfd308b330d430e8f2449e5da7cd diff --git a/test/DeltaTests.cpp b/test/DeltaTests.cpp index f324cf9d4..d3f020d25 100644 --- a/test/DeltaTests.cpp +++ b/test/DeltaTests.cpp @@ -156,14 +156,14 @@ void DeltaTests::testDeltaSequence() png_uint_32 height, width, rowBytes; const TileWireId textWid = 1; std::vector<char> text = - DeltaTests::loadPng("data/delta-text.png", + DeltaTests::loadPng(TDOC "/delta-text.png", height, width, rowBytes); CPPUNIT_ASSERT(height == 256 && width == 256 && rowBytes == 256*4); CPPUNIT_ASSERT_EQUAL(size_t(256 * 256 * 4), text.size()); const TileWireId text2Wid = 2; std::vector<char> text2 = - DeltaTests::loadPng("data/delta-text2.png", + DeltaTests::loadPng(TDOC "/delta-text2.png", height, width, rowBytes); CPPUNIT_ASSERT(height == 256 && width == 256 && rowBytes == 256*4); CPPUNIT_ASSERT_EQUAL(size_t(256 * 256 * 4), text2.size()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits