Add qCDebug to tst_QQuickPinchHandler::scaleThreeFingers

When it fails locally, I want to see the actual scale value.

Change-Id: Iecdf1dc2bb9660d3f6d11dea57fb2ca5aafd0068
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Shawn Rutledge 2022-11-25 20:46:12 +01:00
parent 9d83f81e00
commit 20e745bbd8
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ void tst_QQuickPinchHandler::scaleThreeFingers()
QCOMPARE(pinchHandler->active(), true);
// scale we got was 1.1729088738267854364, but keep some slack
qCDebug(lcPointerTests) << "pinch scale" << pinchHandler->scale() << "expected 1.173";
QVERIFY(withinBounds(1.163, pinchHandler->scale(), 1.183));
// should not rotate
QCOMPARE(root->rotation(), 0.);