Debian Codegraph @

commands/uploader_test.go

raw symbols SCIP
1 package commandsscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/
2
3 import (
4 "testingscip-go gomod github.com/golang/go/src go1.25.0 testing/"
5
6 "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/"
7 )
8
9 type LockingSupportTestCasescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase# struct {
10 Givenscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#Given. string
11 ExpectedToMatchscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#ExpectedToMatch. bool
12 }
13
14 func (l *LockingSupportTestCasescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#) Assertscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#Assert().(t *testingscip-go gomod github.com/golang/go/src go1.25.0 testing/.Tscip-go gomod github.com/golang/go/src go1.25.0 testing/T#) {
15 assertscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/assert`/Equal().(t, l.ExpectedToMatchscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#ExpectedToMatch., supportsLockingAPIscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/supportsLockingAPI().(l.Givenscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#Given.))
16 }
17
18 func TestSupportedLockingHostsscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/TestSupportedLockingHosts().(t *testingscip-go gomod github.com/golang/go/src go1.25.0 testing/.Tscip-go gomod github.com/golang/go/src go1.25.0 testing/T#) {
19 for desc, c := range map[string]*LockingSupportTestCasescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#{
20 "https with path prefix": {"https://github.com/ttaylorr/dotfiles.git/info/lfs", true},
21 "https with root": {"https://github.com/ttaylorr/dotfiles", true},
22 "http with path prefix": {"http://github.com/ttaylorr/dotfiles.git/info/lfs", false},
23 "http with root": {"http://github.com/ttaylorr/dotfiles", false},
24 "ssh with path prefix": {"ssh://github.com/ttaylorr/dotfiles.git/info/lfs", true},
25 "ssh with root": {"ssh://github.com/ttaylorr/dotfiles", true},
26 "ssh with user and path prefix": {"ssh://[email protected]/ttaylorr/dotfiles.git/info/lfs", true},
27 "ssh with user and root": {"ssh://[email protected]/ttaylorr/dotfiles", true},
28 } {
29 t.Runscip-go gomod github.com/golang/go/src go1.25.0 testing/T#Run().(desc, c.Assertscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/commands`/LockingSupportTestCase#Assert().)
30 }
31 }