Searched refs:should (Results 1 – 25 of 7567) sorted by relevance
12345678910>>...303
21 token.name.should == 'ZERO'24 token.name.should == '<EOF>'31 token_types.should == %w(ZERO)39 }.should raise_error( ANTLR3::Error::MismatchedToken ) do |e|40 e.expecting.should == '0'41 e.unexpected_type.should == '1'63 token.name.should == 'ZERO'66 token.name.should == 'ONE'69 token.name.should == '<EOF>'76 b.should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|[all …]
34 lexer.properties.should have( 3 ).things36 text.should == 'foobar'37 type.should == RuleProperty::TokenData::IDENTIFIER38 line.should == 139 pos.should == 040 index.should == -141 channel.should == ANTLR3::DEFAULT_CHANNEL42 start.should == 043 stop.should == 546 text.should == '_ab98'[all …]
25 And you should ignore this data. aaaaaaaaaaaaaaaa26 And you should ignore this data. aaaaaaaaaaaaaaaa27 And you should ignore this data. aaaaaaaaaaaaaaaa28 And you should ignore this data. aaaaaaaaaaaaaaaa29 And you should ignore this data. aaaaaaaaaaaaaaaa30 And you should ignore this data. aaaaaaaaaaaaaaaa31 And you should ignore this data. aaaaaaaaaaaaaaaa32 And you should ignore this data. aaaaaaaaaaaaaaaa33 And you should ignore this data. aaaaaaaaaaaaaaaa34 And you should ignore this data. aaaaaaaaaaaaaaaa[all …]
23 And you should ignore this data. aaaaaaaaaaaaaaaa24 And you should ignore this data. aaaaaaaaaaaaaaaa25 And you should ignore this data. aaaaaaaaaaaaaaaa26 And you should ignore this data. aaaaaaaaaaaaaaaa27 And you should ignore this data. aaaaaaaaaaaaaaaa28 And you should ignore this data. aaaaaaaaaaaaaaaa29 And you should ignore this data. aaaaaaaaaaaaaaaa30 And you should ignore this data. aaaaaaaaaaaaaaaa31 And you should ignore this data. aaaaaaaaaaaaaaaa32 And you should ignore this data. aaaaaaaaaaaaaaaa[all …]
17 @stream.size.should == 821 @stream.index.should == 026 @stream.index.should == 127 @stream.column.should == 128 @stream.line.should == 131 @stream.index.should == 232 @stream.column.should == 233 @stream.line.should == 136 @stream.index.should == 337 @stream.column.should == 0[all …]
18 context.instance_variables.should be_empty27 vars.should include( '@a' )28 vars.should include( '@b' )30 context.instance_variable_get( '@a' ).should == 131 context.instance_variable_get( '@b' ).should == 239 context[ :a ].should == 140 context[ 'a' ].should == 141 context[ :b ].should == 242 context[ 'b' ].should == 250 context.instance_variable_get( '@a' ).should == 1[all …]
27 found.should == expecting32 found.should == expecting53 root_0.child_index.should == -154 t.child_index.should == 055 u.child_index.should == 169 found.should == expecting73 found.should == expecting92 found.should == expecting96 found.should == expecting110 found.should == expecting[all …]
26 @ts::A.should == 427 @ts::B.should == 528 @ts::T__6.should == 629 @ts::EOF.should == -133 @ts::TOKEN_NAMES.should == {38 @ts.token_name(5).should == 'B'39 @ts.token_name(6).should == "'+'"40 @ts.token_name(-1).should == '<EOF>'41 @ts.token_name(7).should == '<UNKNOWN: 7>'48 @a_class::A.should == 4[all …]
16 @A.members.map( &:to_s ).should == %w( a b )17 @B.members.map( &:to_s ).should == %w( count )18 @C.members.map( &:to_s ).should == %w( a b c )22 @A.new.to_a.should == [ nil, nil ]23 @B.new.to_a.should == [ 3 ]24 @C.new.to_a.should == [ nil, 0, {} ]29 c.a.should == Object30 c.b.should == 031 c.c.should == {}36 b.count.should == 7000[all …]
22 parser.reported_errors.should be_empty unless expect_errors68 result.should == ''82 result.should == 'abc'96 result.should == 'x'110 result.should == '(x INT)'123 result.should == 'ID'137 result.should == 'c'151 result.should == 'ick'166 result.should == 'abc'180 result.should == '34 abc'[all …]
22 parser.reported_errors.should be_empty unless expect_errors69 result.should == 'abc 34'81 result.should == 'abc 34'93 result.should == '(abc 34)'105 result.should == '(abc 34)'118 result.should == 'abc 4532'130 result.should == '(b a 1)'142 result.should == '(void foo ;)'154 result.should == '(void foo ;)'166 result.should == '(foo void ;)'[all …]
622 result.should == 'a<V>'628 result.should == 'a<V>'634 result.should == 'a<V>'640 result.should == 'a<V>'646 result.should == 'a<V>'652 result.should == 'a<V>'658 result.should == 'begin<V>'664 result.should == 'begin<V>'670 result.should == 'a<V>'676 result.should == '<V>;421930 a<V>;9900'[all …]
1015 stree.should == "34 abc"1029 stree.should == "(34 abc)"1042 result.inspect.should == '(34 abc)'1052 result.inspect.should == '34'1066 stree.should == "(abc abc)"1080 stree.should == "3 4 5 a b c"1094 stree.should == "abc"1108 stree.should == "a 1"1122 stree.should == "abc 34"1136 stree.should == "(abc 34)"[all …]
... reference counts 14Inode 2 ref count is 4, should be 3. Fix? yes 15 16Inode 12 ...
43 parser.output.should == 'S.a'74 parser.output.should == 'S.a1000'108 parser.output.should == 'whatevs'151 parser.output.should == 'S.a'199 parser.output.should == 'S.x T.y'227 parser.output.should == 'S.a'257 lexer.output.should == 'S.A abc'282 lexer.output.should == 'M.A a'312 parser.output.should == '(bc)(cb)'350 MasterOfAll::Lexer.master_grammars.should == [][all …]
132 profile_data.rule_invocations.should == 60133 profile_data.guessing_rule_invocations.should == 0134 profile_data.rule_invocation_depth.should == 12136 profile_data.fixed_decisions.should == 40138 fixed_data.min.should == 1139 fixed_data.max.should == 2140 fixed_data.average.should == 1.075141 fixed_data.standard_deviation.should == 0.26674678283691855143 profile_data.cyclic_decisions.should == 4145 cyclic_data.min.should == 3[all …]
38 @socket.readline.strip.should == 'ANTLR 2'39 @socket.readline.strip.start_with?( 'grammar "' ).should == true110 found.should == expected122 debugger.success.should be_true140 debugger.events.should == expected152 debugger.success.should be_true177 debugger.events.should == expected190 debugger.success.should be_true210 debugger.events.should == expected224 debugger.success.should be_true[all …]
18 '..' in / (2) is <The NULL inode> (0), should be / (2).28 Inode 11 ref count is 3, should be 2. Fix? yes33 Inode 12 ref count is 2, should be 1. Fix? yes38 Inode 13 ref count is 2, should be 1. Fix? yes43 Inode 14 ref count is 2, should be 1. Fix? yes48 Inode 15 ref count is 2, should be 1. Fix? yes53 Inode 16 ref count is 2, should be 1. Fix? yes58 Inode 17 ref count is 2, should be 1. Fix? yes63 Inode 18 ref count is 2, should be 1. Fix? yes68 Inode 19 ref count is 2, should be 1. Fix? yes[all …]
45 start.index.should == 146 stop.index.should == 747 text.should == 'a a a a'91 ids.should have( 6 ).things92 ids[ 0 ].text.should == 'a'93 ids[ 1 ].text.should == 'b'94 ids[ 2 ].text.should == 'c'95 ids[ 3 ].text.should == '1'96 ids[ 4 ].text.should == '2'97 ids[ 5 ].text.should == 'A'[all …]
43 parser.declaration.should == 'foo'95 parser.output.should == <<-END.fixed_indent( 0 )101 lexer.output.should == <<-END.fixed_indent( 0 )143 parser.prog.should == %w(catch finally)221 parser.nums.should == [ 10, 20, 30, 40, 50 ]225 $all_header_files.should include "SpecialActionScopesLexer.rb"226 $all_header_files.should include "SpecialActionScopesParser.rb"227 $all_footer_files.should include "SpecialActionScopesLexer.rb"228 $all_footer_files.should include "SpecialActionScopesParser.rb"230 $header_location.should be < $module_head_location[all …]
44 parser.reported_errors.should be_empty45 parser.identifiers.should == %w(blah_de_blah)55 parser.reported_errors.should have( 1 ).thing68 parser.reported_errors.should be_empty69 parser.identifiers.should == %w(blah_de_blah)121 parser.reported_errors.should be_empty122 parser.events.should == [ 136 parser.reported_errors.should have( 1 ).thing137 parser.events.should be_empty146 parser.reported_errors.should have( 1 ).thing[all …]
186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )206 symbols.should have( 2 ).things207 symbols.should include 'i'208 symbols.should include 'j'222 proc { parser.c }.should raise_error RuntimeError, 'x'241 symbols.should have( 2 ).things242 symbols.should include 'i'243 symbols.should include 'j'252 parser.e.should == 12261 parser.f.should == nil[all …]
25 # error INTEGER macro should be visible29 # error FLOAT macro should not be visible33 # error MODULE macro should not be visible37 # error INDIRECTLY_IN_MACROS should be visible63 # error LEFT should not be visible67 # error RIGHT should not be visible71 # error TOP should not be visible83 # error LEFT should be visible87 # error RIGHT should not be visible91 # error TOP should be visible[all …]
22 tokens.render.should == expected233 should raise_error { |error|234 …error.to_s.should == %q<operation (replace @ 1..2 : "foo") overlaps with previous operation (repla…244 should raise_error { |error|245 …error.to_s.should == %q<operation (insert-before @ 4 : "y") overlaps with previous operation (repl…255 should raise_error { |error|256 …error.to_s.should == %q<operation (replace @ 3..5 : "foo") overlaps with previous operation (repla…266 should raise_error { |error|267 …error.to_s.should == %q<operation (replace @ 1..3 : "foo") overlaps with previous operation (repla…297 stream.original_string.should == 'x = 3 * 0;'[all …]
65 STAssertFalse([stream hasNext], @"-(BOOL)hasNext should be NO, but isn't");66 … STAssertThrows([stream nextToken], @"-next on empty stream should throw exception, but doesn't");79 @"empty stream should have count==0");82 @"single element stream should have count==1");85 @"multiple stream should have count==2");103 STAssertTrue([stream hasNext], @"-hasNext should be YES, but isn't");105 …STAssertEqualObjects([tree getToken], token1, @"return token from stream should be token1, but isn…113 @"stream iteration should not throw exception"116 … @"stream iteration past element count (single element) should not throw exception"119 @"tokens should be the same");[all …]