diff options
Diffstat (limited to 'tests/fixtures')
| -rw-r--r-- | tests/fixtures/session/current-herdr-dev-session.json | 78 | ||||
| -rw-r--r-- | tests/fixtures/session/current-herdr-session.json | 65 | ||||
| -rw-r--r-- | tests/fixtures/session/legacy-pre-tabs-v2.json | 33 |
3 files changed, 176 insertions, 0 deletions
diff --git a/tests/fixtures/session/current-herdr-dev-session.json b/tests/fixtures/session/current-herdr-dev-session.json new file mode 100644 index 00000000..0721acb9 --- /dev/null +++ b/tests/fixtures/session/current-herdr-dev-session.json @@ -0,0 +1,78 @@ +{ + "version": 3, + "workspaces": [ + { + "id": "wdev1", + "custom_name": null, + "identity_cwd": "/home/test/projects/project-a", + "tabs": [ + { + "custom_name": null, + "layout": { + "Pane": 1 + }, + "panes": { + "1": { + "cwd": "/home/test/projects/project-a" + } + }, + "zoomed": false, + "focused": 1, + "root_pane": 1 + }, + { + "custom_name": "2", + "layout": { + "Pane": 2 + }, + "panes": { + "2": { + "cwd": "/home/test/projects/project-a" + } + }, + "zoomed": false, + "focused": 2, + "root_pane": 2 + } + ], + "active_tab": 1 + }, + { + "id": "wdev2", + "custom_name": null, + "identity_cwd": "/home/test/projects/project-c", + "tabs": [ + { + "custom_name": null, + "layout": { + "Split": { + "direction": "Vertical", + "ratio": 0.5, + "first": { + "Pane": 6 + }, + "second": { + "Pane": 7 + } + } + }, + "panes": { + "7": { + "cwd": "/home/test/projects/project-a" + }, + "6": { + "cwd": "/home/test/projects/project-c" + } + }, + "zoomed": false, + "focused": 6, + "root_pane": 6 + } + ], + "active_tab": 0 + } + ], + "active": 0, + "selected": 0, + "agent_panel_scope": "CurrentWorkspace" +} diff --git a/tests/fixtures/session/current-herdr-session.json b/tests/fixtures/session/current-herdr-session.json new file mode 100644 index 00000000..14178690 --- /dev/null +++ b/tests/fixtures/session/current-herdr-session.json @@ -0,0 +1,65 @@ +{ + "version": 3, + "workspaces": [ + { + "id": "wproj1", + "custom_name": null, + "identity_cwd": "/home/test/projects/project-a", + "tabs": [ + { + "custom_name": "separate-pane", + "layout": { + "Pane": 1 + }, + "panes": { + "1": { + "cwd": "/home/test/projects/project-a" + } + }, + "zoomed": false, + "focused": 1, + "root_pane": 1 + }, + { + "custom_name": "p", + "layout": { + "Pane": 2 + }, + "panes": { + "2": { + "cwd": "/home/test/projects/project-a" + } + }, + "zoomed": false, + "focused": 2, + "root_pane": 2 + } + ], + "active_tab": 0 + }, + { + "id": "wproj2", + "custom_name": null, + "identity_cwd": "/home/test/projects/project-b", + "tabs": [ + { + "custom_name": null, + "layout": { + "Pane": 3 + }, + "panes": { + "3": { + "cwd": "/home/test/projects/project-b" + } + }, + "zoomed": false, + "focused": 3, + "root_pane": 3 + } + ], + "active_tab": 0 + } + ], + "active": 0, + "selected": 0 +} diff --git a/tests/fixtures/session/legacy-pre-tabs-v2.json b/tests/fixtures/session/legacy-pre-tabs-v2.json new file mode 100644 index 00000000..5eb4e3ad --- /dev/null +++ b/tests/fixtures/session/legacy-pre-tabs-v2.json @@ -0,0 +1,33 @@ +{ + "version": 2, + "workspaces": [ + { + "custom_name": "legacy", + "layout": { + "Split": { + "direction": "Horizontal", + "ratio": 0.5, + "first": { + "Pane": 0 + }, + "second": { + "Pane": 1 + } + } + }, + "panes": { + "0": { + "cwd": "/tmp/pion" + }, + "1": { + "cwd": "/tmp/herdr" + } + }, + "zoomed": false, + "focused": 1, + "root_pane": 0 + } + ], + "active": 0, + "selected": 0 +} |
