Home
last modified time | relevance | path

Searched refs:raise_error (Results 1 – 25 of 48) sorted by relevance

12

/external/grpc-grpc/src/ruby/spec/
Dserver_spec.rb34 expect(&blk).to_not raise_error
41 expect { s.start }.to raise_error(RuntimeError)
52 expect(&blk).to_not raise_error
62 expect(&blk).to_not raise_error
64 expect(&blk).to_not raise_error
80 expect(&blk).to_not raise_error
93 expect(&blk).to_not raise_error
95 expect(&blk).to_not raise_error
108 expect(&blk).to_not raise_error
118 expect(&blk).to raise_error(RuntimeError)
[all …]
Dchannel_spec.rb58 expect(&blk).not_to raise_error
63 expect(&blk).to raise_error TypeError
65 expect(&blk).to raise_error TypeError
70 expect(&blk).to raise_error TypeError
72 expect(&blk).to raise_error TypeError
77 expect(&blk).to_not raise_error
82 expect(&blk).to_not raise_error
87 expect(&blk).to_not raise_error
92 expect(&blk).to_not raise_error
97 expect(&blk).to_not raise_error
[all …]
Dcall_spec.rb95 expect { call.status = sts }.not_to raise_error
102 expect { call.status = bad_sts }.to raise_error(TypeError)
107 expect { call.status = nil }.not_to raise_error
115 expect { call.metadata = md }.not_to raise_error
122 expect { call.metadata = bad_md }.to raise_error(TypeError)
127 expect { call.metadata = nil }.not_to raise_error
136 expect { call.set_credentials! creds }.not_to raise_error
143 expect { call.cancel }.not_to raise_error
149 expect { call.cancel }.not_to raise_error
158 end.not_to raise_error
[all …]
Dchannel_credentials_spec.rb30 expect(&blk).not_to raise_error
35 expect { ChannelCredentials.new(*certs) }.not_to raise_error
40 expect { ChannelCredentials.new(root_cert) }.not_to raise_error
46 expect(&blk).not_to raise_error
51 expect(&blk).not_to raise_error
61 expect { channel_creds.compose call_creds }.not_to raise_error
72 end.not_to raise_error
79 expect { channel_creds1.compose channel_creds2 }.to raise_error(TypeError)
Dserver_credentials_spec.rb35 expect { Creds.new(*certs) }.not_to raise_error
43 expect(&blk).to raise_error
51 expect(&blk).to raise_error
61 expect(&blk).to raise_error
70 expect(&blk).to raise_error
76 expect(&blk).to_not raise_error
Dcall_credentials_spec.rb24 expect { CallCredentials.new(auth_proc) }.not_to raise_error
32 expect { creds1.compose creds2 }.not_to raise_error
39 expect { creds1.compose(creds2, creds3) }.not_to raise_error
Dcompression_options_spec.rb28 expect { GRPC::Core::CompressionOptions.new.to_s }.to_not raise_error
106 expect { blk.call }.to raise_error
111 expect { blk.call }.to raise_error
145 expect { blk.call }.to raise_error
/external/grpc-grpc/src/ruby/spec/generic/
Drpc_server_pool_spec.rb24 expect { Pool.new(0) }.to raise_error
25 expect { Pool.new(-1) }.to raise_error
26 expect { Pool.new(Object.new) }.to raise_error
30 expect { Pool.new(1) }.not_to raise_error
73 expect { p.schedule(&job) }.to_not raise_error
90 expect { p.stop }.not_to raise_error
110 expect { p.stop }.not_to raise_error
Dservice_spec.rb47 expect(&blk).to_not raise_error
133 expect(&blk).to raise_error ArgumentError
141 expect(&blk).to raise_error ArgumentError
152 expect(&blk).to raise_error ArgumentError
169 expect(&blk).to raise_error ArgumentError
185 expect(&blk).to raise_error ArgumentError
196 expect(&blk).not_to raise_error
208 expect(&blk).not_to raise_error
241 expect(&blk).not_to raise_error
Dclient_stub_spec.rb49 end.to raise_error(GRPC::Core::CallError)
51 expect { op_view.start_call }.to raise_error(RuntimeError)
61 end.to_not raise_error
117 expect(&blk).not_to raise_error
128 expect(&blk).not_to raise_error
139 expect(&blk).to raise_error
147 expect(&blk).to raise_error
162 expect(&blk).to_not raise_error
235 expect(&blk).to raise_error(GRPC::BadStatus)
247 expect { @server.request_call }.to raise_error(GRPC::Core::CallError)
[all …]
Drpc_desc_spec.rb67 expect(&blk).to_not raise_error
125 expect(&blk).to_not raise_error
218 expect(&blk).to raise_error
226 expect(&blk).to_not raise_error
234 expect(&blk).to raise_error
242 expect(&blk).to_not raise_error
250 expect(&blk).to raise_error
258 expect(&blk).to_not raise_error
266 expect(&blk).to raise_error
274 expect(&blk).to_not raise_error
[all …]
Drpc_server_spec.rb177 expect(&blk).not_to raise_error
188 expect(&blk).to raise_error
238 expect { r.run }.to raise_error(RuntimeError)
268 expect { @srv.handle(EchoService) }.to raise_error
279 expect { @srv.handle(EchoService) }.to raise_error
283 expect { @srv.handle(Object) }.to raise_error
287 expect { @srv.handle(EmptyService) }.to raise_error
292 expect { r.handle(EchoService) }.to raise_error
322 expect(&blk).to raise_error GRPC::BadStatus
337 expect(&blk).to raise_error do |error|
[all …]
Dactive_call_spec.rb261 expect { blk.call }.to_not raise_error
315 expect { blk.call }.to raise_error
352 expect { blk.call }.to_not raise_error
509 expect { e.next }.to raise_error(StopIteration)
523 end.to_not raise_error
528 expect { client_call.receive_and_check_status }.to_not raise_error
544 end.to_not raise_error
545 expect { client_call.receive_and_check_status }.to_not raise_error
563 end.to_not raise_error
/external/autotest/server/cros/servo/
Dchrome_cr50.py428 self.wait_for_ccd_disable(timeout, raise_error=False)
559 def wait_for_stable_ccd_state(self, state, timeout, raise_error): argument
579 if raise_error:
589 if raise_error:
596 def wait_for_ccd_disable(self, timeout=60, raise_error=True): argument
598 self.wait_for_stable_ccd_state('off', timeout, raise_error)
602 def wait_for_ccd_enable(self, timeout=60, raise_error=False): argument
604 self.wait_for_stable_ccd_state('on', timeout, raise_error)
608 def ccd_disable(self, raise_error=True): argument
612 self.wait_for_ccd_disable(raise_error=raise_error)
[all …]
/external/antlr/runtime/Ruby/test/functional/lexer/
Dbasic.rb39 }.should raise_error( ANTLR3::Error::MismatchedToken ) do |e|
76 b.should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
117 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
171 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
219 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
229 should raise_error( ANTLR3::Error::EarlyExit ) { |exc|
273 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
317 should raise_error( ANTLR3::Error::EarlyExit ) do |exc|
368 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
419 should raise_error( ANTLR3::Error::MismatchedRange ) do |exc|
[all …]
/external/antlr/runtime/Ruby/test/functional/token-rewrite/
Dbasic.rb233 should raise_error { |error|
244 should raise_error { |error|
255 should raise_error { |error|
266 should raise_error { |error|
/external/autotest/client/site_tests/autoupdate_Backoff/
Dautoupdate_Backoff.py68 raise_error=True)
78 raise_error=True)
85 raise_error=True)
/external/autotest/client/cros/chameleon/
Dchameleon_port_finder.py147 def _yield_all_ports(self, failed_ports=None, raise_error=False): argument
212 if raise_error and not yielded:
235 return self._yield_all_ports(raise_error=True)
257 for port in self._yield_all_ports(raise_error=True):
/external/grpc-grpc/src/ruby/spec/pb/health/
Dchecker_spec.rb139 expect(&blk).to raise_error GRPC::NotFound, expected_msg
158 expect(&blk).to raise_error GRPC::NotFound, expected_msg
180 expect(&blk).to raise_error GRPC::NotFound, expected_msg
231 expect(&blk).to raise_error GRPC::NotFound, expected_msg
/external/grpc-grpc/src/ruby/spec/pb/codegen/
Dpackage_option_spec.rb45 expect { Grpc::Testing::Package::Options::TestService::Service }.to raise_error(NameError)
47 expect { Grpc::Testing::Package::Options::TestService::Service }.to_not raise_error
/external/autotest/client/common_lib/
Ddecorators.py87 def test_module_available(module, raise_error=False): argument
109 if raise_error:
Dtime_utils.py105 @decorators.test_module_available(pytz, raise_error=True)
106 @decorators.test_module_available(tzlocal, raise_error=True)
/external/tensorflow/tensorflow/python/autograph/lang/
Dspecial_functions.py114 def raise_error(x): function
116 original_call = raise_error
/external/antlr/runtime/Ruby/test/functional/parser/
Dscopes.rb186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )
222 proc { parser.c }.should raise_error RuntimeError, 'x'
/external/swiftshader/third_party/llvm-7.0/llvm/utils/docker/scripts/llvm_checksum/
Dproject_tree.py42 def raise_error(err): function
46 for root, dirs, files in os.walk(project_root, onerror=raise_error):

12