Home | History | Annotate | Download | only in tests

Lines Matching refs:errors

1368         found, errors = self.execParser(grammar, "decl", "int 34 x=1;",
1371 errors)
1389 found, errors = self.execParser(grammar, "decl", "int =1;",
1391 self.assertEquals(["line 1:4 missing ID at u'='"], errors)
1408 found, errors = self.execParser(grammar, "decl", "x=1;",
1411 errors);
1426 found, errors = self.execParser(grammar, "a", "abc",
1428 self.assertEquals(["line 1:3 missing INT at '<EOF>'"], errors)
1446 found, errors = self.execParser(grammar, "a", "abc ick 34",
1449 errors)
1465 found, errors = self.execParser(grammar, "a", "34", expectErrors=True)
1466 self.assertEquals(["line 1:0 missing ID at u'34'"], errors)
1484 found, errors = self.execParser(grammar, "a", "34", expectErrors=True)
1488 self.assertEquals(["line 1:0 missing ID at u'34'"], errors)
1506 found, errors = self.execParser(grammar, "a", "*", expectErrors=True)
1511 errors);