Improve QMenu autotest.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 31 Oct 2011 07:12:11 +0000 (17:12 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 Nov 2011 02:17:57 +0000 (03:17 +0100)
commit390e20fc71e787fd37639fdba16a854771237b79
treecf35d4b0efdf9be018c716410fef75139f1de5c5
parent1365d290c670f1f082b1286637d67f516f41d726
Improve QMenu autotest.

Originally this commit was just going to reinstate the disabled line of
test data (after correcting it to use keyboard modifiers instead of
invalid bitwise-or of key-codes, which would trigger an assert in
qtestlib).  Unfortunately, this revealed a minor bug in QMenu, as
reported in QTBUG-22449, so a QEXPECT_FAIL has also been added.

Change-Id: I29699fcbfa353c037a83379a6140f0e3da5be027
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp