Searched refs:failUnlessEqual (Results 1 – 25 of 36) sorted by relevance
12
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | teststreams.py | 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) [all …]
|
D | testtreewizard.py | 22 self.failUnlessEqual(typeMap, {}) 30 self.failUnlessEqual(typeMap, { 'a': 0, 'b': 1 }) 41 self.failUnlessEqual(type, BEGIN) 42 self.failUnlessEqual(lexer.sval, '') 43 self.failUnlessEqual(lexer.error, False) 51 self.failUnlessEqual(type, END) 52 self.failUnlessEqual(lexer.sval, '') 53 self.failUnlessEqual(lexer.error, False) 61 self.failUnlessEqual(type, PERCENT) 62 self.failUnlessEqual(lexer.sval, '') [all …]
|
D | testtree.py | 30 self.failUnlessEqual(expecting, found) 34 self.failUnlessEqual(expecting, found) 79 self.failUnlessEqual(expecting, found) 83 self.failUnlessEqual(expecting, found) 102 self.failUnlessEqual(expecting, found) 106 self.failUnlessEqual(expecting, found) 119 self.failUnlessEqual(expecting, found) 123 self.failUnlessEqual(expecting, found) 134 self.failUnlessEqual(expecting, found) 138 self.failUnlessEqual(expecting, found) [all …]
|
D | testrecognizers.py | 14 self.failUnlessEqual( 50 self.failUnlessEqual(tokens, [1, 2, 3, 4])
|
D | testdfa.py | 45 self.failUnlessEqual(
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t042ast.py | 41 self.failUnlessEqual( 49 self.failUnlessEqual( 57 self.failUnlessEqual( 65 self.failUnlessEqual( 73 self.failUnlessEqual( 81 self.failUnlessEqual( 89 self.failUnlessEqual( 97 self.failUnlessEqual( 105 self.failUnlessEqual( 113 self.failUnlessEqual( [all …]
|
D | t048rewrite.py | 30 self.failUnlessEqual(result, expecting) 39 self.failUnlessEqual(result, expecting) 49 self.failUnlessEqual(result, expecting) 58 self.failUnlessEqual(result, expecting) 67 self.failUnlessEqual(result, expecting) 76 self.failUnlessEqual(result, expecting) 86 self.failUnlessEqual(result, expecting) 97 self.failUnlessEqual(expecting, result) 107 self.failUnlessEqual(result, expecting) 118 self.failUnlessEqual( [all …]
|
D | t053hetero.py | 125 self.failUnlessEqual("a<V>", found) 145 self.failUnlessEqual("a", found) 172 self.failUnlessEqual("a<V>", found) 223 self.failUnlessEqual("a<V>", found) 251 self.failUnlessEqual("a<V>", found) 279 self.failUnlessEqual("a<V>", found) 307 self.failUnlessEqual("a<V>", found) 335 self.failUnlessEqual("begin<V>", found) 363 self.failUnlessEqual("begin<V>", found) 393 self.failUnlessEqual("a<V>", found) [all …]
|
D | t051treeRewriteAST.py | 82 self.failUnlessEqual("34 abc", found) 117 self.failUnlessEqual("(34 abc)", found) 152 self.failUnlessEqual("(34 abc)", found) 161 self.failUnlessEqual("34", found) 196 self.failUnlessEqual("(abc abc)", found) 231 self.failUnlessEqual("3 4 5 a b c", found) 266 self.failUnlessEqual("abc", found) 303 self.failUnlessEqual("a 1", found) 471 self.failUnlessEqual("a b 3", found) 507 self.failUnlessEqual("(a 3)", found) [all …]
|
D | t055templates.py | 50 self.failUnlessEqual("id=abc, int=34", found) 91 self.failUnlessEqual("[a+b]", found) 145 self.failUnlessEqual("abc,def,ghi", found) 169 self.failUnlessEqual("hello", found) 193 self.failUnlessEqual("hello", found) 221 self.failUnlessEqual("hello world", found) 262 self.failUnlessEqual("[1+2+3]", found) 292 self.failUnlessEqual("B: 34", found) 319 self.failUnlessEqual("id=abc, int=34", found) 391 self.failUnlessEqual(expected, found) [all …]
|
D | t049treeparser.py | 82 self.failUnlessEqual("abc, 34", found) 116 self.failUnlessEqual("abc, 34", found) 151 self.failUnlessEqual("^(a 1)b 2\n", found) 186 self.failUnlessEqual("^(a 3)b 5\n", found) 220 self.failUnlessEqual("alt 1", found) 274 self.failUnlessEqual("abc", found) 307 self.failUnlessEqual("abc", found) 341 self.failUnlessEqual("abc, def", found)
|
D | t054main.py | 73 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 99 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 125 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 154 self.failUnlessEqual(len(stdout.splitlines()), 1, stdout) 185 self.failUnlessEqual(stdout, "(+ foo bar)") 226 self.failUnlessEqual(stdout, "u'a + b'") 269 self.failUnlessEqual(stdout, "(+ (ARG a) (ARG b))") 314 self.failUnlessEqual(stdout, "u'b'")
|
D | t001lexer.py | 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 31 self.failUnlessEqual(token.type, self.lexerModule.EOF) 40 self.failUnlessEqual(types, [self.lexerModule.ZERO]) 52 self.failUnlessEqual(exc.expecting, '0') 53 self.failUnlessEqual(exc.unexpectedType, '1')
|
D | t003lexer.py | 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 31 self.failUnlessEqual(token.type, self.lexerModule.FOOZE) 34 self.failUnlessEqual(token.type, self.lexerModule.ONE) 37 self.failUnlessEqual(token.type, self.lexerModule.EOF) 49 self.failUnlessEqual(exc.unexpectedType, '2')
|
D | t052import.py | 163 self.failUnlessEqual("S.a", found) 219 self.failUnlessEqual("S.a1000", found) 256 self.failUnlessEqual("foo", found) 305 self.failUnlessEqual("S.a", found) 357 self.failUnlessEqual("S.x T.y", found) 705 self.failUnlessEqual("S.a", found) 792 self.failUnlessEqual("S.A abc", found) 826 self.failUnlessEqual("M.A a", found)
|
D | t022scopes.py | 69 self.failUnlessEqual( 94 self.failUnlessEqual(exc.args[0], 'x') 117 self.failUnlessEqual( 134 self.failUnlessEqual(res, 12) 148 self.failUnlessEqual(res, None) 162 self.failUnlessEqual(res, None)
|
D | t002lexer.py | 28 self.failUnlessEqual(token.type, self.lexerModule.ZERO) 31 self.failUnlessEqual(token.type, self.lexerModule.ONE) 34 self.failUnlessEqual(token.type, self.lexerModule.EOF) 46 self.failUnlessEqual(exc.unexpectedType, '2')
|
D | t044trace.py | 67 self.failUnlessEqual( 75 self.failUnlessEqual( 89 self.failUnlessEqual(
|
D | t047treeparser.py | 59 self.failUnlessEqual( 72 self.failUnlessEqual( 118 self.failUnlessEqual(r, 'c')
|
D | t004lexer.py | 64 self.failUnlessEqual(exc.expecting, 'f') 65 self.failUnlessEqual(exc.unexpectedType, '2')
|
D | t046rewrite.py | 47 self.failUnlessEqual(
|
D | t056lexer.py | 45 self.failUnlessEqual("- 34, channel=0", found)
|
/external/libxml2/python/tests/ |
D | tstLastError.py | 43 self.failUnlessEqual(domain,e.domain()) 44 self.failUnlessEqual(code,e.code()) 45 self.failUnlessEqual(message,e.message()) 46 self.failUnlessEqual(level,e.level()) 47 self.failUnlessEqual(file,e.file()) 48 self.failUnlessEqual(line,e.line())
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 16 failUnlessEqual="assertEqual",
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_asserts.py | 16 failUnlessEqual="assertEqual",
|
12