From: Michael Stapelberg Date: Thu, 1 Oct 2009 15:18:11 +0000 (+0200) Subject: Add a new test for moving clients to different workspaces (tiling and floating) X-Git-Tag: 3.d~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf17e73293fda947c92fea0837f3f093dfa31ba4;p=i3%2Fi3 Add a new test for moving clients to different workspaces (tiling and floating) --- diff --git a/testcases/t/07-move.t b/testcases/t/07-move.t index 25f4ca8c..a4f9f424 100644 --- a/testcases/t/07-move.t +++ b/testcases/t/07-move.t @@ -4,7 +4,7 @@ # the workspace to be empty). # TODO: skip it by default? -use Test::More tests => 9; +use Test::More tests => 10; use Test::Deep; use X11::XCB qw(:all); use Data::Dumper; @@ -77,3 +77,14 @@ is($focus, $bottom->id, "Right window focused"); $focus = focus_after("h"); is($focus, $top->id, "Top window focused"); + +##################################################################### +# Move window cross-workspace +##################################################################### + +$sock->write(i3test::format_ipc_command("m12")); +$sock->write(i3test::format_ipc_command("t")); +$sock->write(i3test::format_ipc_command("m13")); +$sock->write(i3test::format_ipc_command("12")); +$sock->write(i3test::format_ipc_command("13")); +ok(1, "Still living");