Home
last modified time | relevance | path

Searched refs:RespondWith (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/dports/net/bosh-cli/bosh-cli-5.5.0/director/
H A Dtask_client_request_test.go73 ghttp.RespondWith(http.StatusOK, ""),
127 ghttp.RespondWith(http.StatusOK, ""),
180 ghttp.RespondWith(http.StatusOK, ""),
226 ghttp.RespondWith(http.StatusOK, ""),
268 ghttp.RespondWith(http.StatusOK, ""),
277 ghttp.RespondWith(http.StatusOK, ""),
286 ghttp.RespondWith(http.StatusOK, ""),
295 ghttp.RespondWith(http.StatusOK, ""),
313 ghttp.RespondWith(http.StatusOK, ""),
322 ghttp.RespondWith(http.StatusOK, ""),
[all …]
H A Dclient_request_test.go78 ghttp.RespondWith(code, `["val"]`),
91 ghttp.RespondWith(code, ""),
128 ghttp.RespondWith(http.StatusOK, `-`),
168 ghttp.RespondWith(500, "body"),
204 ghttp.RespondWith(500, "body"),
294 ghttp.RespondWith(code, `["val"]`),
308 ghttp.RespondWith(code, ""),
494 ghttp.RespondWith(code, `["val"]`),
508 ghttp.RespondWith(code, ""),
619 ghttp.RespondWith(code, `["val"]`),
[all …]
H A Dconfigs_test.go33 ghttp.RespondWith(http.StatusOK, `[{"content": "first"}]`),
48 ghttp.RespondWith(http.StatusOK, `[]`),
91 ghttp.RespondWith(http.StatusNotFound, ""),
183 ghttp.RespondWith(http.StatusOK, []byte("{}")),
198 ghttp.RespondWith(http.StatusOK, []byte("{}")),
249 ghttp.RespondWith(http.StatusOK, []byte(`abc\ndef\n`)),
279 ghttp.RespondWith(http.StatusPreconditionFailed, []byte(`"123"`)),
298 ghttp.RespondWith(http.StatusCreated, nil),
314 ghttp.RespondWith(http.StatusNotFound, nil),
376 ghttp.RespondWith(http.StatusOK, `{"diff":[], "from":{"id":""}}`),
[all …]
H A Dfactory_test.go121 ghttp.RespondWith(http.StatusOK, `{}`),
164 ghttp.RespondWith(http.StatusOK, ``),
169 ghttp.RespondWith(http.StatusOK, ""),
193 ghttp.RespondWith(http.StatusOK, `[]`),
237 ghttp.RespondWith(http.StatusOK, `{}`),
271 ghttp.RespondWith(http.StatusOK, `{}`),
293 ghttp.RespondWith(http.StatusGatewayTimeout, nil),
297 ghttp.RespondWith(http.StatusGatewayTimeout, nil),
301 ghttp.RespondWith(http.StatusOK, "{}"),
324 ghttp.RespondWith(http.StatusGatewayTimeout, nil),
[all …]
H A Devents_test.go33 ghttp.RespondWith(http.StatusOK, `[
93 ghttp.RespondWith(http.StatusOK, `[
121 ghttp.RespondWith(http.StatusOK, `[]`),
134 ghttp.RespondWith(http.StatusOK, `[]`),
147 ghttp.RespondWith(http.StatusOK, `[]`),
160 ghttp.RespondWith(http.StatusOK, `[]`),
174 ghttp.RespondWith(http.StatusOK, `[]`),
187 ghttp.RespondWith(http.StatusOK, `[]`),
200 ghttp.RespondWith(http.StatusOK, `[]`),
276 ghttp.RespondWith(http.StatusOK, ``),
[all …]
H A Dtask_helpers_test.go16 ghttp.RespondWith(http.StatusFound, nil, redirectHeader),
21 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
26 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
31 ghttp.RespondWith(http.StatusOK, ``),
36 ghttp.RespondWith(http.StatusOK, result),
45 ghttp.RespondWith(http.StatusBadRequest, ""),
H A Dreleases_test.go37 ghttp.RespondWith(http.StatusOK, `[
95 ghttp.RespondWith(http.StatusOK, `[{"name":"name","release_versions":[{"version":"-"}]}]`),
117 ghttp.RespondWith(http.StatusOK, ""),
167 ghttp.RespondWith(http.StatusOK, `[
191 ghttp.RespondWith(http.StatusOK, `{
216 ghttp.RespondWith(http.StatusOK, `{
245 ghttp.RespondWith(http.StatusOK, ""),
309 ghttp.RespondWith(http.StatusOK, ""),
384 ghttp.RespondWith(http.StatusOK, ""),
487 ghttp.RespondWith(http.StatusOK, "[]"),
[all …]
H A Dtasks_test.go36 ghttp.RespondWith(http.StatusOK, `[
89 ghttp.RespondWith(http.StatusOK, "[]"),
123 ghttp.RespondWith(http.StatusOK, ``),
140 ghttp.RespondWith(http.StatusOK, `[
227 ghttp.RespondWith(http.StatusOK, ``),
244 ghttp.RespondWith(http.StatusOK, `{
322 ghttp.RespondWith(http.StatusOK, `[{
349 ghttp.RespondWith(204, ``),
363 ghttp.RespondWith(204, ``),
377 ghttp.RespondWith(204, ``),
[all …]
H A Dorphan_disks_test.go34 ghttp.RespondWith(http.StatusOK, `[
97 ghttp.RespondWith(http.StatusOK, ``),
147 ghttp.RespondWith(http.StatusBadRequest, ``),
152 ghttp.RespondWith(http.StatusOK, `[]`),
163 ghttp.RespondWith(http.StatusBadRequest, ``),
168 ghttp.RespondWith(http.StatusOK, ``),
185 ghttp.RespondWith(http.StatusOK, `[
201 ghttp.RespondWith(http.StatusOK, ``),
206 ghttp.RespondWith(http.StatusOK, `[
246 ghttp.RespondWith(http.StatusOK, ``),
H A Dstemcells_test.go37 ghttp.RespondWith(http.StatusOK, `[
100 ghttp.RespondWith(http.StatusOK, ""),
146 ghttp.RespondWith(http.StatusOK, `[
171 ghttp.RespondWith(http.StatusOK, ""),
189 ghttp.RespondWith(http.StatusOK, `{"needed": true}`),
208 ghttp.RespondWith(http.StatusOK, `{"needed": false}`),
226 ghttp.RespondWith(http.StatusNotFound, ``),
308 ghttp.RespondWith(http.StatusOK, ""),
383 ghttp.RespondWith(http.StatusOK, ""),
448 ghttp.RespondWith(http.StatusOK, "[]"),
[all …]
/dports/misc/concourse/concourse-6.7.2/vendor/code.cloudfoundry.org/credhub-cli/commands/
H A Dget_test.go63 RespondWith(http.StatusOK, responseJson),
82 RespondWith(http.StatusOK, responseJson),
101 RespondWith(http.StatusOK, responseJson),
124 RespondWith(http.StatusOK, responseJson),
142 RespondWith(http.StatusOK, responseJson),
163 RespondWith(http.StatusOK, responseJson),
180 RespondWith(http.StatusOK, responseJson),
199 RespondWith(http.StatusOK, responseJson),
229 RespondWith(http.StatusOK, responseJson),
384 RespondWith(http.StatusOK, responseJson),
[all …]
H A Dclient_credentials_auth_test.go25 RespondWith(http.StatusOK, `{
34 RespondWith(http.StatusOK, responseJson),
41 RespondWith(http.StatusOK, `{
78 RespondWith(http.StatusOK, `{
88 RespondWith(http.StatusUnauthorized, `{"error": "access_token_expired"}`),
93 RespondWith(http.StatusOK, responseJson),
96 RespondWith(http.StatusBadRequest, `{"error": "Invalid access token"}`)
103 RespondWith(http.StatusOK, `{
H A Dversion_test.go20 RespondWith(http.StatusOK, `{"data": []}`),
29 RespondWith(http.StatusOK, responseJson),
66 RespondWith(http.StatusOK, infoResponseJson),
70 RespondWith(http.StatusOK, versionResponseJson),
87 RespondWith(http.StatusNotFound, ""),
107 RespondWith(http.StatusOK, responseJson),
126 RespondWith(http.StatusOK, responseJson),
130 RespondWith(http.StatusUnauthorized, ""),
H A Dcurl_test.go61 RespondWith(http.StatusOK, responseJson),
93 RespondWith(http.StatusOK, responseJson),
130 RespondWith(http.StatusOK, responseJson),
159 RespondWith(http.StatusBadRequest, responseJson),
195 RespondWith(http.StatusOK, responseJson),
229 RespondWith(http.StatusOK, responseJson),
262 RespondWith(http.StatusOK, responseJson),
287RespondWith(http.StatusOK, responseJson, http.Header{"Test1": []string{"test1"}, "Test2": []string…
H A Dlogin_test.go30 RespondWith(http.StatusOK, `{
112 RespondWith(http.StatusOK, `{
175 RespondWith(http.StatusOK, `{
284 RespondWith(http.StatusOK, `{
293 RespondWith(http.StatusOK, `{
343 RespondWith(http.StatusOK, `{
382 RespondWith(http.StatusOK, `{
450 RespondWith(http.StatusOK, `{
567 RespondWith(http.StatusOK, `{
637 RespondWith(http.StatusOK, ""),
[all …]
/dports/net/bosh-cli/bosh-cli-5.5.0/integration/
H A Dtask_test.go50 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"processing"}`),
56 ghttp.RespondWith(http.StatusOK, `{"user_authentication":{"type":"basic","options":{}}}`),
62 ghttp.RespondWith(http.StatusRequestedRangeNotSatisfiable, "Byte range unsatisfiable\n"),
67 ghttp.RespondWith(http.StatusOK, `{}`+"\n"),
72 ghttp.RespondWith(http.StatusOK, `{"time":1503082451,"stage":"event-one`),
87 ghttp.RespondWith(http.StatusOK, ""),
91 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
95 …ghttp.RespondWith(http.StatusOK, `{"time":1503082451,"stage":"event-two","tags":[],"total":1,"task…
H A Dupload_release_test.go135 ghttp.RespondWith(http.StatusOK, "[]"),
139 ghttp.RespondWith(http.StatusOK, "[]"),
143 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
156 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
160 ghttp.RespondWith(http.StatusOK, ``),
164 ghttp.RespondWith(http.StatusOK, ``),
250 ghttp.RespondWith(http.StatusOK, "[]"),
254 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
267 ghttp.RespondWith(http.StatusOK, `{"id":123, "state":"done"}`),
271 ghttp.RespondWith(http.StatusOK, ``),
[all …]
/dports/net/bosh-cli/bosh-cli-5.5.0/cmd/
H A Dsession_test.go60 ghttp.RespondWith(http.StatusOK, fmt.Sprintf(
70 ghttp.RespondWith(http.StatusOK, `{"token_type":"bearer","access_token":"access-token"}`),
96 ghttp.RespondWith(http.StatusOK, fmt.Sprintf(
148 ghttp.RespondWith(http.StatusOK, fmt.Sprintf(
154 ghttp.RespondWith(http.StatusOK, "[]"),
184 ghttp.RespondWith(http.StatusOK, fmt.Sprintf(
200 ghttp.RespondWith(http.StatusOK, "[]"),
229 ghttp.RespondWith(http.StatusOK, fmt.Sprintf(
245 ghttp.RespondWith(http.StatusOK, "[]"),
283 ghttp.RespondWith(http.StatusOK, "{}"),
[all …]
/dports/net/bosh-cli/bosh-cli-5.5.0/uaa/
H A Duaa_test.go34 ghttp.RespondWith(http.StatusOK, `{
56 ghttp.RespondWith(http.StatusBadRequest, ``),
69 ghttp.RespondWith(http.StatusOK, ``),
90 ghttp.RespondWith(http.StatusOK, `{
107 ghttp.RespondWith(http.StatusBadRequest, ``),
120 ghttp.RespondWith(http.StatusOK, ``),
141 ghttp.RespondWith(http.StatusOK, `{
168 ghttp.RespondWith(http.StatusBadRequest, ``),
181 ghttp.RespondWith(http.StatusOK, ``),
/dports/net/concourse-fly/concourse-6.7.1/tsa/cmd/tsa/
H A Ddelete_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),
H A Dland_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),
H A Dretire_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),
/dports/misc/concourse/concourse-6.7.2/tsa/cmd/tsa/
H A Ddelete_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),
H A Dland_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),
H A Dretire_test.go33 ghttp.RespondWith(200, nil, nil),
47 ghttp.RespondWith(404, nil, nil),
62 ghttp.RespondWith(500, nil, nil),
83 ghttp.RespondWith(200, nil, nil),
109 ghttp.RespondWith(200, nil, nil),
129 ghttp.RespondWith(200, nil, nil),
149 ghttp.RespondWith(200, nil, nil),

12345678910>>...14