12#include <com/sun/star/lang/XServiceInfo.hpp>
13#include <com/sun/star/uno/XComponentContext.hpp>
14#include <com/sun/star/ui/test/XUITest.hpp>
27 css::ui::test::XUITest, css::lang::XServiceInfo
30class UITestUnoObj :
public UITestBase
39 const css::uno::Sequence< css::beans::PropertyValue >& rArgs)
override;
43 css::uno::Reference<css::ui::test::XUIObject> SAL_CALL getTopFocusWindow()
override;
45 css::uno::Reference<css::ui::test::XUIObject> SAL_CALL
getFloatWindow()
override;
56UITestUnoObj::UITestUnoObj()
67 const css::uno::Sequence< css::beans::PropertyValue >& rArgs)
79css::uno::Reference<css::ui::test::XUIObject> SAL_CALL UITestUnoObj::getTopFocusWindow()
93OUString SAL_CALL UITestUnoObj::getImplementationName()
95 return "org.libreoffice.uitest.UITest";
98sal_Bool UITestUnoObj::supportsService(OUString
const & ServiceName)
103css::uno::Sequence<OUString> UITestUnoObj::getSupportedServiceNames()
105 return {
"com.sun.star.ui.test.UITest" };
108extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
111 return cppu::acquire(
new UITestUnoObj());
std::unique_ptr< UIObject > getFocusTopWindow()
bool executeCommand(const OUString &rCommand)
std::unique_ptr< UIObject > getFloatWindow()
bool executeDialog(const OUString &rCommand)
bool executeCommandWithParameters(const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * UITest_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)