Debian Codegraph @

pkg/integration/tests/branch/new_branch_autostash.go

raw symbols SCIP
1 package branchscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/
2
3 import (
4 "github.com/jesseduffield/lazygit/pkg/configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/"
5 . "github.com/jesseduffield/lazygit/pkg/integration/componentsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/"
6 )
7
8 var NewBranchAutostashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash. = NewIntegrationTestscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTest().(NewIntegrationTestArgsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#{
9 Descriptionscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Description.: "Create a new branch that requires performing autostash",
10 ExtraCmdArgsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#ExtraCmdArgs.: []string{},
11 Skipscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Skip.: false,
12 SetupConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#SetupConfig.: func(configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:config. *configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/.AppConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/AppConfig#) {},
13 SetupReposcip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#SetupRepo.: func(shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell. *Shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#) {
14 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..CreateFileAndAddscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#CreateFileAndAdd().("file", "a\n\nb")
15 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..Commitscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#Commit().("add file")
16 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..UpdateFileAndAddscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#UpdateFileAndAdd().("file", "a\n\nc")
17 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..Commitscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#Commit().("edit last line")
18
19 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..Checkoutscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#Checkout().("HEAD^")
20 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:shell..UpdateFilescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#UpdateFile().("file", "b\n\nb")
21 },
22 Runscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Run.: func(tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t. *TestDriverscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#, keysscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:keys. configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/.KeybindingConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#) {
23 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Filesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Files().().
24 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
25 Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("file"),
26 )
27
28 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Branchesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Branches().().
29 Focusscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Focus().().
30 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
31 MatchesRegexpscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/MatchesRegexp().(`\*.*HEAD`).IsSelectedscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TextMatcher#IsSelected().(),
32 Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("master"),
33 ).
34 NavigateToLinescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#NavigateToLine().(Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("master")).
35 Pressscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Press().(keysscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:keys..Universalscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#Universal..Newscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingUniversalConfig#New.)
36
37 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..ExpectPopupscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#ExpectPopup().().Promptscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Popup#Prompt().().
38 Titlescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Title().(Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("New branch name (branch is off of 'master')")).
39 Typescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Type().("new-branch").
40 Confirmscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Confirm().()
41
42 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..ExpectPopupscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#ExpectPopup().().Confirmationscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Popup#Confirmation().().
43 Titlescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ConfirmationDriver#Title().(Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("Autostash?")).
44 Contentscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ConfirmationDriver#Content().(Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("You must stash and pop your changes to bring them across. Do this automatically? (enter/esc)")).
45 Confirmscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ConfirmationDriver#Confirm().()
46
47 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Branchesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Branches().().
48 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
49 Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("new-branch").IsSelectedscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TextMatcher#IsSelected().(),
50 Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("master"),
51 )
52
53 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..Gitscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Git().().CurrentBranchNamescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Git#CurrentBranchName().("new-branch")
54
55 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/branch`/NewBranchAutostash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Filesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Files().().
56 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
57 Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("file"),
58 )
59 },
60 })