From d65c0188758f51be0bd8824c451be63114f4e07a Mon Sep 17 00:00:00 2001 From: Cristian Betivu Date: Sun, 6 Jun 2021 14:58:13 +0200 Subject: [PATCH] Add integration test --- .../expected/.git_keep/COMMIT_EDITMSG | 1 + .../expected/.git_keep/FETCH_HEAD | 0 .../switchTabFromMenu/expected/.git_keep/HEAD | 1 + .../expected/.git_keep/config | 8 ++++++++ .../expected/.git_keep/description | 1 + .../expected/.git_keep/index | Bin 0 -> 137 bytes .../expected/.git_keep/info/exclude | 6 ++++++ .../expected/.git_keep/logs/HEAD | 3 +++ .../expected/.git_keep/logs/refs/heads/master | 2 ++ .../09/767bd3484e22b41138116992cc1cb5bc45fb7f | Bin 0 -> 50 bytes .../19/bec20dd95b2a7cb0cc18b39c865edc1836748c | 3 +++ .../c4/534c51b41b7c85f4fad4657885792d95797e8c | Bin 0 -> 56 bytes .../d1/d98a10aa479467df903fea43d45df9dc538bc8 | 2 ++ .../e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 | Bin 0 -> 15 bytes .../expected/.git_keep/refs/heads/master | 1 + .../expected/.git_keep/refs/tags/0.0.1 | 1 + .../expected/.git_keep/refs/tags/0.0.2 | 1 + .../switchTabFromMenu/expected/file0 | 0 .../switchTabFromMenu/recording.json | 1 + test/integration/switchTabFromMenu/setup.sh | 18 ++++++++++++++++++ test/integration/switchTabFromMenu/test.json | 1 + 21 files changed, 50 insertions(+) create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/COMMIT_EDITMSG create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/FETCH_HEAD create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/HEAD create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/config create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/description create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/index create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/info/exclude create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/logs/HEAD create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/logs/refs/heads/master create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/objects/19/bec20dd95b2a7cb0cc18b39c865edc1836748c create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/objects/d1/d98a10aa479467df903fea43d45df9dc538bc8 create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/refs/heads/master create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/refs/tags/0.0.1 create mode 100644 test/integration/switchTabFromMenu/expected/.git_keep/refs/tags/0.0.2 create mode 100644 test/integration/switchTabFromMenu/expected/file0 create mode 100644 test/integration/switchTabFromMenu/recording.json create mode 100644 test/integration/switchTabFromMenu/setup.sh create mode 100644 test/integration/switchTabFromMenu/test.json diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/COMMIT_EDITMSG b/test/integration/switchTabFromMenu/expected/.git_keep/COMMIT_EDITMSG new file mode 100644 index 000000000..dc3ab4abe --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/COMMIT_EDITMSG @@ -0,0 +1 @@ +file0 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/FETCH_HEAD b/test/integration/switchTabFromMenu/expected/.git_keep/FETCH_HEAD new file mode 100644 index 000000000..e69de29bb diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/HEAD b/test/integration/switchTabFromMenu/expected/.git_keep/HEAD new file mode 100644 index 000000000..0f09c5ce4 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/HEAD @@ -0,0 +1 @@ +d1d98a10aa479467df903fea43d45df9dc538bc8 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/config b/test/integration/switchTabFromMenu/expected/.git_keep/config new file mode 100644 index 000000000..596ebaeb3 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/config @@ -0,0 +1,8 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[user] + email = CI@example.com + name = CI diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/description b/test/integration/switchTabFromMenu/expected/.git_keep/description new file mode 100644 index 000000000..498b267a8 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/index b/test/integration/switchTabFromMenu/expected/.git_keep/index new file mode 100644 index 0000000000000000000000000000000000000000..ee900d6c3d20e796a32714c426d71f5e3c8c07ac GIT binary patch literal 137 zcmZ?q402{*U|<4b#)LgbUP^hC_rPcdhJQ><5r&xz42??|7?@uG@lBvQhG%mh&E9nJ znzMJe=DPBz8;73s1W#mOP0P$lH2_I7gao;|0x3xbLj?ma&a&#u9)3z&1T6$JC!LYm fy2tf*{mL~L^!`fU+dFg4T>h$w>T}N7sqO~=C)hDw literal 0 HcmV?d00001 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/info/exclude b/test/integration/switchTabFromMenu/expected/.git_keep/info/exclude new file mode 100644 index 000000000..a5196d1be --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/logs/HEAD b/test/integration/switchTabFromMenu/expected/.git_keep/logs/HEAD new file mode 100644 index 000000000..7fb532da3 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/logs/HEAD @@ -0,0 +1,3 @@ +0000000000000000000000000000000000000000 d1d98a10aa479467df903fea43d45df9dc538bc8 CI 1622983913 +0200 commit (initial): file0 +d1d98a10aa479467df903fea43d45df9dc538bc8 19bec20dd95b2a7cb0cc18b39c865edc1836748c CI 1622983913 +0200 commit: file0 +19bec20dd95b2a7cb0cc18b39c865edc1836748c d1d98a10aa479467df903fea43d45df9dc538bc8 CI 1622983922 +0200 checkout: moving from master to 0.0.1 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/logs/refs/heads/master b/test/integration/switchTabFromMenu/expected/.git_keep/logs/refs/heads/master new file mode 100644 index 000000000..c2c28dbb7 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/logs/refs/heads/master @@ -0,0 +1,2 @@ +0000000000000000000000000000000000000000 d1d98a10aa479467df903fea43d45df9dc538bc8 CI 1622983913 +0200 commit (initial): file0 +d1d98a10aa479467df903fea43d45df9dc538bc8 19bec20dd95b2a7cb0cc18b39c865edc1836748c CI 1622983913 +0200 commit: file0 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f b/test/integration/switchTabFromMenu/expected/.git_keep/objects/09/767bd3484e22b41138116992cc1cb5bc45fb7f new file mode 100644 index 0000000000000000000000000000000000000000..d09fb5ad6408a5f924793e8b825d8666b6f550a7 GIT binary patch literal 50 zcmbRj literal 0 HcmV?d00001 diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/objects/19/bec20dd95b2a7cb0cc18b39c865edc1836748c b/test/integration/switchTabFromMenu/expected/.git_keep/objects/19/bec20dd95b2a7cb0cc18b39c865edc1836748c new file mode 100644 index 000000000..1223bd157 --- /dev/null +++ b/test/integration/switchTabFromMenu/expected/.git_keep/objects/19/bec20dd95b2a7cb0cc18b39c865edc1836748c @@ -0,0 +1,3 @@ +xK +0 )/XR +Y,@҄B_3ɾmK¥V EgsL*RFLBYQ-w̐ \*X!HO{'{~y;Vɾ=B 䣽鶟jgn겪3?K9b \ No newline at end of file diff --git a/test/integration/switchTabFromMenu/expected/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c b/test/integration/switchTabFromMenu/expected/.git_keep/objects/c4/534c51b41b7c85f4fad4657885792d95797e8c new file mode 100644 index 0000000000000000000000000000000000000000..58277c3d5c83427fe129a5875c340328405eaf24 GIT binary patch literal 56 zcmb%ACJ,iL3