From 80db18269dd9f7153a02f3efa6ff92c69948a623 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:20:07 -0300 Subject: tests: the tty's own cases get their runner in the process suite, test/tty.zig (a pardes in a pty of its own, driven by a terminal's bytes, its captures compared with test/snapshots/.golden: the snapshot scripts' commands as methods, their capture and settle code moved from snapshot.zig) and process_test.zig's pool (a child a case, a core's worth at once, a failure run again alone with the wider settle probe), with six empty files for the script families the next changes fill, so each family can be reverted alone Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/process/tty_boot.zig | 3 +++ test/process/tty_editing.zig | 3 +++ test/process/tty_images.zig | 3 +++ test/process/tty_layout.zig | 3 +++ test/process/tty_terminals.zig | 3 +++ test/process/tty_themes.zig | 3 +++ 6 files changed, 18 insertions(+) create mode 100644 test/process/tty_boot.zig create mode 100644 test/process/tty_editing.zig create mode 100644 test/process/tty_images.zig create mode 100644 test/process/tty_layout.zig create mode 100644 test/process/tty_terminals.zig create mode 100644 test/process/tty_themes.zig (limited to 'test/process') diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig new file mode 100644 index 00000000..79413cbf --- /dev/null +++ b/test/process/tty_boot.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), starting: argv, the flags, the topbar's builtins, dumps and loads. + +pub const cases = .{}; diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig new file mode 100644 index 00000000..8d125aeb --- /dev/null +++ b/test/process/tty_editing.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), editing: modes, selections, look, search, the language client, diffs. + +pub const cases = .{}; diff --git a/test/process/tty_images.zig b/test/process/tty_images.zig new file mode 100644 index 00000000..9cd67a40 --- /dev/null +++ b/test/process/tty_images.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), image panes drawn in a terminal (petscii glyph art). + +pub const cases = .{}; diff --git a/test/process/tty_layout.zig b/test/process/tty_layout.zig new file mode 100644 index 00000000..bd551013 --- /dev/null +++ b/test/process/tty_layout.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), columns, panes and tags: placement, grips, drags, collapse, the window ops. + +pub const cases = .{}; diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig new file mode 100644 index 00000000..3a3ad072 --- /dev/null +++ b/test/process/tty_terminals.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), terminal panes: tty mode, its keys and mouse, scrollback, commands. + +pub const cases = .{}; diff --git a/test/process/tty_themes.zig b/test/process/tty_themes.zig new file mode 100644 index 00000000..fab132ae --- /dev/null +++ b/test/process/tty_themes.zig @@ -0,0 +1,3 @@ +//! The tty frontend's own cases (test/tty.zig), colours: themes, syntax, markup, a pager's SGR, the cursor line. + +pub const cases = .{}; -- cgit v1.3