Commit Graph

12 Commits

Author SHA1 Message Date
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
38a9eabff1 tests: implement sync_with_i3 and use it instead of sleep()
Also use open_standard_window() in a few more places where appropriate
2011-09-24 11:15:08 +01:00
Michael Stapelberg
49ea805905 tests: get the socket path from the X11 atom I3_SOCKET_PATH
The hard-coded socket paths are not useful when running the test suite in
parallel.
2011-07-25 13:35:56 +02:00
Michael Stapelberg
d68e4710fe CONFIG BREAK: kick the 'next'/'prev' commands, introduce 'focus left' etc.
Instead of the cryptic next/prev commands, we now provide an argument to the
focus command. Userguide and default config is updated.
2011-06-08 20:49:49 +02:00
Michael Stapelberg
2524b5262d tests: clean up/beautify all tests (code style / test style) 2011-03-09 20:25:17 +01:00
Michael Stapelberg
285692c92c Update testcases (and skip some tests for the moment) 2010-06-02 23:53:22 +02:00
Michael Stapelberg
206e1ed041 less boilerplate by using Test::Kit and -It/lib in Makefile 2010-04-17 22:49:26 +02:00
Michael Stapelberg
a2e3bb1cdd make testcases use AnyEvent::I3 2010-04-17 22:40:01 +02:00
Michael Stapelberg
f7c8e76782 Select containers above or near the whole snapped width/height
This fixes ticket #100, and is best explained using a little example.
Consider the following layout:

+---+---+
|   | X |
+---+---+
|   X   |
+---+---+

Where X marks a window, so you have an empty container in the upper
left, the container on the bottom is snapped to the right. Before
this commit, nothing would happen when focusing "above". After
this commit, the upper window gets focused.
2010-03-11 00:15:34 +01:00
Michael Stapelberg
f9d155341e Change testcases to work with the released version of X11::XCB 2009-10-26 20:04:37 +01:00
Michael Stapelberg
992c531c4c Switch to default mode before running the test 2009-08-06 00:16:26 +02:00
Michael Stapelberg
0f414f8ade Add testcases for IPC and basic focus switching 2009-08-05 21:37:11 +02:00