Debian Codegraph @

pkg/integration/tests/file/rename_similarity_threshold_change.go

raw symbols SCIP
1 package filescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/
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 RenameSimilarityThresholdChangescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange. = 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.: "Change the rename similarity threshold while in the files panel",
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/file`/RenameSimilarityThresholdChange: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/file`/RenameSimilarityThresholdChange: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/file`/RenameSimilarityThresholdChange:shell..CreateFileAndAddscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#CreateFileAndAdd().("original", "one\ntwo\nthree\nfour\nfive\n")
15 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:shell..Commitscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#Commit().("add original")
16
17 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:shell..DeleteFileAndAddscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#DeleteFileAndAdd().("original")
18 shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:shell..CreateFileAndAddscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#CreateFileAndAdd().("renamed", "one\ntwo\nthree\nfour\nfive\nsix\nseven\neight\nnine\nten\n")
19 },
20 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/file`/RenameSimilarityThresholdChange: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/file`/RenameSimilarityThresholdChange: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#) {
21 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange: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().().
22 IsFocusedscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#IsFocused().().
23 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
24 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("▼ /"),
25 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().(" D original"),
26 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().(" A renamed"),
27 ).
28 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/file`/RenameSimilarityThresholdChange:keys..Universalscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#Universal..DecreaseRenameSimilarityThresholdscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingUniversalConfig#DecreaseRenameSimilarityThreshold.).
29 Tapscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Tap().(func() {
30 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:t..ExpectToastscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#ExpectToast().(Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("Changed rename similarity threshold to 45%"))
31 }).
32 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
33 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("R original → renamed"),
34 ).
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/file`/RenameSimilarityThresholdChange:keys..Universalscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#Universal..FocusMainViewscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingUniversalConfig#FocusMainView.).
36 Tapscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Tap().(func() {
37 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Mainscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Main().().
38 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/file`/RenameSimilarityThresholdChange:keys..Universalscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#Universal..IncreaseRenameSimilarityThresholdscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingUniversalConfig#IncreaseRenameSimilarityThreshold.)
39 tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/file`/RenameSimilarityThresholdChange:t..ExpectToastscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#ExpectToast().(Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("Changed rename similarity threshold to 50%"))
40 }).
41 Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().(
42 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("▼ /"),
43 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().(" D original"),
44 Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().(" A renamed"),
45 )
46 },
47 })