summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-12-01 12:01:06 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-12-02 11:02:22 +0000
commitee0e17c73c6f1bcca7232b9bc2a5a9b22585b26d (patch)
treeb4730d84ffe8b3518fc110d15503daed05b60bbe /tests/auto
parent66dbe670da84b1b3607195e7e3d9f234977de197 (diff)
QProperty: Avoid spurious dependencies by suspending binding state
Avoid spurious bindings by resetting the binding state before calling the setter of eager properties. Fixes: QTBUG-88999 Change-Id: I1e3b5662307d906598335a21d306be9c606529d4 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit b21dba98e3e557eece0497aeea0f0beb70cc62da) Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
index d824d39941..8145b066da 100644
--- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
+++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
@@ -1401,7 +1401,6 @@ void tst_QProperty::noFakeDependencies()
QCOMPARE(slotCounter, 1); // sanity check
int old = bindingFunctionCalled;
fdc.setProp3(100);
- QEXPECT_FAIL("", "Known to create a spurious dependency", Continue);
QCOMPARE(old, bindingFunctionCalled);
}