[Libreoffice-commits] online.git: loolwsd/test

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Aug 8 03:48:30 UTC 2016


 loolwsd/test/helpers.hpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit e3427aff34446d0a6becda272f00fcf098d257c7
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun Jul 31 11:17:06 2016 -0400

    loolwsd: when TDOC is not defined assume blank
    
    Change-Id: Iaf8ee6a8dff8dc4d602e7622a288a43b3459fb92
    Reviewed-on: https://gerrit.libreoffice.org/27956
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/test/helpers.hpp b/loolwsd/test/helpers.hpp
index ce21613..61bcb89 100644
--- a/loolwsd/test/helpers.hpp
+++ b/loolwsd/test/helpers.hpp
@@ -43,6 +43,10 @@
 #include <Util.hpp>
 #include <LOOLProtocol.hpp>
 
+#ifndef TDOC
+#    define TDOC ""
+#endif
+
 /// Common helper testing functions.
 /// Avoid the temptation to reuse from LOOL code!
 /// These are supposed to be testing the latter.


More information about the Libreoffice-commits mailing list