Adding tests to display methods.
This commit is contained in:
@@ -60,4 +60,14 @@ Feature: The winGUI API client
|
||||
# And the methods window_activetitle and window_activehwnd are called
|
||||
|
||||
# Then the returned value from window_activetitle must contain the substring "Paint"
|
||||
# And the returned value from window_activehwnd must be equal to the hwnd previously obtained
|
||||
# And the returned value from window_activehwnd must be equal to the hwnd previously obtained
|
||||
|
||||
|
||||
Scenario: Testing the display methods
|
||||
Given a winGUI client
|
||||
And the current resolution of the display
|
||||
|
||||
When the display_setres method is called to set the display resolution in 800x600
|
||||
|
||||
Then the new display resolution must be 800x600
|
||||
And the methods must be able to set your resolution to the previous one
|
||||
Reference in New Issue
Block a user