Commit 4ef47641 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent f8b9ea56
......@@ -209,10 +209,6 @@ void TestInputMethodInterface::testAdd()
QSignalSpy panelTopLevelSpy(panelSurfaceIface, &InputPanelSurfaceV1Interface::topLevel);
panelSurface->set_toplevel(*m_output, InputPanelSurface::position_center_bottom);
QSignalSpy panelDeleteSpy(panelSurfaceIface, &QObject::destroyed);
delete surface;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment