Test how manager should handle destroyed windows

This commit is contained in:
Thibault Jouan
2015-04-21 02:21:40 +00:00
parent e97dcea87a
commit 29f2b4725d
3 changed files with 21 additions and 1 deletions

View File

@@ -26,6 +26,10 @@ When /^a window requests to be mapped (\d+) times$/ do |times|
x_window_map times: times.to_i
end
When /^the window is destroyed$/ do
x_window_destroy
end
Then /^it must connect to X display$/ do
uhwm_wait_output 'Connected to'
expect(x_socket_check uhwm_pid).to be true