diff options
Diffstat (limited to 'tests/auto/render/qmesh/tst_qmesh.cpp')
-rw-r--r-- | tests/auto/render/qmesh/tst_qmesh.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/render/qmesh/tst_qmesh.cpp b/tests/auto/render/qmesh/tst_qmesh.cpp index 63af32182..6dad93483 100644 --- a/tests/auto/render/qmesh/tst_qmesh.cpp +++ b/tests/auto/render/qmesh/tst_qmesh.cpp @@ -53,7 +53,7 @@ private Q_SLOTS: // THEN QVERIFY(spy.isValid()); QCOMPARE(mesh.source(), newValue); - QCOMPARE(spy.count(), 1); + QCOMPARE(spy.size(), 1); // WHEN spy.clear(); @@ -61,7 +61,7 @@ private Q_SLOTS: // THEN QCOMPARE(mesh.source(), newValue); - QCOMPARE(spy.count(), 0); + QCOMPARE(spy.size(), 0); } { // WHEN @@ -72,7 +72,7 @@ private Q_SLOTS: // THEN QVERIFY(spy.isValid()); QCOMPARE(mesh.meshName(), newValue); - QCOMPARE(spy.count(), 1); + QCOMPARE(spy.size(), 1); // WHEN spy.clear(); @@ -80,7 +80,7 @@ private Q_SLOTS: // THEN QCOMPARE(mesh.meshName(), newValue); - QCOMPARE(spy.count(), 0); + QCOMPARE(spy.size(), 0); } } |