summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-10 11:59:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-10 14:30:58 +0200
commit773a6bffd78b363577d27604e17f4ee08ff07e77 (patch)
tree3974576638c136da8c55fa3695db042a81be78fa /tests/auto/other/qaccessibility/tst_qaccessibility.cpp
parenta83b2c64a9828a1d22347eaf31fd251b2ef647ee (diff)
Tests: Use QVERIFY instead of QCOMPARE for empty lists
Pick-to: 5.15 Change-Id: I4da02fa11583eca3844bf42efcdf818b8bbd6a94 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests/auto/other/qaccessibility/tst_qaccessibility.cpp')
-rw-r--r--tests/auto/other/qaccessibility/tst_qaccessibility.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
index b3ac7489b7..d11d28206b 100644
--- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
+++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
@@ -2882,8 +2882,8 @@ void tst_QAccessibility::listTest()
QCOMPARE(cellInterface->columnIndex(), 0);
QCOMPARE(cellInterface->rowExtent(), 1);
QCOMPARE(cellInterface->columnExtent(), 1);
- QCOMPARE(cellInterface->rowHeaderCells(), QList<QAccessibleInterface*>());
- QCOMPARE(cellInterface->columnHeaderCells(), QList<QAccessibleInterface*>());
+ QVERIFY(cellInterface->rowHeaderCells().isEmpty());
+ QVERIFY(cellInterface->columnHeaderCells().isEmpty());
QCOMPARE(cellInterface->table()->object(), listView);