Home
last modified time | relevance | path

Searched refs:should (Results 1 – 25 of 7442) sorted by relevance

12345678910>>...298

/external/antlr/runtime/Ruby/test/functional/lexer/
Dbasic.rb21 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 …]
Dproperties.rb34 lexer.properties.should have( 3 ).things
36 text.should == 'foobar'
37 type.should == RuleProperty::TokenData::IDENTIFIER
38 line.should == 1
39 pos.should == 0
40 index.should == -1
41 channel.should == ANTLR3::DEFAULT_CHANNEL
42 start.should == 0
43 stop.should == 5
46 text.should == '_ab98'
[all …]
/external/curl/tests/data/
Dtest106023 And you should ignore this data. aaaaaaaaaaaaaaaa
24 And you should ignore this data. aaaaaaaaaaaaaaaa
25 And you should ignore this data. aaaaaaaaaaaaaaaa
26 And you should ignore this data. aaaaaaaaaaaaaaaa
27 And you should ignore this data. aaaaaaaaaaaaaaaa
28 And you should ignore this data. aaaaaaaaaaaaaaaa
29 And you should ignore this data. aaaaaaaaaaaaaaaa
30 And you should ignore this data. aaaaaaaaaaaaaaaa
31 And you should ignore this data. aaaaaaaaaaaaaaaa
32 And you should ignore this data. aaaaaaaaaaaaaaaa
[all …]
Dtest106125 And you should ignore this data. aaaaaaaaaaaaaaaa
26 And you should ignore this data. aaaaaaaaaaaaaaaa
27 And you should ignore this data. aaaaaaaaaaaaaaaa
28 And you should ignore this data. aaaaaaaaaaaaaaaa
29 And you should ignore this data. aaaaaaaaaaaaaaaa
30 And you should ignore this data. aaaaaaaaaaaaaaaa
31 And you should ignore this data. aaaaaaaaaaaaaaaa
32 And you should ignore this data. aaaaaaaaaaaaaaaa
33 And you should ignore this data. aaaaaaaaaaaaaaaa
34 And you should ignore this data. aaaaaaaaaaaaaaaa
[all …]
/external/antlr/runtime/Ruby/test/unit/
Dtest-streams.rb17 @stream.size.should == 8
21 @stream.index.should == 0
26 @stream.index.should == 1
27 @stream.column.should == 1
28 @stream.line.should == 1
31 @stream.index.should == 2
32 @stream.column.should == 2
33 @stream.line.should == 1
36 @stream.index.should == 3
37 @stream.column.should == 0
[all …]
Dtest-template.rb18 context.instance_variables.should be_empty
27 vars.should include( '@a' )
28 vars.should include( '@b' )
30 context.instance_variable_get( '@a' ).should == 1
31 context.instance_variable_get( '@b' ).should == 2
39 context[ :a ].should == 1
40 context[ 'a' ].should == 1
41 context[ :b ].should == 2
42 context[ 'b' ].should == 2
50 context.instance_variable_get( '@a' ).should == 1
[all …]
Dtest-trees.rb27 found.should == expecting
32 found.should == expecting
53 root_0.child_index.should == -1
54 t.child_index.should == 0
55 u.child_index.should == 1
69 found.should == expecting
73 found.should == expecting
92 found.should == expecting
96 found.should == expecting
110 found.should == expecting
[all …]
Dtest-scheme.rb26 @ts::A.should == 4
27 @ts::B.should == 5
28 @ts::T__6.should == 6
29 @ts::EOF.should == -1
33 @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 …]
Dtest-scope.rb16 @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 == Object
30 c.b.should == 0
31 c.c.should == {}
36 b.count.should == 7000
[all …]
/external/antlr/runtime/Ruby/test/functional/ast-output/
Drewrites.rb22 parser.reported_errors.should be_empty unless expect_errors
68 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 …]
Dauto-ast.rb22 parser.reported_errors.should be_empty unless expect_errors
69 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 …]
Dhetero-nodes.rb622 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 …]
Dtree-rewrite.rb1015 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 …]
/external/e2fsprogs/tests/f_expand/
Dexpect.1.gz
/external/antlr/runtime/Ruby/test/functional/delegation/
Dimport.rb43 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 …]
/external/antlr/runtime/Ruby/test/functional/debugging/
Dprofile-mode.rb132 profile_data.rule_invocations.should == 60
133 profile_data.guessing_rule_invocations.should == 0
134 profile_data.rule_invocation_depth.should == 12
136 profile_data.fixed_decisions.should == 40
138 fixed_data.min.should == 1
139 fixed_data.max.should == 2
140 fixed_data.average.should == 1.075
141 fixed_data.standard_deviation.should == 0.26674678283691855
143 profile_data.cyclic_decisions.should == 4
145 cyclic_data.min.should == 3
[all …]
Ddebug-mode.rb38 @socket.readline.strip.should == 'ANTLR 2'
39 @socket.readline.strip.start_with?( 'grammar "' ).should == true
110 found.should == expected
122 debugger.success.should be_true
140 debugger.events.should == expected
152 debugger.success.should be_true
177 debugger.events.should == expected
190 debugger.success.should be_true
210 debugger.events.should == expected
224 debugger.success.should be_true
[all …]
/external/e2fsprogs/tests/f_rebuild_csum_rootdir/
Dexpect.118 '..' in / (2) is <The NULL inode> (0), should be / (2).
28 Inode 11 ref count is 3, should be 2. Fix? yes
33 Inode 12 ref count is 2, should be 1. Fix? yes
38 Inode 13 ref count is 2, should be 1. Fix? yes
43 Inode 14 ref count is 2, should be 1. Fix? yes
48 Inode 15 ref count is 2, should be 1. Fix? yes
53 Inode 16 ref count is 2, should be 1. Fix? yes
58 Inode 17 ref count is 2, should be 1. Fix? yes
63 Inode 18 ref count is 2, should be 1. Fix? yes
68 Inode 19 ref count is 2, should be 1. Fix? yes
[all …]
/external/antlr/runtime/Ruby/test/functional/parser/
Dproperties.rb45 start.index.should == 1
46 stop.index.should == 7
47 text.should == 'a a a a'
91 ids.should have( 6 ).things
92 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 …]
Dactions.rb43 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 …]
Dbasic.rb44 parser.reported_errors.should be_empty
45 parser.identifiers.should == %w(blah_de_blah)
55 parser.reported_errors.should have( 1 ).thing
68 parser.reported_errors.should be_empty
69 parser.identifiers.should == %w(blah_de_blah)
121 parser.reported_errors.should be_empty
122 parser.events.should == [
136 parser.reported_errors.should have( 1 ).thing
137 parser.events.should be_empty
146 parser.reported_errors.should have( 1 ).thing
[all …]
Dscopes.rb186 proc { parser.b( false ) }.should raise_error( ANTLR3::RecognitionError )
206 symbols.should have( 2 ).things
207 symbols.should include 'i'
208 symbols.should include 'j'
222 proc { parser.c }.should raise_error RuntimeError, 'x'
241 symbols.should have( 2 ).things
242 symbols.should include 'i'
243 symbols.should include 'j'
252 parser.e.should == 12
261 parser.f.should == nil
[all …]
/external/clang/test/Modules/
Dmacros.c25 # error INTEGER macro should be visible
29 # error FLOAT macro should not be visible
33 # error MODULE macro should not be visible
37 # error INDIRECTLY_IN_MACROS should be visible
63 # error LEFT should not be visible
67 # error RIGHT should not be visible
71 # error TOP should not be visible
83 # error LEFT should be visible
87 # error RIGHT should not be visible
91 # error TOP should be visible
[all …]
/external/antlr/runtime/Ruby/test/functional/token-rewrite/
Dbasic.rb22 tokens.render.should == expected
233 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 …]
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m65 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 …]

12345678910>>...298