Lines Matching refs:failUnlessEqual
17 self.failUnlessEqual(stream.size(), 3)
25 self.failUnlessEqual(stream.index(), 0)
34 self.failUnlessEqual(stream.index(), 1)
35 self.failUnlessEqual(stream.charPositionInLine, 1)
36 self.failUnlessEqual(stream.line, 1)
39 self.failUnlessEqual(stream.index(), 2)
40 self.failUnlessEqual(stream.charPositionInLine, 2)
41 self.failUnlessEqual(stream.line, 1)
44 self.failUnlessEqual(stream.index(), 3)
45 self.failUnlessEqual(stream.charPositionInLine, 3)
46 self.failUnlessEqual(stream.line, 1)
49 self.failUnlessEqual(stream.index(), 4)
50 self.failUnlessEqual(stream.charPositionInLine, 0)
51 self.failUnlessEqual(stream.line, 2)
54 self.failUnlessEqual(stream.index(), 5)
55 self.failUnlessEqual(stream.charPositionInLine, 1)
56 self.failUnlessEqual(stream.line, 2)
59 self.failUnlessEqual(stream.index(), 6)
60 self.failUnlessEqual(stream.charPositionInLine, 2)
61 self.failUnlessEqual(stream.line, 2)
64 self.failUnlessEqual(stream.index(), 7)
65 self.failUnlessEqual(stream.charPositionInLine, 3)
66 self.failUnlessEqual(stream.line, 2)
69 self.failUnlessEqual(stream.index(), 7)
70 self.failUnlessEqual(stream.charPositionInLine, 3)
71 self.failUnlessEqual(stream.line, 2)
74 self.failUnlessEqual(stream.index(), 7)
75 self.failUnlessEqual(stream.charPositionInLine, 3)
76 self.failUnlessEqual(stream.line, 2)
88 self.failUnlessEqual(stream.index(), 0)
89 self.failUnlessEqual(stream.line, 1)
90 self.failUnlessEqual(stream.charPositionInLine, 0)
91 self.failUnlessEqual(stream.LT(1), 'f')
99 self.failUnlessEqual(stream.LT(1), 'f')
100 self.failUnlessEqual(stream.LT(2), 'o')
101 self.failUnlessEqual(stream.LT(3), 'o')
106 self.failUnlessEqual(stream.LT(1), 'o')
107 self.failUnlessEqual(stream.LT(2), antlr3.EOF)
108 self.failUnlessEqual(stream.LT(3), antlr3.EOF)
116 self.failUnlessEqual(stream.substring(0, 0), 'f')
117 self.failUnlessEqual(stream.substring(0, 1), 'fo')
118 self.failUnlessEqual(stream.substring(0, 5), 'foobar')
119 self.failUnlessEqual(stream.substring(3, 5), 'bar')
129 self.failUnlessEqual(stream.index(), 4)
130 self.failUnlessEqual(stream.line, 2)
131 self.failUnlessEqual(stream.charPositionInLine, 0)
132 self.failUnlessEqual(stream.LT(1), 'b')
158 self.failUnlessEqual(marker, 1)
159 self.failUnlessEqual(stream.markDepth, 1)
163 self.failUnlessEqual(marker, 2)
164 self.failUnlessEqual(stream.markDepth, 2)
179 self.failUnlessEqual(stream.markDepth, 1)
183 self.failUnlessEqual(stream.markDepth, 1)
201 self.failUnlessEqual(stream.markDepth, 1)
216 self.failUnlessEqual(stream.markDepth, 0)
217 self.failUnlessEqual(stream.index(), 4)
218 self.failUnlessEqual(stream.line, 2)
219 self.failUnlessEqual(stream.charPositionInLine, 0)
220 self.failUnlessEqual(stream.LT(1), 'b')
238 self.failUnlessEqual(stream.markDepth, 1)
239 self.failUnlessEqual(stream.index(), 5)
240 self.failUnlessEqual(stream.line, 2)
241 self.failUnlessEqual(stream.charPositionInLine, 1)
242 self.failUnlessEqual(stream.LT(1), 'a')
264 self.failUnlessEqual(stream.markDepth, 1)
265 self.failUnlessEqual(stream.index(), 5)
266 self.failUnlessEqual(stream.line, 2)
267 self.failUnlessEqual(stream.charPositionInLine, 1)
268 self.failUnlessEqual(stream.LT(1), 'a')
269 self.failUnlessEqual(stream.LA(1), ord('a'))
287 self.failUnlessEqual(stream.markDepth, 1)
288 self.failUnlessEqual(stream.index(), 5)
289 self.failUnlessEqual(stream.line, 2)
290 self.failUnlessEqual(stream.charPositionInLine, 1)
291 self.failUnlessEqual(stream.LT(1), u'ä')
292 self.failUnlessEqual(stream.LA(1), ord(u'ä'))
314 self.failUnlessEqual(stream.markDepth, 1)
315 self.failUnlessEqual(stream.index(), 5)
316 self.failUnlessEqual(stream.line, 2)
317 self.failUnlessEqual(stream.charPositionInLine, 1)
318 self.failUnlessEqual(stream.LT(1), 'a')
319 self.failUnlessEqual(stream.LA(1), ord('a'))
337 self.failUnlessEqual(stream.markDepth, 1)
338 self.failUnlessEqual(stream.index(), 5)
339 self.failUnlessEqual(stream.line, 2)
340 self.failUnlessEqual(stream.charPositionInLine, 1)
341 self.failUnlessEqual(stream.LT(1), u'ä')
342 self.failUnlessEqual(stream.LA(1), ord(u'ä'))
376 self.failUnlessEqual(stream.index(), -1)
384 self.failUnlessEqual(stream.index(), -1)
385 self.failUnlessEqual(stream.channel, antlr3.DEFAULT_CHANNEL)
394 self.failUnlessEqual(lt1.type, antlr3.EOF)
407 self.failUnlessEqual(lt1.type, 12)
424 self.failUnlessEqual(lt1.type, 13)
441 self.failUnlessEqual(lt1.type, antlr3.EOF)
461 self.failUnlessEqual(lt1.type, 12)
479 self.failUnlessEqual(stream.LB(1).type, 12)
548 self.failUnlessEqual(len(stream.tokens), 3)
549 self.failUnlessEqual(stream.tokens[0].type, 12)
550 self.failUnlessEqual(stream.tokens[1].type, 13)
551 self.failUnlessEqual(stream.tokens[2].type, 14)
570 self.failUnlessEqual(stream.LA(1), 12)
573 self.failUnlessEqual(stream.LA(1), 13)
576 self.failUnlessEqual(stream.LA(1), antlr3.EOF)
579 self.failUnlessEqual(stream.LA(1), antlr3.EOF)
598 self.failUnlessEqual(stream.LA(1), 12)
601 self.failUnlessEqual(stream.LA(1), antlr3.EOF)
604 self.failUnlessEqual(stream.LA(1), 12)
631 self.failUnlessEqual(stream.LA(1), 13)