summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-05-15 22:14:29 -0400
committerAndras Timar <andras.timar@collabora.com>2019-05-24 08:57:36 +0200
commit898c47fbb42b6093c6d31bdd08c605f9b0bc0de2 (patch)
treedb236182b5e5e1893b61de7e2e23eaa0e725436d /test/Makefile.am
parentbf88897c47e6f21d638ff738adcb462e744e6fd7 (diff)
wsd: fix the exception "Bad URI syntax"
if the file name has '%' character it throws exception "Bad URI syntax", so use the encoded file name string Change-Id: I6a8d841761b46ac49a6c79956ba215e1affa53e5 Reviewed-on: https://gerrit.libreoffice.org/72385 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b934c70f4f1f9f3ee4f873570633a3b1ec931652) Reviewed-on: https://gerrit.libreoffice.org/72890
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index eed2abd5d..f1f43aee9 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -20,7 +20,8 @@ noinst_LTLIBRARIES = \
unit-fuzz.la unit-oob.la unit-http.la unit-oauth.la \
unit-wopi.la unit-wopi-saveas.la \
unit-wopi-ownertermination.la unit-wopi-versionrestore.la \
- unit-wopi-documentconflict.la unit_wopi_renamefile.la
+ unit-wopi-documentconflict.la unit_wopi_renamefile.la \
+ unit-wopi-loadencoded.la
MAGIC_TO_FORCE_SHLIB_CREATION = -rpath /dummy
@@ -113,6 +114,8 @@ unit_wopi_documentconflict_la_SOURCES = UnitWOPIDocumentConflict.cpp
unit_wopi_documentconflict_la_LIBADD = $(CPPUNIT_LIBS)
unit_wopi_renamefile_la_SOURCES = UnitWOPIRenameFile.cpp
unit_wopi_renamefile_la_LIBADD = $(CPPUNIT_LIBS)
+unit_wopi_loadencoded_la_SOURCES = UnitWOPILoadEncoded.cpp
+unit_wopi_loadencoded_la_LIBADD = $(CPPUNIT_LIBS)
if HAVE_LO_PATH
SYSTEM_STAMP = @SYSTEMPLATE_PATH@/system_stamp
@@ -132,7 +135,8 @@ TESTS = unit-typing.la unit-convert.la unit-prefork.la unit-tilecache.la \
unit-timeout.la unit-oauth.la unit-wopi.la unit-wopi-saveas.la \
unit-wopi-ownertermination.la unit-wopi-versionrestore.la \
unit-wopi-documentconflict.la unit_wopi_renamefile.la \
- unit-http.la
+ unit-http.la \
+ unit-wopi-loadencoded.la
# TESTS = unit-client.la
# TESTS += unit-admin.la
# TESTS += unit-storage.la