summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorHelge Delfs [hde] <hde@openoffice.org>2010-10-20 13:23:41 +0200
committerHelge Delfs [hde] <hde@openoffice.org>2010-10-20 13:23:41 +0200
commit23f54801224614ba17605157f9556a34cc99229e (patch)
tree4affad16a549c0514934262a6689097ca1196a20 /testautomation
parentdccc915af045d8d6d06cf664745f4b5dda9fc392 (diff)
automationdev300m87#i115106#added warnlog if uno-slot is missing for menu entry
Diffstat (limited to 'testautomation')
-rw-r--r--[-rwxr-xr-x]testautomation/global/tools/includes/required/t_menu.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/testautomation/global/tools/includes/required/t_menu.inc b/testautomation/global/tools/includes/required/t_menu.inc
index 830012cc7dae..b03062b39471 100755..100644
--- a/testautomation/global/tools/includes/required/t_menu.inc
+++ b/testautomation/global/tools/includes/required/t_menu.inc
@@ -270,6 +270,12 @@ function hMenuFindSelect(MenuID as variant, SelectSlot as Boolean, ExpectedNr as
warnlog "The real Position (Separators included) was: " + i
endif
i = RealEnd
+ else
+ if ( i = ExpectedNr ) then
+ if nID = "" then
+ warnlog "#i115132#Missing .uno Slots in context menus"
+ endif
+ endif
endif
next i
else