Home | History | Annotate | Download | only in test

Lines Matching refs:resp

199       resp = @queue.pop
200 assert('payload type is wrong') { :COMPRESSABLE == resp.payload.type }
202 resp_size == resp.payload.body.length
262 resp = @stub.empty_call(Empty.new)
263 assert('empty_unary: invalid response') { resp.is_a?(Empty) }
289 resp = @stub.unary_call(req)
291 resp.payload.body.length == wanted_response_size
306 resp = @stub.unary_call(req, metadata: stub_options)
308 resp.payload.body.length == wanted_response_size
320 resp = perform_large_unary(fill_username: true,
322 assert("#{__callee__}: bad username") { wanted_email == resp.username }
324 @args.oauth_scope.include?(resp.oauth_scope)
331 resp = perform_large_unary(fill_username: true)
332 assert("#{__callee__}: bad username") { wanted_email == resp.username }
336 resp = perform_large_unary(fill_username: true,
339 @args.default_service_account == resp.username
344 resp = perform_large_unary(fill_username: true,
348 assert("#{__callee__}: bad username") { wanted_email == resp.username }
350 @args.oauth_scope.include?(resp.oauth_scope)
362 resp = perform_large_unary(fill_username: true,
367 assert("#{__callee__}: bad username") { wanted_email == resp.username }
369 @args.oauth_scope.include?(resp.oauth_scope)
380 resp = @stub.streaming_input_call(reqs)
382 wanted_aggregate_size == resp.aggregated_payload_size
421 resp = call_op.execute
426 wanted_aggregate_size == resp.aggregated_payload_size
504 resp = @stub.unimplemented_call(Empty.new)
515 resp = @stub.unimplemented_call(Empty.new)
539 resp = @stub.unary_call(req)
562 resp = @stub.full_duplex_call([duplex_req])
563 resp.each { |r| }
627 resp = duplex_op.execute
628 resp.each { |r| } # ensures that the server sends trailing data
668 resp = @stub.unary_call(req, **kw)
670 :COMPRESSABLE == resp.payload.type
673 wanted_response_size == resp.payload.body.length
676 nulls(wanted_response_size) == resp.payload.body
678 resp