Prototype clients management with windows
This commit is contained in:
@@ -27,3 +27,7 @@ end
|
||||
Then /^the output must contain current display$/ do
|
||||
uhwm_wait_output ENV['DISPLAY']
|
||||
end
|
||||
|
||||
Then /^the output must contain the window name$/ do
|
||||
uhwm_wait_output x_window_name
|
||||
end
|
||||
|
@@ -6,6 +6,10 @@ Given /^uhwm is running$/ do
|
||||
uhwm_run_wait_ready
|
||||
end
|
||||
|
||||
Given /^uhwm is running with options? (-.+)$/ do |options|
|
||||
uhwm_run_wait_ready options
|
||||
end
|
||||
|
||||
Given /^uhwm is running with this run control file:$/ do |rc|
|
||||
write_file '.uhwmrc.rb', rc
|
||||
uhwm_run_wait_ready
|
||||
|
@@ -2,6 +2,10 @@ When /^I press the ([^ ]+) keys?$/ do |keys|
|
||||
x_key keys
|
||||
end
|
||||
|
||||
When /^a window requests to be mapped$/ do
|
||||
x_window_map
|
||||
end
|
||||
|
||||
Then /^it must connect to X display$/ do
|
||||
uhwm_wait_output 'Connected to'
|
||||
expect(x_socket_check uhwm_pid).to be true
|
||||
|
Reference in New Issue
Block a user