/dports/devel/gh/cli-2.4.0/pkg/cmd/run/view/ |
H A D | view_test.go | 163 httpStubs func(*httpmock.Registry) 185 httpmock.StringResponse(`{}`)) 224 httpmock.StringResponse(`{}`)) 227 httpmock.StringResponse(``)) 262 httpmock.StringResponse(``)) 296 httpmock.StringResponse(`{}`)) 299 httpmock.StringResponse(``)) 327 httpmock.StringResponse(`{}`)) 330 httpmock.StringResponse(``)) 365 httpmock.StringResponse(``)) [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/repo/create/ |
H A D | http_test.go | 17 stubs func(t *testing.T, r *httpmock.Registry) 35 httpmock.GraphQLMutation( 76 httpmock.GraphQLMutation( 115 httpmock.REST("GET", "users/snacks-inc"), 119 httpmock.GraphQLMutation( 162 httpmock.GraphQLMutation( 206 httpmock.GraphQLMutation( 246 httpmock.REST("GET", "users/myorg"), 250 httpmock.GraphQLMutation( 289 httpmock.REST("POST", "user/repos"), [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/auth/status/ |
H A D | status_test.go | 92 reg.Register(httpmock.REST("GET", "api/v3/"), httpmock.ScopesResponder("repo,read:org")) 107 reg.Register(httpmock.REST("GET", "api/v3/"), httpmock.ScopesResponder("repo")) 108 reg.Register(httpmock.REST("GET", ""), httpmock.ScopesResponder("repo,read:org")) 125 reg.Register(httpmock.REST("GET", ""), httpmock.ScopesResponder("repo,read:org")) 141 reg.Register(httpmock.REST("GET", "api/v3/"), httpmock.ScopesResponder("repo,read:org")) 142 reg.Register(httpmock.REST("GET", ""), httpmock.ScopesResponder("repo,read:org")) 160 reg.Register(httpmock.REST("GET", "api/v3/"), httpmock.ScopesResponder("repo,read:org")) 161 reg.Register(httpmock.REST("GET", ""), httpmock.ScopesResponder("repo,read:org")) 181 reg.Register(httpmock.REST("GET", "api/v3/"), httpmock.ScopesResponder("repo,read:org")) 182 reg.Register(httpmock.REST("GET", ""), httpmock.ScopesResponder("repo,read:org")) [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/workflow/disable/ |
H A D | disable_test.go | 96 httpStubs func(*httpmock.Registry) 109 httpStubs: func(reg *httpmock.Registry) { 121 httpmock.StatusStringResponse(204, "{}")) 134 httpStubs: func(reg *httpmock.Registry) { 159 httpStubs: func(reg *httpmock.Registry) { 189 httpStubs: func(reg *httpmock.Registry) { 192 httpmock.JSONResponse(shared.AWorkflow)) 204 httpStubs: func(reg *httpmock.Registry) { 218 httpStubs: func(reg *httpmock.Registry) { 243 httpStubs: func(reg *httpmock.Registry) { [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/workflow/enable/ |
H A D | enable_test.go | 96 httpStubs func(*httpmock.Registry) 109 httpStubs: func(reg *httpmock.Registry) { 121 httpmock.StatusStringResponse(204, "{}")) 134 httpStubs: func(reg *httpmock.Registry) { 150 httpmock.StatusStringResponse(204, "{}")) 160 httpStubs: func(reg *httpmock.Registry) { 189 httpStubs: func(reg *httpmock.Registry) { 207 httpStubs: func(reg *httpmock.Registry) { 221 httpStubs: func(reg *httpmock.Registry) { 246 httpStubs: func(reg *httpmock.Registry) { [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/workflow/view/ |
H A D | view_test.go | 191 httpStubs func(*httpmock.Registry) 222 httpmock.JSONResponse(aWorkflow), 237 httpmock.JSONResponse(aWorkflow), 253 httpmock.JSONResponse(aWorkflow), 274 httpmock.JSONResponse(aWorkflow), 289 httpmock.JSONResponse(aWorkflow), 308 httpmock.JSONResponse(aWorkflow), 327 httpmock.JSONResponse(aWorkflow), 348 httpmock.JSONResponse(aWorkflow), 366 httpmock.JSONResponse(aWorkflow), [all …]
|
/dports/devel/git-town/git-town-7.6.0/src/drivers/ |
H A D | github_test.go | 22 httpmock.Activate() 29 httpmock.DeactivateAndReset() 75 httpmock.RegisterResponder("GET", githubCurrOpen, httpmock.NewStringResponder(404, "")) 83 httpmock.RegisterResponder("GET", githubCurrOpen, httpmock.NewStringResponder(200, "[]")) 106 httpmock.RegisterResponder("GET", githubChildOpen, httpmock.NewStringResponder(404, "")) 119 httpmock.RegisterResponder("GET", githubChildOpen, httpmock.NewStringResponder(200, "[]")) 120 httpmock.RegisterResponder("GET", githubCurrOpen, httpmock.NewStringResponder(404, "")) 133 httpmock.RegisterResponder("GET", githubChildOpen, httpmock.NewStringResponder(200, "[]")) 134 httpmock.RegisterResponder("GET", githubCurrOpen, httpmock.NewStringResponder(200, "[]")) 150 httpmock.RegisterResponder("GET", githubChildOpen, httpmock.NewStringResponder(200, "[]")) [all …]
|
H A D | gitea_test.go | 9 httpmock "gopkg.in/jarcoal/httpmock.v1" packageName 21 httpmock.Activate() 28 httpmock.DeactivateAndReset() 74 httpmock.RegisterResponder("GET", giteaCurrOpen, httpmock.NewStringResponder(404, "")) 82 httpmock.RegisterResponder("GET", giteaCurrOpen, httpmock.NewStringResponder(200, "[]")) 105 httpmock.RegisterResponder("GET", giteaCurrOpen, httpmock.NewStringResponder(404, "")) 119 httpmock.RegisterResponder("GET", giteaCurrOpen, httpmock.NewStringResponder(200, "[]")) 120 httpmock.RegisterResponder("GET", giteaPR1Merge, httpmock.NewStringResponder(404, "")) 134 httpmock.RegisterResponder("GET", giteaCurrOpen, httpmock.NewStringResponder(200, "[]")) 153 …httpmock.RegisterResponder("GET", giteaVersion, httpmock.NewStringResponder(200, `{"version": "1.1… [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/repo/sync/ |
H A D | sync_test.go | 109 httpStubs func(*httpmock.Registry) 119 httpStubs: func(reg *httpmock.Registry) { 270 httpStubs: func(reg *httpmock.Registry) { 286 httpStubs: func(reg *httpmock.Registry) { 301 httpmock.StringResponse(`{}`)) 311 httpStubs: func(reg *httpmock.Registry) { 328 httpStubs: func(reg *httpmock.Registry) { 347 httpStubs: func(reg *httpmock.Registry) { 361 httpStubs: func(reg *httpmock.Registry) { 390 httpmock.StringResponse(`{}`)) [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/issue/list/ |
H A D | list_test.go | 62 http := &httpmock.Registry{} 83 http := &httpmock.Registry{} 111 http := &httpmock.Registry{} 116 httpmock.GraphQLQuery(` 130 httpmock.StringResponse(` 150 http := &httpmock.Registry{} 161 http := &httpmock.Registry{} 166 httpmock.StringResponse(` 184 reg := &httpmock.Registry{} 242 httpmock.GraphQLQuery(` [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/run/watch/ |
H A D | watch_test.go | 106 httpmock.JSONResponse(shared.RunsPayload{ 114 httpmock.JSONResponse(inProgressRun)) 116 httpmock.REST("GET", "runs/2/jobs"), 121 httpmock.JSONResponse(completedRun)) 123 httpmock.REST("GET", "runs/2/jobs"), 146 httpmock.JSONResponse(inProgressRun)) 148 httpmock.REST("GET", "runs/2/jobs"), 159 httpmock.JSONResponse(completedRun)) 161 httpmock.REST("GET", "runs/2/jobs"), 171 httpStubs func(*httpmock.Registry) [all …]
|
/dports/security/lego/lego-4.5.3/vendor/github.com/jarcoal/httpmock/ |
H A D | README.md | 1 …httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=v1)](https://travis-ci… 68 httpmock.Activate() 83 httpmock.GetTotalCallCount() 96 httpmock.Activate() 170 "github.com/jarcoal/httpmock" 175 httpmock.Activate() 180 httpmock.Reset() 184 httpmock.DeactivateAndReset() 192 "github.com/jarcoal/httpmock" 211 "github.com/jarcoal/httpmock" [all …]
|
/dports/dns/rdap/rdap-e2ea151/vendor/github.com/jarcoal/httpmock/ |
H A D | README.md | 1 …httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=v1)](https://travis-ci… 68 httpmock.Activate() 83 httpmock.GetTotalCallCount() 96 httpmock.Activate() 170 "github.com/jarcoal/httpmock" 175 httpmock.Activate() 180 httpmock.Reset() 184 httpmock.DeactivateAndReset() 192 "github.com/jarcoal/httpmock" 211 "github.com/jarcoal/httpmock" [all …]
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/jarcoal/httpmock/ |
H A D | README.md | 1 …httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=v1)](https://travis-ci… 68 httpmock.Activate() 83 httpmock.GetTotalCallCount() 96 httpmock.Activate() 170 "github.com/jarcoal/httpmock" 175 httpmock.Activate() 180 httpmock.Reset() 184 httpmock.DeactivateAndReset() 192 "github.com/jarcoal/httpmock" 211 "github.com/jarcoal/httpmock" [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/issue/create/ |
H A D | create_test.go | 343 httpmock.StringResponse(` 376 httpmock.StringResponse(` 383 httpmock.StringResponse(` 458 httpmock.StringResponse(` 466 httpmock.StringResponse(` 522 httpmock.StringResponse(` 572 httpmock.StringResponse(` 583 httpmock.StringResponse(` 594 httpmock.StringResponse(` 605 httpmock.StringResponse(` [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/pr/shared/ |
H A D | finder_test.go | 28 httpStub func(*httpmock.Registry) 42 httpStub: func(r *httpmock.Registry) { 93 httpStub: func(r *httpmock.Registry) { 110 httpStub: func(r *httpmock.Registry) { 129 httpStub: func(r *httpmock.Registry) { 166 httpStub: func(r *httpmock.Registry) { 208 httpStub: func(r *httpmock.Registry) { 242 httpStub: func(r *httpmock.Registry) { 300 httpStub: func(r *httpmock.Registry) { 338 httpStub: func(r *httpmock.Registry) { [all …]
|
/dports/devel/git-town/git-town-7.6.0/vendor/gopkg.in/jarcoal/httpmock.v1/ |
H A D | README.md | 1 # httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=master)](https://trav… 9 go get gopkg.in/jarcoal/httpmock.v1 18 httpmock.Activate() 19 defer httpmock.DeactivateAndReset() 25 httpmock.GetTotalCallCount() 38 httpmock.Activate() 83 "github.com/jarcoal/httpmock" 88 httpmock.Activate() 93 httpmock.Reset() 97 httpmock.DeactivateAndReset() [all …]
|
/dports/devel/git-town/git-town-7.6.0/vendor/gopkg.in/jarcoal/httpmock.v1/httpmock-61bcb58a0752/ |
H A D | README.md | 1 # httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=master)](https://trav… 9 go get gopkg.in/jarcoal/httpmock.v1 18 httpmock.Activate() 19 defer httpmock.DeactivateAndReset() 25 httpmock.GetTotalCallCount() 38 httpmock.Activate() 83 "github.com/jarcoal/httpmock" 88 httpmock.Activate() 93 httpmock.Reset() 97 httpmock.DeactivateAndReset() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/okta/okta-sdk-golang/v2/tests/unit/ |
H A D | retry_logic_test.go | 32 httpmock.Activate() 33 defer httpmock.DeactivateAndReset() 48 httpmock.GetTotalCallCount() 49 info := httpmock.GetCallCountInfo() 54 httpmock.Activate() 55 defer httpmock.DeactivateAndReset() 69 httpmock.GetTotalCallCount() 77 httpmock.Activate() 94 httpmock.GetTotalCallCount() 101 httpmock.Activate() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/okta/okta-sdk-golang/tests/unit/ |
H A D | retry_logic_test.go | 34 httpmock.Activate() 35 defer httpmock.DeactivateAndReset() 50 httpmock.GetTotalCallCount() 51 info := httpmock.GetCallCountInfo() 56 httpmock.Activate() 57 defer httpmock.DeactivateAndReset() 71 httpmock.GetTotalCallCount() 79 httpmock.Activate() 96 httpmock.GetTotalCallCount() 103 httpmock.Activate() [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/run/cancel/ |
H A D | cancel_test.go | 89 httpStubs func(*httpmock.Registry) 102 httpStubs: func(reg *httpmock.Registry) { 105 httpmock.JSONResponse(inProgressRun)) 119 httpStubs: func(reg *httpmock.Registry) { 122 httpmock.StatusStringResponse(404, "")) 132 httpStubs: func(reg *httpmock.Registry) { 135 httpmock.JSONResponse(completedRun)) 138 httpmock.StatusStringResponse(409, ""), 149 httpStubs: func(reg *httpmock.Registry) { 164 httpStubs: func(reg *httpmock.Registry) { [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/run/list/ |
H A D | list_test.go | 96 stubs func(*httpmock.Registry) 104 stubs: func(reg *httpmock.Registry) { 107 httpmock.JSONResponse(shared.RunsPayload{ 120 stubs: func(reg *httpmock.Registry) { 123 httpmock.JSONResponse(shared.RunsPayload{ 134 stubs: func(reg *httpmock.Registry) { 143 httpmock.JSONResponse(shared.RunsPayload{ 160 stubs: func(reg *httpmock.Registry) { 174 stubs: func(reg *httpmock.Registry) { 189 stubs: func(reg *httpmock.Registry) { [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/run/rerun/ |
H A D | rerun_test.go | 96 httpStubs func(*httpmock.Registry) 110 httpStubs: func(reg *httpmock.Registry) { 113 httpmock.JSONResponse(shared.FailedRun)) 116 httpmock.StringResponse("{}")) 126 httpStubs: func(reg *httpmock.Registry) { 129 httpmock.JSONResponse(shared.RunsPayload{ 134 httpmock.JSONResponse(shared.FailedRun)) 137 httpmock.StringResponse("{}")) 150 httpStubs: func(reg *httpmock.Registry) { 168 httpStubs: func(reg *httpmock.Registry) { [all …]
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/issue/shared/ |
H A D | lookup_test.go | 20 httpStub func(*httpmock.Registry) 34 httpStub: func(r *httpmock.Registry) { 36 httpmock.GraphQL(`query IssueByNumber\b`), 53 httpStub: func(r *httpmock.Registry) { 55 httpmock.GraphQL(`query IssueByNumber\b`), 70 httpStub: func(r *httpmock.Registry) { 87 httpStub: func(r *httpmock.Registry) { 90 httpmock.StringResponse(` 139 httpStub: func(r *httpmock.Registry) { 142 httpmock.StringResponse(` [all …]
|
/dports/sysutils/go-wtf/wtf-0.21.0/vendor/github.com/darkSasori/todoist/todoist-ec6b38b374ab/ |
H A D | projects_test.go | 8 httpmock "gopkg.in/jarcoal/httpmock.v1" packageName 12 httpmock.Activate() 13 defer httpmock.DeactivateAndReset() 17 httpmock.RegisterResponder("POST", todoistURL+"projects", 23 return httpmock.NewStringResponse(400, ""), nil 30 return httpmock.NewJsonResponse(201, project) 32 httpmock.RegisterResponder("GET", todoistURL+"projects", 34 return httpmock.NewJsonResponse(200, listProjects) 38 return httpmock.NewJsonResponse(200, listProjects[0]) 46 return httpmock.NewStringResponse(400, ""), nil [all …]
|