summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
index 53d361ca26..cafc193257 100644
--- a/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
+++ b/tests/auto/corelib/kernel/qproperty/tst_qproperty.cpp
@@ -67,7 +67,6 @@ private slots:
void settingPropertyValueDoesRemoveBinding();
void genericPropertyBinding();
void genericPropertyBindingBool();
- void staticChangeHandler();
void setBindingFunctor();
void multipleObservers();
void propertyAlias();
@@ -661,25 +660,6 @@ void tst_QProperty::genericPropertyBindingBool()
QVERIFY(property.value());
}
-struct ItemType
-{
- QProperty<int> x;
- QVector<int> observedValues;
- void xChanged() {
- observedValues << x.value();
- }
- QPropertyMemberChangeHandler<&ItemType::x, &ItemType::xChanged> test{this};
-};
-
-void tst_QProperty::staticChangeHandler()
-{
- ItemType t;
- t.x = 42;
- t.x = 100;
- QVector<int> values{42, 100};
- QCOMPARE(t.observedValues, values);
-}
-
void tst_QProperty::setBindingFunctor()
{
QProperty<int> property;