gri3-wm/testcases/t
hwangcc23 cc4be41674 Fix 'rename workspace to tosomething'
This patch fixes the issue #2802 (https://github.com/i3/i3/issues/2802).

1). Revise the state machine for the 'rename workspace' command.
    These scenarios are considered:
    a). 'rename workspace to to bla'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO -> RENAME_WORKSPACE_LIKELY_TO_NEW_NAME
    b). 'rename workspace to tosomething'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    c). 'rename workspace to to'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    d). 'rename workspace to bla'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_LIKELY_TO
    e). 'rename workspace bla to foo'
        state transitions: RENAME -> RENAME_WORKSPACE -> RENAME_WORKSPACE_TO -> RENAME_WORKSPACE_TO_NEW_NAME

2). Add a test case in 117-workspace.t for the scenario b.
2017-06-12 22:21:21 +08:00
..
000-load-deps.t
001-tile.t
002-i3-sync.t
003-ipc.t
004-unmanaged.t
005-floating.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
100-fullscreen.t
101-focus.t Let "focus" report success depending on whether a window was matched. 2015-09-11 08:26:33 +02:00
102-dock.t
104-focus-stack.t
111-goto.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
112-floating-resize.t
113-urgent.t
114-client-leader.t
115-ipc-workspaces.t Include workspace con in workspace event 2014-12-22 09:47:31 +01:00
116-nestedcons.t Handle _NET_WM_STATE_STICKY, but only for floating containers. If this atom is set, the floating window will always be automatically moved to the currently active workspace of the output that it is on. This is the equivalent of a sticky note stuck to the monitor. 2015-09-13 20:40:20 +02:00
117-workspace.t Fix 'rename workspace to tosomething' 2017-06-12 22:21:21 +08:00
118-openkill.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
119-match.t
120-multiple-cmds.t
121-next-prev.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
122-split.t
124-move.t Make absolute floating move work with criteria 2014-07-02 19:07:08 +02:00
126-regress-close.t
127-regress-floating-parent.t
128-open-order.t
129-focus-after-close.t
130-close-empty-split.t
131-stacking-order.t Fix spelling mistakes 2016-04-04 09:33:59 +02:00
132-move-workspace.t
133-size-hints.t
134-invalid-command.t
135-floating-focus.t
136-floating-ws-empty.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
137-floating-unmap.t
138-floating-attach.t
139-ws-numbers.t
140-focus-lost.t
141-resize.t
142-regress-move-floating.t
143-regress-floating-restart.t
144-regress-floating-resize.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
145-flattening.t
146-floating-reinsert.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
147-regress-floatingmove.t
148-regress-floatingmovews.t
150-regress-dock-restart.t
151-regress-float-size.t
152-regress-level-up.t
153-floating-originalsize.t
154-regress-multiple-dock.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
155-floating-split-size.t
156-fullscreen-focus.t
158-wm_take_focus.t t/158-wm_take_focus.t: avoid shift on scalars 2016-09-26 20:42:51 +02:00
159-socketpaths.t
161-regress-borders-restart.t
162-regress-dock-urgent.t
163-wm-state.t
164-kill-win-vs-client.t
165-for_window.t
166-assign.t
167-workspace_layout.t
168-regress-fullscreen-restart.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
169-border-toggle.t
170-force_focus_wrapping.t
171-config-migrate.t
172-start-on-named-ws.t Extract workspace names from bindings before reordering. 2015-09-14 09:28:42 +02:00
173-get-marks.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
173-regress-focus-assign.t
174-border-config.t Explicitly set current border width when BS_PIXEL 2014-06-28 13:00:59 +02:00
174-regress-focus-toggle.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
175-startup-notification.t
176-workspace-baf.t
177-bar-config.t
178-regress-workspace-open.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
179-regress-multiple-ws.t
180-fd-leaks.t
181-regress-float-border.t Bugfix: don’t overwrite the original size of floating windows when changing border style 2014-06-13 22:19:23 +02:00
182-regress-focus-dock.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
183-config-variables.t Ensure config variables match on longest-length (#2306) 2016-04-26 08:20:42 +01:00
184-regress-float-split-resize.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
185-scratchpad.t Silence "masks earlier declaration in same scope" warnings when executing tests. 2015-06-12 18:19:43 +02:00
186-regress-assign-focus-parent.t
187-commands-parser.t
188-regress-focus-restart.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
189-floating-constraints.t
190-scratchpad-diff-ws.t
191-resize-levels.t
192-layout.t Fixes a small mixup in the assertion description. (#2692) 2017-02-23 23:36:31 -08:00
193-ipc-version.t add boilerplate to all testcases with documentation references 2012-09-10 14:09:01 +02:00
194-regress-floating-size.t
195-net-active-window.t Handle _NET_ACTIVE_WINDOW for scratchpad windows. (#2458) 2016-09-26 18:32:05 -07:00
196-randr-output-names.t
197-regression-move-vanish.t
198-regression-scratchpad-crash.t tests: add missing boilerplate 2012-09-22 12:56:01 +02:00
199-ipc-mode-event.t tests: add testcase for the 'mode' IPC event 2012-09-22 13:20:53 +02:00
200-urgency-timer.t
201-config-parser.t
202-scratchpad-criteria.t bugfix: Resize and center a scratchpad even when a criteria is used. 2013-07-11 21:18:21 +02:00
203-regress-assign-and-move.t
204-regress-scratchpad-move.t
205-ipc-windows.t Send IPC window events for focus and title changes 2014-02-26 22:24:19 +01:00
206-fullscreen-scratchpad.t
207-shmlog.t testsuite: use relative paths, set PATH to absolute path 2016-10-23 21:09:24 +02:00
208-regress-floating-criteria.t
209-ewmh-net-workarea.t
210-mark-unmark.t
211-regress-urgency-assign.t
212-assign-urgency.t
213-layout-restore-simple.t
213-move-branch-position.t
214-layout-restore-criteria.t fix test after renaming role to window_role 2013-12-22 21:52:49 +01:00
215-layout-restore-crash.t
216-layout-restore-split-swallows.t Reject empty swallow definitions 2015-12-11 20:28:13 +01:00
217-NET_CURRENT_DESKTOP.t
218-regress-floating-split.t
219-ipc-window-focus.t
220-ipc-window-title.t
221-floating-type-hints.t
222-regress-dock-resize.t
223-net-client-list.t Dont include dock clients in ewmh lists 2014-05-03 15:08:31 +02:00
224-regress-resize-branch.t Bugfix: resize window check should check for null 2014-04-26 12:10:05 +02:00
225-ipc-window-fullscreen.t
226-internal-workspaces.t
227-ipc-workspace-empty.t
228-border-widths.t
229-cleanup-tmpdir.t Bugfix: create the directory for storing the restart state (Thanks hjem) 2014-06-27 09:04:51 +02:00
230-floating-fullscreen-restart.t Bugfix: don’t overwrite the window’s geometry after restarting 2014-06-13 22:29:47 +02:00
231-ipc-floating-event.t Silence "masks earlier declaration in same scope" warnings when executing tests. 2015-06-12 18:19:43 +02:00
231-ipc-window-close.t Implement the window::close event 2014-06-19 12:59:25 +02:00
231-ipc-window-move.t
232-cmd-move-criteria.t
232-ipc-window-urgent.t Silence "masks earlier declaration in same scope" warnings when executing tests. 2015-06-12 18:19:43 +02:00
233-regress-manage-focus-unmapped.t
234-ewmh-desktop-names.t t/*ewmh*: fix flakiness by syncing 2014-08-08 12:23:47 +02:00
234-layout-restore-output.t
234-regress-default-floating-border.t bugfix: default floating border regression 2014-07-10 22:32:27 +02:00
235-check-config-no-x.t
235-wm-class-change-handler.t
236-floating-focus-raise.t Raise floating windows on `focus [direction]` 2014-08-08 12:19:35 +02:00
237-regress-assign-focus.t
238-ipc-binding-event.t
238-regress-reload-bindsym.t
239-net-close-window-request.t Handle _NET_CLOSE_WINDOW client message requests 2014-11-17 09:08:42 +01:00
240-focus-on-window-activation.t
240-tabbed-floating-disable-crash.t
241-consistent-center.t
242-no-focus.t Suppress no_focus for first window on a workspace. 2015-10-12 12:59:01 +02:00
243-move-to-mark.t
243-net-wm-state-hidden.t Added testcases for setting _NET_WM_STATE_HIDDEN on unfocused containers in tabbed/stacked containers. 2015-04-21 09:14:22 +02:00
244-new-workspace-floating-enable-center.t Initialize workspace rect to the output's upon creation 2015-04-28 15:09:58 -04:00
245-move-position-mouse.t
246-window-decoration-focus.t
247-config-line-continuation.t
248-regress-urgency-clear.t Properly clear the urgency hint when set by i3. 2015-08-02 20:50:14 +02:00
249-layout-restore-floating.t
250-layout-restore-multiple-criteria.t
251-command-criteria-focused.t Added tests for special value __focused__. 2015-08-29 00:43:55 +02:00
251-ewmh-visible-name.t
251-sticky.t
252-floating-size.t Support "resize set W H" 2015-09-11 23:12:07 +02:00
253-multiple-net-wm-state-atoms.t Remove _NET_WM_STATE on withdrawn windows. 2016-02-07 12:08:50 +01:00
254-move-to-output-with-criteria.t tests: switch to xft fonts 2016-01-09 17:22:45 +01:00
255-multiple-marks.t Introduce special value __focused__ for criterion con_id. 2015-10-22 15:46:55 +02:00
256-no-auto-back-and-forth.t Add --no-auto-back-and-forth for moving windows. 2015-10-26 22:40:06 +01:00
257-keypress-group1-fallback.t
258-keypress-release.t
259-net-wm-user-time.t
260-invalid-criteria.t Reject invalid match criteria with an error. 2015-12-09 14:00:53 +01:00
261-match-con_id-con_mark-combinations.t
262-config-validation.t Fix segfault when calling "i3 -C". 2016-01-05 22:50:38 -05:00
262-root-window-mouse-binding.t
263-config-reload-reverts-bind-mode.t
263-edge-borders.t
263-i3-floating-window-atom.t
264-dock-criteria.t
264-ipc-shutdown-event.t Add the ipc shutdown event (#2652) 2017-01-22 14:08:32 -08:00
264-keypress-numlock.t
265-ipc-mark.t
265-swap.t
266-net-moveresize-window.t
267-regress-mark-restart.t Fix the i3 crash caused by mark + restart commands (#2779) 2017-05-23 08:47:11 +02:00
500-multi-monitor.t
501-scratchpad.t
502-focus-output.t tests: sync_with_i3 before warping pointer 2014-02-25 20:44:17 +01:00
503-workspace.t
504-move-workspace-to-output.t
505-scratchpad-resolution.t tests: sync_with_i3 before warping pointer 2014-02-25 20:44:17 +01:00
506-focus-right.t
507-workspace-move-crash.t
509-workspace_layout.t
510-focus-across-outputs.t
511-scratchpad-configure-request.t
512-move-wraps.t Bugfix: Do not move focus if a container is moved across outputs 2013-02-10 17:38:17 +01:00
513-move-workspace.t
514-ipc-workspace-multi-monitor.t Refactor and improve test 514 2013-12-04 19:50:35 +01:00
515-create-workspace.t
516-move.t
517-regress-move-direction-ipc.t
518-interpret-workspace-numbers.t
519-mouse-warping.t
520-regress-focus-direction-floating.t
521-ewmh-desktop-viewport.t
522-rename-assigned-workspace.t
523-move-position-center.t
524-move.t Allow single-child non-default layout cons to be moved between outputs 2015-03-31 13:58:29 -04:00
525-i3bar-mouse-bindings.t
526-reconfigure-dock.t
527-focus-fallback.t
528-workspace-next-prev-reversed.t
528-workspace-next-prev.t
529-net-wm-desktop.t
530-bug-2229.t
531-fullscreen-on-given-output.t
532-xresources.t
533-randr15.t Implement RandR 1.5 support (#2580) 2016-11-28 18:20:46 +01:00