[Libreoffice-commits] online.git: test/DeltaTests.cpp

Henry Castro hcastro at collabora.com
Mon Apr 30 00:27:49 UTC 2018


 test/DeltaTests.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 329b3518e7d5850a6b661d5ab597ab6cd48b8f79
Author: Henry Castro <hcastro at 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());


More information about the Libreoffice-commits mailing list