summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp')
-rw-r--r--tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp b/tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp
index fa585ffd..fc8095bf 100644
--- a/tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp
+++ b/tests/auto/qlowenergycharacteristicinfo/tst_qlowenergycharacteristicinfo.cpp
@@ -103,7 +103,6 @@ void tst_QLowEnergyCharacteristicInfo::tst_construction()
QCOMPARE(characteristicInfo.name(), QString(""));
QCOMPARE(characteristicInfo.isNotificationCharacteristic(), false);
QCOMPARE(characteristicInfo.descriptors().count(), 0);
- QCOMPARE(characteristicInfo.errorString(), QString(""));
}
{
@@ -118,7 +117,6 @@ void tst_QLowEnergyCharacteristicInfo::tst_construction()
QCOMPARE(characteristicInfo.name(), QString(""));
QCOMPARE(characteristicInfo.isNotificationCharacteristic(), false);
QCOMPARE(characteristicInfo.descriptors().count(), 0);
- QCOMPARE(characteristicInfo.errorString(), QString(""));
QLowEnergyCharacteristicInfo copyInfo(characteristicInfo);
@@ -136,9 +134,7 @@ void tst_QLowEnergyCharacteristicInfo::tst_construction()
QCOMPARE(copyInfo.name(), QString(""));
QCOMPARE(copyInfo.isNotificationCharacteristic(), false);
QCOMPARE(copyInfo.descriptors().count(), 0);
- QCOMPARE(copyInfo.errorString(), QString(""));
copyInfo.writeValue("test");
- QVERIFY(copyInfo.errorString().size() > 0);
}
}