From d578fb350630edab83a172a555abe7d3507aa881 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sat, 24 Feb 2024 09:55:09 -0800 Subject: [PATCH] Swap in OS specific goldens --- client/testdata/TestTui-ColoredOutput-darwin | 27 +++++++++++++++++++ client/testdata/TestTui-ColoredOutput-linux | 27 +++++++++++++++++++ ...-ColoredOutputWithCustomColorScheme-darwin | 27 +++++++++++++++++++ ...i-ColoredOutputWithCustomColorScheme-linux | 27 +++++++++++++++++++ ...tTui-ColoredOutputWithDefaultFilter-darwin | 27 +++++++++++++++++++ ...stTui-ColoredOutputWithDefaultFilter-linux | 27 +++++++++++++++++++ ...i-ColoredOutputWithSearch-Highlight-darwin | 27 +++++++++++++++++++ ...ui-ColoredOutputWithSearch-Highlight-linux | 27 +++++++++++++++++++ .../TestTui-ColoredOutputWithSearch-darwin | 27 +++++++++++++++++++ .../TestTui-ColoredOutputWithSearch-linux | 27 +++++++++++++++++++ 10 files changed, 270 insertions(+) create mode 100644 client/testdata/TestTui-ColoredOutput-darwin create mode 100644 client/testdata/TestTui-ColoredOutput-linux create mode 100644 client/testdata/TestTui-ColoredOutputWithCustomColorScheme-darwin create mode 100644 client/testdata/TestTui-ColoredOutputWithCustomColorScheme-linux create mode 100644 client/testdata/TestTui-ColoredOutputWithDefaultFilter-darwin create mode 100644 client/testdata/TestTui-ColoredOutputWithDefaultFilter-linux create mode 100644 client/testdata/TestTui-ColoredOutputWithSearch-Highlight-darwin create mode 100644 client/testdata/TestTui-ColoredOutputWithSearch-Highlight-linux create mode 100644 client/testdata/TestTui-ColoredOutputWithSearch-darwin create mode 100644 client/testdata/TestTui-ColoredOutputWithSearch-linux diff --git a/client/testdata/TestTui-ColoredOutput-darwin b/client/testdata/TestTui-ColoredOutput-darwin new file mode 100644 index 0000000..6e869be --- /dev/null +++ b/client/testdata/TestTui-ColoredOutput-darwin @@ -0,0 +1,27 @@ +Search Query: > ls + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │ +│ localhost /tmp/ Oct 17 2022 21:43:16 PDT 3s 2 ls ~/ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutput-linux b/client/testdata/TestTui-ColoredOutput-linux new file mode 100644 index 0000000..285ff8f --- /dev/null +++ b/client/testdata/TestTui-ColoredOutput-linux @@ -0,0 +1,27 @@ +Search Query: > ls + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │ +│ localhost /tmp/ Oct 17 2022 21:43:16 PDT 3s 2 ls ~/ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help  \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-darwin b/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-darwin new file mode 100644 index 0000000..8aeac6f --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-darwin @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost  /tmp/  Oct 17 2022 21:43:21 PDT  3s  2  echo 'aaaaaa bbbb'  │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-linux b/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-linux new file mode 100644 index 0000000..37a7928 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithCustomColorScheme-linux @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost  /tmp/  Oct 17 2022 21:43:21 PDT  3s  2  echo 'aaaaaa bbbb'  │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help  \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithDefaultFilter-darwin b/client/testdata/TestTui-ColoredOutputWithDefaultFilter-darwin new file mode 100644 index 0000000..781034b --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithDefaultFilter-darwin @@ -0,0 +1,27 @@ +Search Query: [exit_code:0] ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithDefaultFilter-linux b/client/testdata/TestTui-ColoredOutputWithDefaultFilter-linux new file mode 100644 index 0000000..94838e1 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithDefaultFilter-linux @@ -0,0 +1,27 @@ +Search Query: [exit_code:0] ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help  \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-darwin b/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-darwin new file mode 100644 index 0000000..22715b7 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-darwin @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost  /tmp/  Oct 17 2022 21:43:21 PDT  3s  2  echo 'aaaaaa bbbb'  │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-linux b/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-linux new file mode 100644 index 0000000..cbf9bb7 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithSearch-Highlight-linux @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost  /tmp/  Oct 17 2022 21:43:21 PDT  3s  2  echo 'aaaaaa bbbb'  │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help  \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithSearch-darwin b/client/testdata/TestTui-ColoredOutputWithSearch-darwin new file mode 100644 index 0000000..490d4a1 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithSearch-darwin @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help \ No newline at end of file diff --git a/client/testdata/TestTui-ColoredOutputWithSearch-linux b/client/testdata/TestTui-ColoredOutputWithSearch-linux new file mode 100644 index 0000000..b39e6d3 --- /dev/null +++ b/client/testdata/TestTui-ColoredOutputWithSearch-linux @@ -0,0 +1,27 @@ +Search Query: > ech  + +┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +hiSHtory: Search your shell history  • ctrl+h help  \ No newline at end of file