summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/kernel/qobject/tst_qobject.cpp8
-rw-r--r--tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp
index cec25136b6..2c99d1b556 100644
--- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp
+++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp
@@ -97,7 +97,7 @@ private slots:
void recursiveSignalEmission();
#endif
void blockingQueuedConnection();
- void compatibilityChildInsertedEvents();
+ void childEvents();
void installEventFilter();
void deleteSelfInSlot();
void disconnectSelfInSlotAndDeleteAfterEmit();
@@ -2868,7 +2868,7 @@ private:
EventList events;
};
-void tst_QObject::compatibilityChildInsertedEvents()
+void tst_QObject::childEvents()
{
EventSpy::EventList expected;
@@ -2889,7 +2889,7 @@ void tst_QObject::compatibilityChildInsertedEvents()
}
{
- // 2 children, so we expect 2 ChildAdded and 2 ChildInserted events
+ // 2 children, so we expect 2 ChildAdded events
QObject object;
EventSpy spy;
object.installEventFilter(&spy);
@@ -2920,7 +2920,7 @@ void tst_QObject::compatibilityChildInsertedEvents()
{
// 2 children, but one is reparented away, so we expect:
- // 2 ChildAdded, 1 ChildRemoved, and 1 ChildInserted
+ // 2 ChildAdded, 1 ChildRemoved
QObject object;
EventSpy spy;
object.installEventFilter(&spy);
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index 28daf0ac02..bca6c2b9ea 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -301,7 +301,7 @@ private slots:
void clean_qt_x11_enforce_cursor();
#endif
- void compatibilityChildInsertedEvents();
+ void childEvents();
void render();
void renderInvisible();
void renderWithPainter();
@@ -5806,7 +5806,7 @@ private:
EventList events;
};
-void tst_QWidget::compatibilityChildInsertedEvents()
+void tst_QWidget::childEvents()
{
EventRecorder::EventList expected;
bool accessibilityEnabled = false;