From 485871ffdd84dd65b77ae2a4759d31ad28074a0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fernando=20Tarl=C3=A1=20Cardoso=20Lemos?= Date: Sun, 27 May 2012 01:44:29 -0300 Subject: [PATCH] Get rid of references to level up/down. In v4 syntax, that's focus parent/child. --- testcases/t/130-close-empty-split.t | 8 ++++---- testcases/t/147-regress-floatingmove.t | 2 +- testcases/t/152-regress-level-up.t | 4 ++-- testcases/t/157-regress-fullscreen-level-up.t | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/testcases/t/130-close-empty-split.t b/testcases/t/130-close-empty-split.t index ce9ebd7a..bf93cc69 100644 --- a/testcases/t/130-close-empty-split.t +++ b/testcases/t/130-close-empty-split.t @@ -22,10 +22,10 @@ my ($nodes, $focus) = get_ws_content($tmp); is($nodes->[0]->{focused}, 0, 'split container not focused'); # focus the split container -cmd 'level up'; +cmd 'focus parent'; ($nodes, $focus) = get_ws_content($tmp); my $split = $focus->[0]; -cmd 'level down'; +cmd 'focus child'; $second = open_empty_con($i3); @@ -60,10 +60,10 @@ cmd 'split v'; is($nodes->[0]->{focused}, 0, 'split container not focused'); # focus the split container -cmd 'level up'; +cmd 'focus parent'; ($nodes, $focus) = get_ws_content($tmp); $split = $focus->[0]; -cmd 'level down'; +cmd 'focus child'; $second = open_empty_con($i3); diff --git a/testcases/t/147-regress-floatingmove.t b/testcases/t/147-regress-floatingmove.t index 5a2c87d3..ff63711c 100644 --- a/testcases/t/147-regress-floatingmove.t +++ b/testcases/t/147-regress-floatingmove.t @@ -18,7 +18,7 @@ my $mid = open_window; my $right = open_window; # go to workspace level -sync_cmd 'level up'; +sync_cmd 'focus parent'; # make it floating sync_cmd 'mode toggle'; diff --git a/testcases/t/152-regress-level-up.t b/testcases/t/152-regress-level-up.t index 678cdd9c..01009133 100644 --- a/testcases/t/152-regress-level-up.t +++ b/testcases/t/152-regress-level-up.t @@ -9,8 +9,8 @@ use i3test; fresh_workspace; cmd 'open'; -cmd 'level up'; -cmd 'level up'; +cmd 'focus parent'; +cmd 'focus parent'; cmd 'mode toggle'; does_i3_live; diff --git a/testcases/t/157-regress-fullscreen-level-up.t b/testcases/t/157-regress-fullscreen-level-up.t index a861117c..316dbcaa 100644 --- a/testcases/t/157-regress-fullscreen-level-up.t +++ b/testcases/t/157-regress-fullscreen-level-up.t @@ -30,7 +30,7 @@ is($nodes->[0]->{fullscreen_mode}, 1, 'client fullscreen now'); ##################################################################### # send level up, try to un-fullscreen ##################################################################### -cmd 'level up'; +cmd 'focus parent'; cmd 'fullscreen'; $nodes = get_ws_content $tmp; -- 2.39.5