X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F154-regress-multiple-dock.t;h=5ae84f069860e86e01d9c70a0995c0c3b7ff0dce;hb=HEAD;hp=52ab4004d24eb197a1baa5215b736a3236f6b80a;hpb=30ea33decb9bb2adb99d6fefe5ab74b7aaa6e203;p=i3%2Fi3 diff --git a/testcases/t/154-regress-multiple-dock.t b/testcases/t/154-regress-multiple-dock.t index 52ab4004..5ae84f06 100644 --- a/testcases/t/154-regress-multiple-dock.t +++ b/testcases/t/154-regress-multiple-dock.t @@ -1,6 +1,19 @@ #!perl # vim:ts=4:sw=4:expandtab # +# Please read the following documents before working on tests: +# • https://build.i3wm.org/docs/testsuite.html +# (or docs/testsuite) +# +# • https://build.i3wm.org/docs/lib-i3test.html +# (alternatively: perldoc ./testcases/lib/i3test.pm) +# +# • https://build.i3wm.org/docs/ipc.html +# (or docs/ipc) +# +# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf +# (unless you are already familiar with Perl) +# # Regression test for closing one of multiple dock clients # use i3test; @@ -20,7 +33,7 @@ is(@docked, 0, 'no dock clients yet'); # open a dock client ##################################################################### -my $first = open_window($x, { +my $first = open_window({ background_color => '#FF0000', window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'), }); @@ -29,7 +42,7 @@ my $first = open_window($x, { # Open a second dock client ##################################################################### -my $second = open_window($x, { +my $second = open_window({ background_color => '#FF0000', window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'), });