summaryrefslogtreecommitdiffstats
path: root/tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-11-11 15:53:00 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-11-12 08:42:21 +0100
commitcad49b3be482b41f1ae43b5c9ce4d009a810240b (patch)
treef4a779e779ef2283aec135db61c74035d1e74d82 /tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp
parentcdabf47eb780628908db393bbb76e3a0faf32ddd (diff)
Port from container::count() and length() to size() - V5
This is a the same semantic patch (qt-port-to-std-compatible-api V5 with config Scope: 'Container') as in dev. I've re-ran it in 6.4 to avoid cherry-pick conflicts. Change-Id: I9621dee5ed328b47e78919a34c307105e4311903 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp')
-rw-r--r--tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp b/tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp
index 37ee9ff9..f3ec7c2a 100644
--- a/tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp
+++ b/tests/auto/qndefnfcsmartposterrecord/tst_qndefnfcsmartposterrecord.cpp
@@ -532,7 +532,7 @@ void tst_QNdefNfcSmartPosterRecord::tst_downcast()
QByteArray spPayload = sprecord.payload();
// Check length is longer on the base
- QVERIFY(basePayload.length() > record.payload().length());
+ QVERIFY(basePayload.size() > record.payload().size());
// Check the payloads are the same
QCOMPARE(basePayload, spPayload);