Kaydet (Commit) db2ced6c authored tarafından Markus Mohrhard's avatar Markus Mohrhard

uitest: warn if the command is not executed

Change-Id: I53bfa5ef7594eeb7446cdb9e4ba211839e255197
üst 49fe5254
......@@ -18,10 +18,12 @@
void UITest::executeCommand(const OUString& rCommand)
{
comphelper::dispatchCommand(
bool bSuccess = comphelper::dispatchCommand(
rCommand,
{{"SynchronMode", -1, css::uno::Any(false),
css::beans::PropertyState_DIRECT_VALUE}});
SAL_WARN_IF(!bSuccess, "uitest", "failed to execute command: " << rCommand);
}
std::unique_ptr<UIObject> UITest::getFocusTopWindow()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment