Home
last modified time | relevance | path

Searched refs:testResponse (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/dports/net/kea/kea-2.0.1/src/lib/http/tests/
H A Dresponse_unittests.cc33 void testResponse(const HttpStatusCode& status_code, in testResponse() function in __anonf6d7101f0111::HttpResponseTest
86 testResponse(HttpStatusCode::OK, "OK"); in TEST_F()
87 testResponse(HttpStatusCode::CREATED, "Created"); in TEST_F()
88 testResponse(HttpStatusCode::ACCEPTED, "Accepted"); in TEST_F()
89 testResponse(HttpStatusCode::NO_CONTENT, "No Content"); in TEST_F()
93 testResponse(HttpStatusCode::NOT_MODIFIED, "Not Modified"); in TEST_F()
94 testResponse(HttpStatusCode::BAD_REQUEST, "Bad Request"); in TEST_F()
95 testResponse(HttpStatusCode::UNAUTHORIZED, "Unauthorized"); in TEST_F()
96 testResponse(HttpStatusCode::FORBIDDEN, "Forbidden"); in TEST_F()
97 testResponse(HttpStatusCode::NOT_FOUND, "Not Found"); in TEST_F()
[all …]
/dports/databases/redisdesktopmanager/RedisDesktopManager-2021.8/3rdparty/qredisclient/tests/unit_tests/
H A Dtest_responseparser.cpp10 QFETCH(QString, testResponse); in parsing()
13 parser.feedBuffer(testResponse.toUtf8()); in parsing()
89 QFETCH(QString, testResponse); in validation()
95 parser.feedBuffer(testResponse.toUtf8()); in validation()
146 QString testResponse = in multipleResponsesInTheBuffer() local
156 parser.feedBuffer(testResponse.toUtf8()); in multipleResponsesInTheBuffer()
166 QString testResponse = "+TEST123\r\n"; in hiredisBufferCleanup() local
167 testResponse = in hiredisBufferCleanup()
168 QString("%1+VALID_UNUSED_BUFFER").arg(testResponse.repeated(103)); in hiredisBufferCleanup()
173 parser.feedBuffer(testResponse.toUtf8()); in hiredisBufferCleanup()
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/Shopify/sarama/sarama-1.26.4/
H A Doffset_fetch_response_test.go25 testResponse(t, fmt.Sprintf("empty v%d", version), &response, emptyOffsetFetchResponse)
29 testResponse(t, "empty V2", &responseV2, emptyOffsetFetchResponseV2)
33 testResponse(t, fmt.Sprintf("empty v%d", version), &responseV3, emptyOffsetFetchResponseV3)
46 testResponse(t, fmt.Sprintf("Normal v%d", version), &response, nil)
52 testResponse(t, "normal V2", &responseV2, nil)
58 testResponse(t, fmt.Sprintf("Normal v%d", version), &responseV3, nil)
64 testResponse(t, "normal V5", &responseV5, nil)
H A Ddescribe_configs_response_test.go126 testResponse(t, "response with error", response, describeConfigsResponsePopulatedv0)
160 testResponse(t, "response with default", response, describeConfigsResponseWithDefaultv0)
196 testResponse(t, "response with error", response, describeConfigsResponsePopulatedv1)
238 testResponse(t, "response with error", response, describeConfigsResponseWithSynonymv1)
274 testResponse(t, "response with error", response, describeConfigsResponseWithDefaultv1)
H A Doffset_commit_response_test.go15 testResponse(t, "empty", &response, emptyOffsetCommitResponse)
24 testResponse(t, "normal", &response, nil)
37 testResponse(t, fmt.Sprintf("v%d with throttle time", version), &response, nil)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/Shopify/sarama/
H A Doffset_fetch_response_test.go28 testResponse(t, fmt.Sprintf("empty v%d", version), &response, emptyOffsetFetchResponse)
32 testResponse(t, "empty V2", &responseV2, emptyOffsetFetchResponseV2)
36 testResponse(t, fmt.Sprintf("empty v%d", version), &responseV3, emptyOffsetFetchResponseV3)
49 testResponse(t, fmt.Sprintf("Normal v%d", version), &response, nil)
55 testResponse(t, "normal V2", &responseV2, nil)
61 testResponse(t, fmt.Sprintf("Normal v%d", version), &responseV3, nil)
67 testResponse(t, "normal V5", &responseV5, nil)
H A Ddescribe_configs_response_test.go126 testResponse(t, "response with error", response, describeConfigsResponsePopulatedv0)
160 testResponse(t, "response with default", response, describeConfigsResponseWithDefaultv0)
196 testResponse(t, "response with error", response, describeConfigsResponsePopulatedv1)
238 testResponse(t, "response with error", response, describeConfigsResponseWithSynonymv1)
274 testResponse(t, "response with error", response, describeConfigsResponseWithDefaultv1)
H A Doffset_commit_response_test.go14 testResponse(t, "empty", &response, emptyOffsetCommitResponse)
23 testResponse(t, "normal", &response, nil)
36 testResponse(t, fmt.Sprintf("v%d with throttle time", version), &response, nil)
/dports/net/libmaia/libmaia-0.9.0/examples/client/
H A Dclient.cpp20 this, SLOT(testResponse(QVariant &)), in doClient()
24 this, SLOT(testResponse(QVariant &)), in doClient()
27 this, SLOT(testResponse(QVariant &)), in doClient()
31 this, SLOT(testResponse(QVariant &)), in doClient()
34 this, SLOT(testResponse(QVariant &)), in doClient()
46 void Client::testResponse(QVariant &arg) { in testResponse() function in Client
/dports/www/grails/grails-1.3.6/src/test/org/codehaus/groovy/grails/plugins/testing/
H A DGrailsMockHttpServletResponseTests.groovy26 def testResponse = new GrailsMockHttpServletResponse()
27 assertEquals "", testResponse.contentAsString
29 testResponse << "Some string or other"
30 assertEquals "Some string or other", testResponse.contentAsString
32 testResponse << "\nand another line"
33 assertEquals "Some string or other\nand another line", testResponse.contentAsString
/dports/www/grafana8/grafana-8.3.6/public/app/plugins/datasource/jaeger/
H A DresponseTransform.test.ts2 import { testResponse, testResponseDataFrameFields } from './testResponse';
7 const dataFrame = createTraceFrame(testResponse);
12 const dataFrame = createTraceFrame(testResponse);
14 expect(response).toMatchObject({ data: [testResponse] });
H A Ddatasource.test.ts17 testResponse,
49 setupFetchMock({ data: [testResponse] });
60 const mock = setupFetchMock({ data: [testResponse] });
117 const mock = setupFetchMock({ data: [testResponse] });
135 const mock = setupFetchMock({ data: [testResponse] });
149 const mock = setupFetchMock({ data: [testResponse] });
163 const mock = setupFetchMock({ data: [testResponse] });
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/registry/core/componentstatus/
H A Drest_test.go50 type testResponse struct { struct
56 func NewTestREST(resp testResponse) *REST { argument
82 r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
96 r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
115 r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
134 r := NewTestREST(testResponse{result: probe.Failure, data: ""})
149 r := NewTestREST(testResponse{result: probe.Unknown, data: "", err: fmt.Errorf("fizzbuzz error")})
164 r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
176 r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/sysutils/snmp_exporter/snmp_exporter-0.20.0/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/net-mgmt/bind_exporter/bind_exporter-0.4.0/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/go-kit/kit/sd/etcdv3/
H A Dinstancer_test.go18 type testResponse struct { struct
23 fakeResponse = testResponse{
41 responses: map[string]testResponse{"/foo": fakeResponse},
56 responses map[string]testResponse
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/concourse/dex/connector/github/
H A Dgithub_test.go18 type testResponse struct { struct
25 s := newTestServer(map[string]testResponse{
67 s := newTestServer(map[string]testResponse{
81 s := newTestServer(map[string]testResponse{
104 s := newTestServer(map[string]testResponse{
130 s := newTestServer(map[string]testResponse{
172 s := newTestServer(map[string]testResponse{
204 func newTestServer(responses map[string]testResponse) *httptest.Server { argument
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/tests/
H A Daugmented_rnns_tasks_test.cpp238 arma::field<arma::mat> testPredictor, testResponse; variable
239 task.Generate(testPredictor, testResponse, 8);
245 REQUIRE(SequencePrecision<arma::mat>(testResponse, predResponse) >= 0.99);
261 arma::field<arma::mat> testPredictor, testResponse; variable
262 task.Generate(testPredictor, testResponse, 8);
268 REQUIRE(SequencePrecision<arma::mat>(testResponse, predResponse) >= 0.99);
282 arma::field<arma::mat> testPredictor, testResponse; variable
283 task.Generate(testPredictor, testResponse, 8);
289 REQUIRE(SequencePrecision<arma::mat>(testResponse, predResponse) >= 0.99);
/dports/security/lego/lego-4.5.3/vendor/github.com/transip/gotransip/v6/test/
H A Drepository.go20 var testResponse APITest
23 if err := r.Client.Get(restRequest, &testResponse); err != nil {
27 if testResponse.Response != "pong" {
/dports/www/fabio/fabio-1.5.14/vendor/github.com/Shopify/sarama/sarama-1.19.0/
H A Dcreate_topics_response_test.go40 testResponse(t, "version 0", resp, createTopicsResponseV0)
46 testResponse(t, "version 1", resp, createTopicsResponseV1)
51 testResponse(t, "version 2", resp, createTopicsResponseV2)

12345678910>>...18