autotests: Fix TestInputMethodInterface
If the underlying wl_surface object has been removed, the input panel surface will be still alive. Unfortunately, in order to make the test pass, the input panel surface interface must have a destructor request. So, the code that tests the destruction of an input panel surface had been removed.
This commit is contained in:
parent
f8b9ea5680
commit
4ef47641ed
1 changed files with 0 additions and 4 deletions
|
@ -209,10 +209,6 @@ void TestInputMethodInterface::testAdd()
|
||||||
QSignalSpy panelTopLevelSpy(panelSurfaceIface, &InputPanelSurfaceV1Interface::topLevel);
|
QSignalSpy panelTopLevelSpy(panelSurfaceIface, &InputPanelSurfaceV1Interface::topLevel);
|
||||||
panelSurface->set_toplevel(*m_output, InputPanelSurface::position_center_bottom);
|
panelSurface->set_toplevel(*m_output, InputPanelSurface::position_center_bottom);
|
||||||
QVERIFY(panelTopLevelSpy.wait());
|
QVERIFY(panelTopLevelSpy.wait());
|
||||||
|
|
||||||
QSignalSpy panelDeleteSpy(panelSurfaceIface, &QObject::destroyed);
|
|
||||||
delete surface;
|
|
||||||
QVERIFY(panelDeleteSpy.wait());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue