Home
last modified time | relevance | path

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

/external/autotest/server/cros/servo/
Dchrome_cr50.py172 self.wait_for_ccd_disable(timeout, raise_error=False)
299 def wait_for_ccd_state(self, state, timeout, raise_error): argument
315 if raise_error:
322 def wait_for_ccd_disable(self, timeout=60, raise_error=True): argument
324 self.wait_for_ccd_state('off', timeout, raise_error)
328 def wait_for_ccd_enable(self, timeout=60, raise_error=False): argument
330 self.wait_for_ccd_state('on', timeout, raise_error)
334 def ccd_disable(self, raise_error=True): argument
338 self.wait_for_ccd_disable(raise_error=raise_error)
342 def ccd_enable(self, raise_error=False): argument
[all …]
/external/antlr/antlr-3.4/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/antlr-3.4/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/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/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/antlr/antlr-3.4/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/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
Drewrites.rb1277 end.should raise_error( ANTLR3::Error::RewriteCardinalityError )
1292 end.should raise_error( ANTLR3::Error::RewriteCardinalityError )
1307 end.should raise_error( ANTLR3::Error::RewriteEmptyStream )
1321 end.should raise_error( ANTLR3::Error::RewriteEarlyExit )
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-exceptions.rb15 }.should raise_error( ANTLR3::Bug )
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py570 def raise_error(t): function
648 raise_error(t)
653 raise_error(t)
734 raise_error(t)
739 raise_error(t)
742 raise_error(t)
745 raise_error(t)
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dbattor_trace_agent_unittest.py25 def raise_error(*args, **kwargs): function
30 battor_device_mapping.GenerateSerialMapFile = raise_error
/external/python/cpython2/Lib/lib2to3/pgen2/
Dpgen.py310 self.raise_error("expected (...) or NAME or STRING, got %s/%s",
315 self.raise_error("expected %s/%s, got %s/%s",
328 def raise_error(self, msg, *args): member in ParserGenerator
/external/python/cpython3/Lib/lib2to3/pgen2/
Dpgen.py310 self.raise_error("expected (...) or NAME or STRING, got %s/%s",
315 self.raise_error("expected %s/%s, got %s/%s",
328 def raise_error(self, msg, *args): member in ParserGenerator
/external/autotest/server/site_tests/firmware_Cr50DeviceState/
Dfirmware_Cr50DeviceState.py362 self.cr50.ccd_disable(raise_error=False)
367 self.cr50.ccd_enable(raise_error=False)
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
Dmain-scripts.rb28 proc { compile_and_load( grammar ) }.should_not raise_error
/external/python/cpython2/Python/
Dceval.c3832 goto raise_error; in do_raise()
3857 goto raise_error; in do_raise()
3865 goto raise_error; in do_raise()
3882 goto raise_error; in do_raise()
3890 goto raise_error; in do_raise()
3898 raise_error: in do_raise()
/external/python/cpython3/Python/
Dceval.c4259 goto raise_error; in do_raise()
4265 goto raise_error; in do_raise()
4279 goto raise_error; in do_raise()
4287 goto raise_error; in do_raise()
4301 goto raise_error; in do_raise()
4312 raise_error: in do_raise()
/external/python/cpython2/Modules/
D_testcapimodule.c940 raise_error(void *unused) in raise_error() function
970 res = Py_BuildValue(fmt, raise_error, NULL, arg); in test_buildvalue_N_error()
/external/python/cpython2/Lib/test/
Dtest_socket.py288 def raise_error(*args, **kwargs): function
294 self.assertRaises(socket.error, raise_error,
/external/python/cpython3/Modules/
D_testcapimodule.c901 raise_error(void *unused) in raise_error() function
931 res = Py_BuildValue(fmt, raise_error, NULL, arg); in test_buildvalue_N_error()
/external/python/cpython3/Lib/test/
Dtest_logging.py3433 def raise_error(self, error): member in ShutdownTest
3456 setattr(handler, method, self.raise_error(error))
Dtest_decimal.py3682 def raise_error(context, flag): function
3716 raise_error(context, flag)