mac a11y: ignore expected debug output from test
Don't confuse the next person working on this code. Pick-to: 6.9 6.8 Change-Id: I3f9ff59299a4150a96cc11d851d06539a5701a70 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
f5115a9137
commit
04fbdd2552
@ -5,6 +5,7 @@
|
||||
#include <QtWidgets>
|
||||
#include <QTest>
|
||||
#include <QtCore/qcoreapplication.h>
|
||||
#include <QtCore/qregularexpression.h>
|
||||
|
||||
// some versions of CALayer.h use 'slots' as an identifier
|
||||
#define QT_NO_KEYWORDS
|
||||
@ -480,6 +481,7 @@ void tst_QAccessibilityMac::singleWidgetTest()
|
||||
delete le;
|
||||
QCoreApplication::processEvents();
|
||||
TestAXObject *lineEditInvalid = [[TestAXObject alloc] initWithAXUIElementRef: lineEditRef];
|
||||
QTest::ignoreMessage(QtDebugMsg, QRegularExpression("kAXErrorInvalidUIElement"));
|
||||
QVERIFY([[lineEditInvalid value] length] == 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user