Skip to content

Commit

Permalink
Let's see how/why its failing
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Dec 2, 2024
1 parent 284ef40 commit b140fa1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/unit/lib/teststatusservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,13 @@ void TestStatusService::serviceDiscovered()

// Pokit Meter's Status service UUId will be assigned.
service.d_func()->serviceDiscovered(StatusService::ServiceUuids::pokitMeter);
qInfo() << service.d_func()->serviceUuid;
qInfo() << StatusService::ServiceUuids::pokitMeter;
qInfo() << (service.d_func()->serviceUuid == StatusService::ServiceUuids::pokitMeter);
qInfo() << sizeof(service.d_func()->serviceUuid) << sizeof(StatusService::ServiceUuids::pokitMeter);
qInfo() << QByteArray((const char *)(&service.d_func()->serviceUuid), sizeof(service.d_func()->serviceUuid));
qInfo() << QByteArray((const char *)(&StatusService::ServiceUuids::pokitMeter), sizeof(StatusService::ServiceUuids::pokitMeter));
qInfo() << QTest::qCompare(service.d_func()->serviceUuid, StatusService::ServiceUuids::pokitMeter, "a", "e", "foo", 0);
QCOMPARE(service.d_func()->serviceUuid, StatusService::ServiceUuids::pokitMeter);

// Pokit Pro's Status service UUId will be assigned.
Expand Down

0 comments on commit b140fa1

Please sign in to comment.