aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2023-08-04 10:54:06 +0200
committerOlivier De Cannière <olivier.decanniere@qt.io>2023-08-07 06:53:31 +0200
commit56d35a8d39624f3c7f4f6899981dd89bbb89fa17 (patch)
tree5b48b679c45eb85c2013cfba950b0e8dcfb78429
parent82825eec1e0ba641fe4193a5e6b3894f4cec584f (diff)
tst_qmlwebchannel: Adjust to qtbase change
The _q_reregisterTimers private slot has been removed from Q_OBJECT in b902b152af0bf144c9c9833502e1dcfae0166620, and consequently it will no longer be picked up by engine. Adjust the test accordingly. There should be a more resilient way of dealing with this, like retrieving the actual signal index instead of hardcoding it. Created QTBUG-115773. Task-number: QTBUG-115773 Fixes: QTBUG-115738 Change-Id: Ib50ebfab358afe34f9a7bbc238161c0532795911 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--tests/auto/qml/data/tst_webchannelseparation.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/data/tst_webchannelseparation.qml b/tests/auto/qml/data/tst_webchannelseparation.qml
index 3cb0f66..3fd1db5 100644
--- a/tests/auto/qml/data/tst_webchannelseparation.qml
+++ b/tests/auto/qml/data/tst_webchannelseparation.qml
@@ -178,7 +178,7 @@ TestCase {
testObj1.mySignal("foo", "bar");
var msg1 = client1.awaitSignal();
- compare(msg1.signal, 6);
+ compare(msg1.signal, 5);
// look if there is a signal send to client2, which should not happen
var msg2 = client2.skipToMessage(1, "server", 10);