Searched refs:raise_error (Results 1 – 10 of 10) sorted by relevance
39 }.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 …]
233 should raise_error { |error|244 should raise_error { |error|255 should raise_error { |error|266 should raise_error { |error|
147 def _yield_all_ports(self, failed_ports=None, raise_error=False): argument214 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):
86 def test_module_available(module, raise_error=False): argument108 if raise_error:
108 @decorators.test_module_available(pytz, raise_error=True)109 @decorators.test_module_available(tzlocal, raise_error=True)
186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )222 proc { parser.c }.should raise_error RuntimeError, 'x'
1277 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 )
15 }.should raise_error( ANTLR3::Bug )
25 def raise_error(*args, **kwargs): function30 battor_device_mapping.GenerateSerialMapFile = raise_error
28 proc { compile_and_load( grammar ) }.should_not raise_error