summaryrefslogtreecommitdiff
path: root/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp')
-rw-r--r--tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp b/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp
index 87e37db2..6e2bea6b 100644
--- a/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp
+++ b/tests/auto/qnearfieldtagtype1/tst_qnearfieldtagtype1.cpp
@@ -94,7 +94,7 @@ void tst_QNearFieldTagType1::staticMemoryModel()
const QByteArray data = target->requestResponse(id).toByteArray();
- QCOMPARE(data.length(), 6);
+ QCOMPARE(data.size(), 6);
quint8 hr0 = data.at(0);
//quint8 hr1 = data.at(1);
@@ -113,7 +113,7 @@ void tst_QNearFieldTagType1::staticMemoryModel()
QVERIFY(target->waitForRequestCompleted(id));
const QByteArray data = target->requestResponse(id).toByteArray();
- QCOMPARE(data.length(), 122);
+ QCOMPARE(data.size(), 122);
// verify NfcTagType1.
QVERIFY(data.at(0) & 0x10);