Michael Stapelberg
de5286da59
tests: lib/i3test: Remove open_standard_window, introduce open_window
...
open_window has a better API than open_standard_window. It uses named
parameters and supplies default values for everything you don’t specify. This
way, you can use every feature which X11::XCB::Window supports.
2011-09-24 15:11:37 +01:00
Michael Stapelberg
4da5b7e784
tests: use wait_for_{map,unmap} to eliminate more sleep()s
2011-09-24 13:08:02 +01:00
Michael Stapelberg
5542af316f
t/65-for_window: add tests for window_role
2011-09-18 16:05:54 +01:00
Michael Stapelberg
2a215fd7e2
Bugfix: Ignore for_window commands with empty (invalid) criteria (+test) (Thanks aksr)
2011-09-11 22:52:33 +01:00
Michael Stapelberg
51119c75c1
extend t/65-for_window to check for the 'instance' criterion
2011-08-04 20:11:01 +02:00
Michael Stapelberg
506d8797b2
tests: implement i3test::launch_with_config, use it in t/65-for_window
2011-08-03 00:03:13 +02:00
Michael Stapelberg
b57e8570c9
t/65-for_window: add a testcase for multiple criteria
2011-08-02 19:46:10 +02:00
Michael Stapelberg
56499d8374
tests: make t/65-for-window.t use separate i3 instances
2011-08-02 19:21:09 +02:00
Michael Stapelberg
57516db391
fix typo in t/65-for_window.t
2011-05-24 22:56:06 +02:00
Michael Stapelberg
607fd7d024
tests: also test multiple commands in for_window
...
Increases branch coverage to 49.1%
2011-05-16 22:03:07 +02:00
Michael Stapelberg
1bd4c983db
tests: add test for the for_window config directive, use separate config for tests
...
This test increases code coverage to 60.7%
2011-05-16 21:50:34 +02:00