If SignalSpy signalName property is defined before target property we can see that SignalSpy count property returns doubled value.
See the only difference is order of target and signalName:
value of rect is changed in initTestCase only once:
And output shows that value is different depending of the property order:
Test project for above test atached.
If signal from rect is attached more than once it cause spySignalNameFirst.count value to be always double of the spyTrgetFirst.count value.
|For Gerrit Dashboard: QTBUG-47405|
|122282,4||WIP: SignalSpy::qtest_update(): Do nothing if parameters are unchanged.||5.5||qt/qtdeclarative||Status: ABANDONED||-2||0|