| 1 | package httpscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/ |
| 2 | |
| 3 | import ( |
| 4 | "testingscip-go gomod github.com/golang/go/src go1.25.0 testing/" |
| 5 | |
| 6 | fixturesscip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/ "github.com/go-git/go-git-fixtures/v6scip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/" |
| 7 | "github.com/stretchr/testify/suitescip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/" |
| 8 | |
| 9 | "github.com/go-git/go-git/v6/internal/transport/testscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/" |
| 10 | "github.com/go-git/go-git/v6/storage/filesystemscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/filesystem`/" |
| 11 | "github.com/go-git/go-git/v6/storage/memoryscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/memory`/" |
| 12 | ) |
| 13 | |
| 14 | func TestReceivePackSuitescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/TestReceivePackSuite().(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 | t.Parallelscip-go gomod github.com/golang/go/src go1.25.0 testing/T#Parallel().() |
| 16 | suitescip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/.Runscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/Run().(t, new(receivePackSuitescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/receivePackSuite#)) |
| 17 | } |
| 18 | |
| 19 | type receivePackSuitescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/receivePackSuite# struct { |
| 20 | testscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/.ReceivePackSuitescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/receivePackSuite#ReceivePackSuite. |
| 21 | } |
| 22 | |
| 23 | func (s *receivePackSuitescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/receivePackSuite#) SetupTestscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/receivePackSuite#SetupTest().() { |
| 24 | base, addr := setupSmartServerscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/setupSmartServer().(s.Tscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/Suite#T().()) |
| 25 | |
| 26 | basicFS := prepareReposcip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/prepareRepo().(s.Tscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/Suite#T().(), fixturesscip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/.Basicscip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/Basic().().Onescip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/Fixtures#One().(), base, "basic.git") |
| 27 | emptyFS := prepareReposcip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/prepareRepo().(s.Tscip-go gomod github.com/stretchr/testify v1.11.1 `github.com/stretchr/testify/suite`/Suite#T().(), fixturesscip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/.ByTagscip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/ByTag().("empty").Onescip-go gomod github.com/go-git/go-git-fixtures/v6 v6.0.0-alpha.1 `github.com/go-git/go-git-fixtures/v6`/Fixtures#One().(), base, "empty.git") |
| 28 | |
| 29 | s.Endpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#Endpoint. = httpEndpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/httpEndpoint().(addr, "basic.git") |
| 30 | s.EmptyEndpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#EmptyEndpoint. = httpEndpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/httpEndpoint().(addr, "empty.git") |
| 31 | s.NonExistentEndpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#NonExistentEndpoint. = httpEndpointscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/httpEndpoint().(addr, "non-existent.git") |
| 32 | |
| 33 | s.Storerscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#Storer. = filesystemscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/filesystem`/.NewStoragescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/filesystem`/NewStorage().(basicFS, nil) |
| 34 | s.EmptyStorerscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#EmptyStorer. = filesystemscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/filesystem`/.NewStoragescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/filesystem`/NewStorage().(emptyFS, nil) |
| 35 | s.NonExistentStorerscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#NonExistentStorer. = memoryscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/memory`/.NewStoragescip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/storage/memory`/NewStorage().() |
| 36 | |
| 37 | s.Transportscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/internal/transport/test`/ReceivePackSuite#Transport. = NewTransportscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/NewTransport().(Optionsscip-go gomod github.com/go-git/go-git/v6 . `github.com/go-git/go-git/v6/plumbing/transport/http`/Options#{}) |
| 38 | } |