[Libreoffice-commits] core.git: toolkit/CppunitTest_toolkit_a11y.mk

2022-07-18 Thread Arnaud VERSINI (via logerrit)
 toolkit/CppunitTest_toolkit_a11y.mk |   11 ---
 1 file changed, 11 deletions(-)

New commits:
commit 5dc4274eb5ccf3c2cc29676280b70dfc5d5a43b3
Author: Arnaud VERSINI 
AuthorDate: Sat Jun 11 20:16:43 2022 +0200
Commit: Noel Grandin 
CommitDate: Mon Jul 18 10:02:57 2022 +0200

toolkit : remove useless comments

Change-Id: I45565ae3259321e139f73071e36e94180dcfbffe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135672
Tested-by: Jenkins
Reviewed-by: Noel Grandin 

diff --git a/toolkit/CppunitTest_toolkit_a11y.mk 
b/toolkit/CppunitTest_toolkit_a11y.mk
index 9739ec7f9666..06468a49c286 100644
--- a/toolkit/CppunitTest_toolkit_a11y.mk
+++ b/toolkit/CppunitTest_toolkit_a11y.mk
@@ -51,15 +51,4 @@ $(eval $(call gb_CppunitTest_use_vcl,toolkit_a11y))
 
 $(eval $(call gb_CppunitTest_use_rdb,toolkit_a11y,services))
 
-#~ $(eval $(call gb_CppunitTest_use_components,toolkit_a11y,\
-#~ comphelper/util/comphelp \
-#~ configmgr/source/configmgr \
-#~ framework/util/fwk \
-#~ i18npool/util/i18npool \
-#~ sfx2/util/sfx \
-#~ toolkit/util/tk \
-#~ ucb/source/core/ucb1 \
-#~ ucb/source/ucp/file/ucpfile1 \
-#~ ))
-
 # vim: set noet sw=4 ts=4:


[Libreoffice-commits] core.git: toolkit/CppunitTest_toolkit_a11y.mk toolkit/Module_toolkit.mk toolkit/qa

2022-06-08 Thread Colomban Wendling (via logerrit)
 toolkit/CppunitTest_toolkit_a11y.mk|   65 +
 toolkit/Module_toolkit.mk  |1 
 toolkit/qa/complex/toolkit/AccessibleStatusBar.java|  315 --
 toolkit/qa/cppunit/a11y/AccessibilityTools.cxx |  515 
++
 toolkit/qa/cppunit/a11y/AccessibilityTools.hxx |  158 +++
 toolkit/qa/cppunit/a11y/AccessibleStatusBarTest.cxx|  184 +++
 toolkit/qa/cppunit/a11y/XAccessibleComponentTester.cxx |  290 +
 toolkit/qa/cppunit/a11y/XAccessibleComponentTester.hxx |   66 +
 toolkit/qa/cppunit/a11y/XAccessibleContextTester.cxx   |  164 +++
 toolkit/qa/cppunit/a11y/XAccessibleContextTester.hxx   |   62 +
 toolkit/qa/cppunit/a11y/XAccessibleEventBroadcasterTester.cxx  |  186 +++
 toolkit/qa/cppunit/a11y/XAccessibleEventBroadcasterTester.hxx  |   54 +
 toolkit/qa/cppunit/a11y/XAccessibleExtendedComponentTester.cxx |   53 +
 toolkit/qa/cppunit/a11y/XAccessibleExtendedComponentTester.hxx |   50 
 toolkit/qa/unoapi/toolkit_1.sce|1 
 15 files changed, 1848 insertions(+), 316 deletions(-)

New commits:
commit d2a5b4bc0b8c8d1dd82133719a3ef5cc01b0cbbe
Author: Colomban Wendling 
AuthorDate: Tue Apr 26 16:56:56 2022 +0200
Commit: Caolán McNamara 
CommitDate: Wed Jun 8 12:51:01 2022 +0200

toolkit: convert AccessibleStatusBar test to C++

Just translate the test and add required or handy CppUnit helpers.

Change-Id: Ib8ccd3490876c6302cca85e69f4d61600f7aec84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133844
Tested-by: Jenkins
Tested-by: Caolán McNamara 
Reviewed-by: Caolán McNamara 

diff --git a/toolkit/CppunitTest_toolkit_a11y.mk 
b/toolkit/CppunitTest_toolkit_a11y.mk
new file mode 100644
index ..9739ec7f9666
--- /dev/null
+++ b/toolkit/CppunitTest_toolkit_a11y.mk
@@ -0,0 +1,65 @@
+# -*- 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,toolkit_a11y))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,toolkit_a11y, \
+   toolkit/qa/cppunit/a11y/AccessibleStatusBarTest \
+   toolkit/qa/cppunit/a11y/AccessibilityTools \
+   toolkit/qa/cppunit/a11y/XAccessibleComponentTester \
+   toolkit/qa/cppunit/a11y/XAccessibleContextTester \
+   toolkit/qa/cppunit/a11y/XAccessibleEventBroadcasterTester \
+   toolkit/qa/cppunit/a11y/XAccessibleExtendedComponentTester \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,toolkit_a11y, \
+   basegfx \
+   comphelper \
+   cppu \
+   cppuhelper \
+   sal \
+   salhelper \
+   test \
+   tk \
+   tl \
+   unotest \
+   vcl \
+))
+
+$(eval $(call gb_CppunitTest_use_api,toolkit_a11y,\
+   offapi \
+   udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,toolkit_a11y,\
+boost_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,toolkit_a11y))
+
+$(eval $(call gb_CppunitTest_use_ure,toolkit_a11y))
+
+$(eval $(call gb_CppunitTest_use_configuration,toolkit_a11y))
+
+$(eval $(call gb_CppunitTest_use_vcl,toolkit_a11y))
+
+$(eval $(call gb_CppunitTest_use_rdb,toolkit_a11y,services))
+
+#~ $(eval $(call gb_CppunitTest_use_components,toolkit_a11y,\
+#~ comphelper/util/comphelp \
+#~ configmgr/source/configmgr \
+#~ framework/util/fwk \
+#~ i18npool/util/i18npool \
+#~ sfx2/util/sfx \
+#~ toolkit/util/tk \
+#~ ucb/source/core/ucb1 \
+#~ ucb/source/ucp/file/ucpfile1 \
+#~ ))
+
+# vim: set noet sw=4 ts=4:
diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk
index 21fd5ae92cdc..d039559316aa 100644
--- a/toolkit/Module_toolkit.mk
+++ b/toolkit/Module_toolkit.mk
@@ -27,6 +27,7 @@ $(eval $(call gb_Module_add_targets,toolkit,\
 ifneq ($(OS),WNT)
 $(eval $(call gb_Module_add_check_targets,toolkit,\
 CppunitTest_toolkit \
+CppunitTest_toolkit_a11y \
 ))
 endif
 
diff --git a/toolkit/qa/complex/toolkit/AccessibleStatusBar.java 
b/toolkit/qa/complex/toolkit/AccessibleStatusBar.java
deleted file mode 100644
index abed29c5680c..
--- a/toolkit/qa/complex/toolkit/AccessibleStatusBar.java
+++ /dev/null
@@ -1,315 +0,0 @@
-/*
- * 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/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with th