summaryrefslogtreecommitdiff
path: root/include/test/a11y/accessibletestbase.hxx
diff options
context:
space:
mode:
authorColomban Wendling <cwendling@hypra.fr>2023-02-23 16:34:49 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-03-03 10:58:22 +0000
commitd1589ade91cfadf860c31ca30c97a60f95afa928 (patch)
tree16de278e89cfb30d34a81f4fe0869e6dd97a1f12 /include/test/a11y/accessibletestbase.hxx
parent8a449f2de0d926967331436adfd3d5dd0b9e2db8 (diff)
Disable test::AccessibleTestBase::awaitDialog() on macos altogether
The API doesn't actually work there yet because we don't get any event, so there's no point in exposing it there, and it makes it clear it isn't available there, avoiding future user to wonder why their tests do not behave there. Change-Id: I38dcc98ad3bc3b669df64bc1c53c91ef48a0d717 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147574 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'include/test/a11y/accessibletestbase.hxx')
-rw-r--r--include/test/a11y/accessibletestbase.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/test/a11y/accessibletestbase.hxx b/include/test/a11y/accessibletestbase.hxx
index 1445d0eb4737..e23c2e12467e 100644
--- a/include/test/a11y/accessibletestbase.hxx
+++ b/include/test/a11y/accessibletestbase.hxx
@@ -181,6 +181,7 @@ protected:
const css::uno::Reference<css::accessibility::XAccessibleContext>& xChild,
const EventPosterHelperBase* pEventPosterHelper = nullptr);
+#if !defined(MACOSX)
/* Dialog handling */
class Dialog : public test::AccessibleEventPosterHelper
{
@@ -286,6 +287,7 @@ protected:
static std::shared_ptr<DialogWaiter> awaitDialog(const std::u16string_view name,
std::function<void(Dialog&)> callback,
bool bAutoClose = true);
+#endif //defined(MACOSX)
public:
virtual void setUp() override;