Home
last modified time | relevance | path

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

12

/third_party/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
56 expect(&blk).to raise_error
61 expect(&blk).to raise_error
71 expect { channel_creds.compose call_creds }.not_to raise_error
82 end.not_to raise_error
89 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
/third_party/grpc/src/ruby/spec/pb/codegen/
Dpackage_option_spec.rb22 expect { Grpc::Testing::Package::Options::TestService::Service }.to raise_error(NameError)
24 expect { Grpc::Testing::Package::Options::TestService::Service }.to_not raise_error
25 expect { Grpc::Testing::TestService::Service }.to raise_error(NameError)
33 … expect { RPC::Test::New::Package::Options::AnotherTestService::Service }.to raise_error(NameError)
35 expect { RPC::Test::New::Package::Options::AnotherTestService::Service }.to_not raise_error
36 expect { Grpc::Testing::AnotherTestService::Service }.to raise_error(NameError)
54 expect { SameName::SameName::Service }.to raise_error(NameError)
56 expect { SameName::SameName::Service }.to_not raise_error
57 expect { SameName::Request }.to_not raise_error
58 expect { SameName::Status }.to_not raise_error
[all …]
/third_party/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
135 expect(&blk).to raise_error ArgumentError
143 expect(&blk).to raise_error ArgumentError
154 expect(&blk).to raise_error ArgumentError
171 expect(&blk).to raise_error ArgumentError
187 expect(&blk).to raise_error ArgumentError
198 expect(&blk).not_to raise_error
210 expect(&blk).not_to raise_error
243 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.rb272 expect { blk.call }.to_not raise_error
326 expect { blk.call }.to raise_error
363 expect { blk.call }.to_not raise_error
520 expect { e.next }.to raise_error(StopIteration)
534 end.to_not raise_error
539 expect { client_call.receive_and_check_status }.to_not raise_error
555 end.to_not raise_error
556 expect { client_call.receive_and_check_status }.to_not raise_error
574 end.to_not raise_error
Dinterceptor_registry_spec.rb61 expect { subject }.to raise_error(err)
/third_party/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
/third_party/python/Tools/scripts/
Dstable_abi.py145 def raise_error(msg): function
155 raise_error(f'invalid syntax: {line}')
165 raise_error(f'{kind} cannot go in {parent.kind}')
170 raise_error(f'{kind} cannot go in {parent.kind}')
174 raise_error(f'{kind} cannot go in {parent.kind}')
177 raise_error(f"unknown kind {kind!r}")
/third_party/boost/boost/gil/extension/io/jpeg/detail/
Dscanline_read.hpp69 if( setjmp( this->_mark )) { this->raise_error(); } in read()
79 if( setjmp( this->_mark )) { this->raise_error(); } in skip()
Dwriter_backend.hpp101 if( setjmp( _mark )) { raise_error(); } in writer_backend()
163 void raise_error() in raise_error() function
Dread.hpp98 this->raise_error(); in apply()
173 this->raise_error(); in read_rows()
Dreader_backend.hpp106 raise_error(); in reader_backend()
236 void raise_error() in raise_error() function
/third_party/unity/test/spec/
Dgenerate_module_existing_file_spec.rb64 }.to raise_error("ERROR: File meh already exists. Exiting.")
116 }.to raise_error("ERROR: File meh_model already exists. Exiting.")
/third_party/cJSON/tests/unity/test/spec/
Dgenerate_module_existing_file_spec.rb64 }.to raise_error("ERROR: File meh already exists. Exiting.")
116 }.to raise_error("ERROR: File meh_model already exists. Exiting.")
/third_party/boost/boost/math/policies/
Derror_handling.hpp124 void raise_error(const char* pfunction, const char* message) in raise_error() function
147 void raise_error(const char* pfunction, const char* pmessage, const T& val) in raise_error() function
180 raise_error<std::domain_error, T>(function, message, val); in raise_domain_error()
267 raise_error<std::overflow_error, T>(function, message ? message : "numeric overflow"); in raise_overflow_error()
279 raise_error<std::overflow_error, T>(function, message ? message : "numeric overflow", val); in raise_overflow_error()
361 raise_error<std::underflow_error, T>(function, message ? message : "numeric underflow"); in raise_underflow_error()
405 raise_error<std::underflow_error, T>(function, message ? message : "denormalised result"); in raise_denorm_error()
452 raise_error<boost::math::evaluation_error, T>(function, message, val); in raise_evaluation_error()
500 raise_error<boost::math::rounding_error, T>(function, message, val); in raise_rounding_error()
567 raise_error<std::domain_error, T>(function, message, val); in raise_indeterminate_result_error()
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py617 def raise_error(t): function
733 raise_error(t)
738 raise_error(t)
743 raise_error(t)
865 raise_error(t)
868 raise_error(t)
873 raise_error(t)
876 raise_error(t)
879 raise_error(t)
887 raise_error(t)
[all …]

12