Adding tests to display methods.

This commit is contained in:
2022-01-26 17:51:16 -03:00
parent f0910457ff
commit ff5d9b9cf2
2 changed files with 61 additions and 2 deletions
+11 -1
View File
@@ -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