From: Michael Stapelberg Date: Thu, 30 Jun 2011 22:37:30 +0000 (+0200) Subject: Bugfix: testcase was still using 'mode floating' instead of 'floating enable' X-Git-Tag: tree-pr4~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9611e46eb6e9e5dc3a527c85cc8e0abbdcd44713;p=i3%2Fi3 Bugfix: testcase was still using 'mode floating' instead of 'floating enable' --- diff --git a/testcases/t/35-floating-focus.t b/testcases/t/35-floating-focus.t index d037b9db..d0f8814f 100644 --- a/testcases/t/35-floating-focus.t +++ b/testcases/t/35-floating-focus.t @@ -18,8 +18,8 @@ my $second = open_standard_window($x); is($x->input_focus, $second->id, 'second window focused'); -cmd 'mode floating'; -cmd 'mode tiling'; +cmd 'floating enable'; +cmd 'floating disable'; is($x->input_focus, $second->id, 'second window still focused after mode toggle'); @@ -36,13 +36,13 @@ my $third = open_standard_window($x); # window 4 is($x->input_focus, $third->id, 'last container focused'); -cmd 'mode floating'; +cmd 'floating enable'; cmd '[id="' . $second->id . '"] focus'; is($x->input_focus, $second->id, 'second con focused'); -cmd 'mode floating'; +cmd 'floating enable'; # now kill the third one (it's floating). focus should stay unchanged cmd '[id="' . $third->id . '"] kill'; @@ -65,13 +65,13 @@ my $third = open_standard_window($x); # window 7 is($x->input_focus, $third->id, 'last container focused'); -cmd 'mode floating'; +cmd 'floating enable'; cmd '[id="' . $second->id . '"] focus'; is($x->input_focus, $second->id, 'second con focused'); -cmd 'mode floating'; +cmd 'floating enable'; # now kill the second one. focus should fall back to the third one, which is # also floating