Home
last modified time | relevance | path

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

/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
214 if raise_error and not yielded:
237 return self._yield_all_ports(raise_error=True)
259 for port in self._yield_all_ports(raise_error=True):
/external/autotest/client/common_lib/
Ddecorators.py86 def test_module_available(module, raise_error=False): argument
108 if raise_error:
Dtime_utils.py108 @decorators.test_module_available(pytz, raise_error=True)
109 @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/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/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
Dmain-scripts.rb28 proc { compile_and_load( grammar ) }.should_not raise_error