summaryrefslogtreecommitdiffstats
path: root/test/integration_new
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-08-14 21:18:12 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-08-14 21:30:37 +1000
commitfed2aaf37f85c1417d41c359c15e1fb0cd8087ec (patch)
treec139001381cb8c799810bfc4cfddb88eb648a012 /test/integration_new
parentb2ae651686c8f149c7b0bff6b98199afe6c7407f (diff)
migrate menuFromCommand integration test
Diffstat (limited to 'test/integration_new')
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/COMMIT_EDITMSG1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/FETCH_HEAD0
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/HEAD1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/config10
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/description1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/indexbin0 -> 65 bytes
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/info/exclude7
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/HEAD4
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/feature/foo1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/master3
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/16/919871d6b442beac07e1573c557ca433cff356bin0 -> 147 bytes
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904bin0 -> 15 bytes
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/af/550d3777f20bf024ad55c9c796e7e85ef32ccbbin0 -> 146 bytes
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/d5/0975554a574b9c66e109927fdb4edfb6bbadb33
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/feature/foo1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/master1
-rw-r--r--test/integration_new/custom_commands/menu_from_command/expected/repo/output.txt1
17 files changed, 34 insertions, 0 deletions
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/COMMIT_EDITMSG
new file mode 100644
index 000000000..76018072e
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/COMMIT_EDITMSG
@@ -0,0 +1 @@
+baz
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/FETCH_HEAD b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/FETCH_HEAD
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/FETCH_HEAD
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/HEAD b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/HEAD
new file mode 100644
index 000000000..0e5fcffdf
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/feature/foo
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/config b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/config
new file mode 100644
index 000000000..8ae104545
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/config
@@ -0,0 +1,10 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+ ignorecase = true
+ precomposeunicode = true
+[user]
+ email = CI@example.com
+ name = CI
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/description b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/description
new file mode 100644
index 000000000..498b267a8
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/index b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/index
new file mode 100644
index 000000000..65d675154
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/index
Binary files differ
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/info/exclude b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/info/exclude
new file mode 100644
index 000000000..8e9f2071f
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/info/exclude
@@ -0,0 +1,7 @@
+# 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]
+# *~
+.DS_Store
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/HEAD b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/HEAD
new file mode 100644
index 000000000..22805e198
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/HEAD
@@ -0,0 +1,4 @@
+0000000000000000000000000000000000000000 d50975554a574b9c66e109927fdb4edfb6bbadb3 CI <CI@example.com> 1660476303 +1000 commit (initial): foo
+d50975554a574b9c66e109927fdb4edfb6bbadb3 af550d3777f20bf024ad55c9c796e7e85ef32ccb CI <CI@example.com> 1660476303 +1000 commit: bar
+af550d3777f20bf024ad55c9c796e7e85ef32ccb 16919871d6b442beac07e1573c557ca433cff356 CI <CI@example.com> 1660476303 +1000 commit: baz
+16919871d6b442beac07e1573c557ca433cff356 16919871d6b442beac07e1573c557ca433cff356 CI <CI@example.com> 1660476303 +1000 checkout: moving from master to feature/foo
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/feature/foo b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/feature/foo
new file mode 100644
index 000000000..5538ba67f
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/feature/foo
@@ -0,0 +1 @@
+0000000000000000000000000000000000000000 16919871d6b442beac07e1573c557ca433cff356 CI <CI@example.com> 1660476303 +1000 branch: Created from HEAD
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/master b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/master
new file mode 100644
index 000000000..f9d13618c
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/logs/refs/heads/master
@@ -0,0 +1,3 @@
+0000000000000000000000000000000000000000 d50975554a574b9c66e109927fdb4edfb6bbadb3 CI <CI@example.com> 1660476303 +1000 commit (initial): foo
+d50975554a574b9c66e109927fdb4edfb6bbadb3 af550d3777f20bf024ad55c9c796e7e85ef32ccb CI <CI@example.com> 1660476303 +1000 commit: bar
+af550d3777f20bf024ad55c9c796e7e85ef32ccb 16919871d6b442beac07e1573c557ca433cff356 CI <CI@example.com> 1660476303 +1000 commit: baz
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/16/919871d6b442beac07e1573c557ca433cff356 b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/16/919871d6b442beac07e1573c557ca433cff356
new file mode 100644
index 000000000..7b0995a4d
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/16/919871d6b442beac07e1573c557ca433cff356
Binary files differ
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
new file mode 100644
index 000000000..adf64119a
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
Binary files differ
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/af/550d3777f20bf024ad55c9c796e7e85ef32ccb b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/af/550d3777f20bf024ad55c9c796e7e85ef32ccb
new file mode 100644
index 000000000..5de7e30df
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/af/550d3777f20bf024ad55c9c796e7e85ef32ccb
Binary files differ
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/d5/0975554a574b9c66e109927fdb4edfb6bbadb3 b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/d5/0975554a574b9c66e109927fdb4edfb6bbadb3
new file mode 100644
index 000000000..a8654985c
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/objects/d5/0975554a574b9c66e109927fdb4edfb6bbadb3
@@ -0,0 +1,3 @@
+xA
+0@Q91)BW=F&`R"n?~<KU$q-L:Ըr
+1VQlyǼ<mX3#yYI?f~+T \ No newline at end of file
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/feature/foo b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/feature/foo
new file mode 100644
index 000000000..eb52a0039
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/feature/foo
@@ -0,0 +1 @@
+16919871d6b442beac07e1573c557ca433cff356
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/master b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/master
new file mode 100644
index 000000000..eb52a0039
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/.git_keep/refs/heads/master
@@ -0,0 +1 @@
+16919871d6b442beac07e1573c557ca433cff356
diff --git a/test/integration_new/custom_commands/menu_from_command/expected/repo/output.txt b/test/integration_new/custom_commands/menu_from_command/expected/repo/output.txt
new file mode 100644
index 000000000..7319b383d
--- /dev/null
+++ b/test/integration_new/custom_commands/menu_from_command/expected/repo/output.txt
@@ -0,0 +1 @@
+bar Branch: #feature/foo my branch feature/foo