diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-17 18:02:49 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-18 09:06:16 +0200 |
commit | 4060a94f6434b05a84d015d84e3b5f0315b44133 (patch) | |
tree | c11f59222fa75a3309afc3cd4310fbbb81eca090 /test/CppunitTest_test_xpath.mk | |
parent | 3748135983a9a70784a27ba2672b5856a3fc7481 (diff) |
Add a test to check XPath testing facilities in XmlTestTools
... to guarantee that e.g. getXPath will always fail for non-empty
non-existing attribute
Change-Id: I22cf932eda020abf16608341fcd1769b35478883
Reviewed-on: https://gerrit.libreoffice.org/70891
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test/CppunitTest_test_xpath.mk')
-rw-r--r-- | test/CppunitTest_test_xpath.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/CppunitTest_test_xpath.mk b/test/CppunitTest_test_xpath.mk new file mode 100644 index 000000000000..f36741048657 --- /dev/null +++ b/test/CppunitTest_test_xpath.mk @@ -0,0 +1,27 @@ +# -*- 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,test_xpath)) + +$(eval $(call gb_CppunitTest_add_exception_objects,test_xpath, \ + test/qa/cppunit/test_xpath \ +)) + +$(eval $(call gb_CppunitTest_use_externals,test_xpath,\ + libxml2 \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,test_xpath, \ + sal \ + test \ +)) + +$(eval $(call gb_CppunitTest_use_sdk_api,test_xpath)) + +# vim: set noet sw=4 ts=4: |