mac a11y: ignore expected debug output from test
Don't confuse the next person working on this code. Pick-to: 6.8 Change-Id: I3f9ff59299a4150a96cc11d851d06539a5701a70 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 04fbdd25522f3a7a4b53cb553b1ac70e3f8af5e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f234dac1f9
commit
caa101c8e0
@ -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