2023-02-19 02:44:17 +02:00
|
|
|
// THIS FILE IS AUTO-GENERATED. You can regenerate it by running `go generate ./...` at the root of the lazygit repo.
|
|
|
|
|
|
|
|
package tests
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/components"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/bisect"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/branch"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/cherry_pick"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/commit"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/config"
|
2023-02-19 06:01:57 +02:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/conflicts"
|
2023-02-19 02:44:17 +02:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/custom_commands"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/diff"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/file"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/filter_by_path"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/interactive_rebase"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/misc"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/patch_building"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/stash"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/submodule"
|
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/sync"
|
2023-02-20 09:41:17 +02:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/tag"
|
2023-02-19 06:27:13 +02:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/undo"
|
2023-02-19 04:29:04 +02:00
|
|
|
"github.com/jesseduffield/lazygit/pkg/integration/tests/ui"
|
2023-02-19 02:44:17 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
var tests = []*components.IntegrationTest{
|
|
|
|
bisect.Basic,
|
|
|
|
bisect.FromOtherBranch,
|
|
|
|
branch.CheckoutByName,
|
2023-02-08 16:11:40 +02:00
|
|
|
branch.CreateTag,
|
2023-02-19 02:44:17 +02:00
|
|
|
branch.Delete,
|
|
|
|
branch.DetachedHead,
|
2023-02-19 04:54:15 +02:00
|
|
|
branch.OpenWithCliArg,
|
2023-02-19 02:44:17 +02:00
|
|
|
branch.Rebase,
|
|
|
|
branch.RebaseAndDrop,
|
|
|
|
branch.RebaseDoesNotAutosquash,
|
|
|
|
branch.Reset,
|
|
|
|
branch.Suggestions,
|
|
|
|
cherry_pick.CherryPick,
|
|
|
|
cherry_pick.CherryPickConflicts,
|
|
|
|
commit.Commit,
|
|
|
|
commit.CommitMultiline,
|
2023-02-20 09:52:45 +02:00
|
|
|
commit.CreateTag,
|
2023-02-19 02:44:17 +02:00
|
|
|
commit.DiscardOldFileChange,
|
|
|
|
commit.NewBranch,
|
|
|
|
commit.Revert,
|
2023-02-19 05:47:07 +02:00
|
|
|
commit.RevertMerge,
|
2023-02-19 02:44:17 +02:00
|
|
|
commit.StageRangeOfLines,
|
|
|
|
commit.Staged,
|
|
|
|
commit.StagedWithoutHooks,
|
|
|
|
commit.Unstaged,
|
|
|
|
config.RemoteNamedStar,
|
2023-02-19 06:01:57 +02:00
|
|
|
conflicts.UndoChooseHunk,
|
2023-02-19 02:44:17 +02:00
|
|
|
custom_commands.Basic,
|
|
|
|
custom_commands.FormPrompts,
|
|
|
|
custom_commands.MenuFromCommand,
|
|
|
|
custom_commands.MenuFromCommandsOutput,
|
|
|
|
custom_commands.MultiplePrompts,
|
|
|
|
diff.Diff,
|
|
|
|
diff.DiffAndApplyPatch,
|
|
|
|
diff.DiffCommits,
|
|
|
|
diff.IgnoreWhitespace,
|
|
|
|
file.DirWithUntrackedFile,
|
|
|
|
file.DiscardChanges,
|
|
|
|
file.DiscardStagedChanges,
|
|
|
|
file.Gitignore,
|
|
|
|
filter_by_path.CliArg,
|
|
|
|
filter_by_path.SelectFile,
|
|
|
|
filter_by_path.TypeFile,
|
2023-02-20 09:29:43 +02:00
|
|
|
interactive_rebase.AmendFirstCommit,
|
2023-02-19 02:44:17 +02:00
|
|
|
interactive_rebase.AmendMerge,
|
2023-02-19 12:33:58 +02:00
|
|
|
interactive_rebase.EditFirstCommit,
|
2023-02-19 16:08:35 +02:00
|
|
|
interactive_rebase.FixupFirstCommit,
|
2023-02-19 12:33:58 +02:00
|
|
|
interactive_rebase.FixupSecondCommit,
|
2023-02-19 02:44:17 +02:00
|
|
|
interactive_rebase.One,
|
2023-02-19 12:33:58 +02:00
|
|
|
interactive_rebase.RewordFirstCommit,
|
2023-02-19 16:08:35 +02:00
|
|
|
interactive_rebase.SquashDownFirstCommit,
|
2023-02-19 12:33:58 +02:00
|
|
|
interactive_rebase.SquashDownSecondCommit,
|
2023-02-20 09:29:43 +02:00
|
|
|
interactive_rebase.SquashFixupsAboveFirstCommit,
|
2023-02-19 02:44:17 +02:00
|
|
|
misc.ConfirmOnQuit,
|
2023-02-19 04:59:19 +02:00
|
|
|
misc.InitialOpen,
|
2023-02-19 02:44:17 +02:00
|
|
|
patch_building.CopyPatchToClipboard,
|
|
|
|
stash.Rename,
|
|
|
|
stash.Stash,
|
|
|
|
stash.StashIncludingUntrackedFiles,
|
|
|
|
submodule.Add,
|
|
|
|
submodule.Enter,
|
|
|
|
submodule.Remove,
|
|
|
|
submodule.Reset,
|
|
|
|
sync.FetchPrune,
|
2023-02-19 04:38:15 +02:00
|
|
|
sync.ForcePush,
|
2023-02-19 04:51:45 +02:00
|
|
|
sync.ForcePushMultipleMatching,
|
|
|
|
sync.ForcePushMultipleUpstream,
|
2023-02-19 02:48:17 +02:00
|
|
|
sync.Pull,
|
2023-02-19 02:51:42 +02:00
|
|
|
sync.PullAndSetUpstream,
|
2023-02-19 02:44:17 +02:00
|
|
|
sync.RenameBranchAndPull,
|
2023-02-20 09:45:14 +02:00
|
|
|
tag.Checkout,
|
2023-02-20 09:41:17 +02:00
|
|
|
tag.CrudAnnotated,
|
|
|
|
tag.CrudLightweight,
|
2023-02-20 09:48:37 +02:00
|
|
|
tag.Reset,
|
2023-02-19 09:33:01 +02:00
|
|
|
undo.UndoCheckoutAndDrop,
|
2023-02-19 06:27:13 +02:00
|
|
|
undo.UndoDrop,
|
2023-02-19 04:29:04 +02:00
|
|
|
ui.SwitchTabFromMenu,
|
2023-02-19 02:44:17 +02:00
|
|
|
}
|