summaryrefslogtreecommitdiff
path: root/sax/CppunitTest_sax_parser.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-10-15 17:28:35 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-10-17 21:38:33 +0200
commitdffb0782bb40337e32f3a22b3827b1d47e0acd72 (patch)
tree21568f714cc028950053aa232f2209dae16808c3 /sax/CppunitTest_sax_parser.mk
parent7082efee96e1f165b30b1266376bb95db006e25e (diff)
sax: add unit test for FastSaxParser
Adapt FastSaxParser so that it does not require XFastDocumentHandler. Change-Id: I7af49752dfbb4b55b8dde094fe6b762bd179be78
Diffstat (limited to 'sax/CppunitTest_sax_parser.mk')
-rw-r--r--sax/CppunitTest_sax_parser.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/sax/CppunitTest_sax_parser.mk b/sax/CppunitTest_sax_parser.mk
new file mode 100644
index 000000000000..fd31c1079ca6
--- /dev/null
+++ b/sax/CppunitTest_sax_parser.mk
@@ -0,0 +1,41 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,sax_parser))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sax_parser, \
+ sax/qa/cppunit/parser \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sax_parser, \
+ comphelper \
+ cppu \
+ sal \
+ test \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,sax_parser))
+
+$(eval $(call gb_CppunitTest_use_ure,sax_parser))
+
+$(eval $(call gb_CppunitTest_use_components,sax_parser,\
+ configmgr/source/configmgr \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ oox/util/oox \
+ sax/source/fastparser/fastsax \
+ sfx2/util/sfx \
+ ucb/source/core/ucb1 \
+ ucb/source/ucp/file/ucpfile1 \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sax_parser))
+
+# vim: set noet sw=4 ts=4: