Searched refs:TestStatement (Results 1 – 6 of 6) sorted by relevance
/art/tools/checker/match/ |
D | file.py | 19 from file_format.checker.struct import CheckerFile, TestCase, TestStatement 84 if variant is TestStatement.Variant.If: 86 elif variant is TestStatement.Variant.Elif: 88 elif variant is TestStatement.Variant.Else: 91 assert variant is TestStatement.Variant.Fi 215 assert statement.variant == TestStatement.Variant.DAG 233 assert statement.variant == TestStatement.Variant.Not 260 if self.lastVariant not in [ TestStatement.Variant.InOrder, TestStatement.Variant.NextLine ]: 280 if variant in [ TestStatement.Variant.If, 281 TestStatement.Variant.Elif, [all …]
|
D | line.py | 16 from file_format.checker.struct import TestExpression, TestStatement 81 assert checkerLine.variant != TestStatement.Variant.Eval
|
D | test.py | 20 from file_format.checker.struct import CheckerFile, TestCase, TestStatement 35 return ParseCheckerStatement(testCase, checkerString, TestStatement.Variant.InOrder, 0)
|
/art/tools/checker/file_format/checker/ |
D | struct.py | 67 class TestStatement(PrintableMixin): class 89 return self.variant in [ TestStatement.Variant.InOrder, 90 TestStatement.Variant.NextLine, 91 TestStatement.Variant.DAG, 92 TestStatement.Variant.Not ] 95 return self.variant in [ TestStatement.Variant.Eval, 96 TestStatement.Variant.If, 97 TestStatement.Variant.Elif ] 100 return self.variant in [ TestStatement.Variant.Else, 101 TestStatement.Variant.Fi ] [all …]
|
D | test.py | 20 from file_format.checker.struct import CheckerFile, TestCase, TestStatement, TestExpression 204 statement = TestStatement(testCase, variant, content, 0) 229 [ ( "Example Group", [ ("foo", TestStatement.Variant.InOrder), 230 ("bar", TestStatement.Variant.InOrder) ] ) ]) 242 [ ( "Example Group1", [ ("foo", TestStatement.Variant.InOrder), 243 ("bar", TestStatement.Variant.InOrder) ] ), 244 ( "Example Group2", [ ("abc", TestStatement.Variant.InOrder), 245 ("def", TestStatement.Variant.InOrder) ] ) ]) 264 [ ( "Example Group", [ ("foo1", TestStatement.Variant.InOrder), 265 ("foo2", TestStatement.Variant.InOrder), [all …]
|
D | parser.py | 18 from file_format.checker.struct import CheckerFile, TestCase, TestStatement, TestExpression 96 return (plainLine, TestStatement.Variant.InOrder, lineNo), None, None 101 return (nextLine, TestStatement.Variant.NextLine, lineNo), None, None 106 return (dagLine, TestStatement.Variant.DAG, lineNo), None, None 111 return (notLine, TestStatement.Variant.Not, lineNo), None, None 116 return (evalLine, TestStatement.Variant.Eval, lineNo), None, None 122 return (ifLine, TestStatement.Variant.If, lineNo), None, None 127 return (elifLine, TestStatement.Variant.Elif, lineNo), None, None 132 return (elseLine, TestStatement.Variant.Else, lineNo), None, None 137 return (fiLine, TestStatement.Variant.Fi, lineNo), None, None [all …]
|