summaryrefslogtreecommitdiff
path: root/test/source/container
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/container
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/container')
-rw-r--r--test/source/container/xchild.cxx4
-rw-r--r--test/source/container/xelementaccess.cxx2
-rw-r--r--test/source/container/xenumeration.cxx2
-rw-r--r--test/source/container/xenumerationaccess.cxx2
-rw-r--r--test/source/container/xindexaccess.cxx2
-rw-r--r--test/source/container/xnameaccess.cxx3
-rw-r--r--test/source/container/xnamecontainer.cxx5
-rw-r--r--test/source/container/xnamed.cxx2
-rw-r--r--test/source/container/xnamereplace.cxx2
9 files changed, 9 insertions, 15 deletions
diff --git a/test/source/container/xchild.cxx b/test/source/container/xchild.cxx
index 45627ed03de0..eac97b0ebe05 100644
--- a/test/source/container/xchild.cxx
+++ b/test/source/container/xchild.cxx
@@ -7,16 +7,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <test/cppunitasserthelper.hxx>
#include <test/container/xchild.hxx>
#include <com/sun/star/container/XChild.hpp>
-#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/uno/XInterface.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/container/xelementaccess.cxx b/test/source/container/xelementaccess.cxx
index d751fef4ff1b..4ec7515209cc 100644
--- a/test/source/container/xelementaccess.cxx
+++ b/test/source/container/xelementaccess.cxx
@@ -12,7 +12,7 @@
#include <com/sun/star/container/XElementAccess.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;
using namespace css::uno;
diff --git a/test/source/container/xenumeration.cxx b/test/source/container/xenumeration.cxx
index e102a6deb1dd..190ef27fe757 100644
--- a/test/source/container/xenumeration.cxx
+++ b/test/source/container/xenumeration.cxx
@@ -14,7 +14,7 @@
#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/container/xenumerationaccess.cxx b/test/source/container/xenumerationaccess.cxx
index 316a25e361d9..e3c53064ed70 100644
--- a/test/source/container/xenumerationaccess.cxx
+++ b/test/source/container/xenumerationaccess.cxx
@@ -13,7 +13,7 @@
#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/container/xindexaccess.cxx b/test/source/container/xindexaccess.cxx
index 9139136b36b3..7fc08027c4ad 100644
--- a/test/source/container/xindexaccess.cxx
+++ b/test/source/container/xindexaccess.cxx
@@ -13,7 +13,7 @@
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;
using namespace css::uno;
diff --git a/test/source/container/xnameaccess.cxx b/test/source/container/xnameaccess.cxx
index 13199b9764b1..3616c4cda363 100644
--- a/test/source/container/xnameaccess.cxx
+++ b/test/source/container/xnameaccess.cxx
@@ -8,7 +8,6 @@
*/
#include <test/container/xnameaccess.hxx>
-#include <rtl/string.hxx>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
@@ -16,7 +15,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;
using namespace css::uno;
diff --git a/test/source/container/xnamecontainer.cxx b/test/source/container/xnamecontainer.cxx
index e5e8d8dead8e..5df1e76b3e3c 100644
--- a/test/source/container/xnamecontainer.cxx
+++ b/test/source/container/xnamecontainer.cxx
@@ -13,14 +13,11 @@
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
-
-#include <iostream>
+#include <cppunit/TestAssert.h>
using namespace css;
diff --git a/test/source/container/xnamed.cxx b/test/source/container/xnamed.cxx
index e2968dca9d8e..799011f41ebd 100644
--- a/test/source/container/xnamed.cxx
+++ b/test/source/container/xnamed.cxx
@@ -15,7 +15,7 @@
#include <com/sun/star/uno/Reference.hxx>
-#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/TestAssert.h>
using namespace css;
using namespace css::uno;
diff --git a/test/source/container/xnamereplace.cxx b/test/source/container/xnamereplace.cxx
index b1fdc9ec8cf0..2475cb5a00dd 100644
--- a/test/source/container/xnamereplace.cxx
+++ b/test/source/container/xnamereplace.cxx
@@ -14,7 +14,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 css;