From 1668d38a14e10f7433eed83b21c11f5e0f2915d6 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Mon, 18 May 2020 17:32:21 +0200 Subject: uitest: add wrapper for macro editor Change-Id: I729c5cdbc3ba925a0c08750eba199a400babba1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94445 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- basctl/source/basicide/baside2b.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'basctl/source/basicide/baside2b.cxx') diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index a3f227f9a0ef..a1efc0bcd93c 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -62,6 +62,8 @@ #include #include #include +#include "uiobject.hxx" + namespace basctl { @@ -240,6 +242,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) : bDelayHighlight(true), pCodeCompleteWnd(VclPtr::Create(this)) { + set_id("EditorWindow"); SetBackground(Wallpaper(rModulWindow.GetLayout().GetSyntaxBackgroundColor())); SetPointer( PointerStyle::Text ); SetHelpId( HID_BASICIDE_EDITORWINDOW ); @@ -1359,6 +1362,12 @@ void EditorWindow::ForceSyntaxTimeout() aSyntaxIdle.Invoke(); } +FactoryFunction EditorWindow::GetUITestFactory() const +{ + return EditorWindowUIObject::create; +} + + // BreakPointWindow BreakPointWindow::BreakPointWindow (vcl::Window* pParent, ModulWindow* pModulWindow) -- cgit