summaryrefslogtreecommitdiff
path: root/test/source/util
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-12-15 14:26:30 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-12-19 10:20:04 +0100
commit7ac769c1a915ea33d997f452f3b86eb11fa00c8a (patch)
tree46c7222b10210eb916b9cdcb05ddd064d7526d6e /test/source/util
parentc1a4554c67fc975ead3f79b3511a76617e4615b3 (diff)
tdf#42949 Fix IWYU warnings in test/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Id1ee9b6d44315443d023bdfbf9ae8e5aa2158ab2 Reviewed-on: https://gerrit.libreoffice.org/85171 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'test/source/util')
-rw-r--r--test/source/util/searchdescriptor.cxx2
-rw-r--r--test/source/util/xindent.cxx3
-rw-r--r--test/source/util/xmergeable.cxx3
-rw-r--r--test/source/util/xrefreshable.cxx2
-rw-r--r--test/source/util/xreplaceable.cxx2
-rw-r--r--test/source/util/xreplacedescriptor.cxx2
-rw-r--r--test/source/util/xsearchable.cxx2
-rw-r--r--test/source/util/xsearchdescriptor.cxx2
8 files changed, 7 insertions, 11 deletions
diff --git a/test/source/util/searchdescriptor.cxx b/test/source/util/searchdescriptor.cxx
index a2b72ce588dc..d8299455835d 100644
--- a/test/source/util/searchdescriptor.cxx
+++ b/test/source/util/searchdescriptor.cxx
@@ -14,8 +14,6 @@
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
-
using namespace css;
namespace apitest
diff --git a/test/source/util/xindent.cxx b/test/source/util/xindent.cxx
index 1bbc9da57195..6b15407f970f 100644
--- a/test/source/util/xindent.cxx
+++ b/test/source/util/xindent.cxx
@@ -7,7 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/cppunitasserthelper.hxx>
#include <test/util/xindent.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -16,7 +15,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/test/source/util/xmergeable.cxx b/test/source/util/xmergeable.cxx
index a0c99c186718..211b2b67f4fa 100644
--- a/test/source/util/xmergeable.cxx
+++ b/test/source/util/xmergeable.cxx
@@ -7,14 +7,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/cppunitasserthelper.hxx>
#include <test/util/xmergeable.hxx>
#include <com/sun/star/util/XMergeable.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/test/source/util/xrefreshable.cxx b/test/source/util/xrefreshable.cxx
index 4e6d2374a57f..f448d93e5008 100644
--- a/test/source/util/xrefreshable.cxx
+++ b/test/source/util/xrefreshable.cxx
@@ -18,7 +18,7 @@
#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/test/source/util/xreplaceable.cxx b/test/source/util/xreplaceable.cxx
index 76d3516ee5fb..ac9d1a4dc66d 100644
--- a/test/source/util/xreplaceable.cxx
+++ b/test/source/util/xreplaceable.cxx
@@ -12,7 +12,7 @@
#include <com/sun/star/util/XReplaceable.hpp>
#include <com/sun/star/util/XReplaceDescriptor.hpp>
#include <com/sun/star/util/XSearchDescriptor.hpp>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
#include <iostream>
diff --git a/test/source/util/xreplacedescriptor.cxx b/test/source/util/xreplacedescriptor.cxx
index 15733cc6f252..b3b042a2d826 100644
--- a/test/source/util/xreplacedescriptor.cxx
+++ b/test/source/util/xreplacedescriptor.cxx
@@ -14,7 +14,7 @@
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;
diff --git a/test/source/util/xsearchable.cxx b/test/source/util/xsearchable.cxx
index e0775ff72743..b636377d8ed2 100644
--- a/test/source/util/xsearchable.cxx
+++ b/test/source/util/xsearchable.cxx
@@ -10,7 +10,7 @@
#include <com/sun/star/util/XSearchable.hpp>
#include <com/sun/star/util/XSearchDescriptor.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
#include <test/util/xsearchable.hxx>
diff --git a/test/source/util/xsearchdescriptor.cxx b/test/source/util/xsearchdescriptor.cxx
index b42ed7f90a44..2740b2e266c9 100644
--- a/test/source/util/xsearchdescriptor.cxx
+++ b/test/source/util/xsearchdescriptor.cxx
@@ -13,7 +13,7 @@
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;