Searched refs:Variant (Results 1 – 6 of 6) sorted by relevance
/art/tools/checker/file_format/checker/ |
D | struct.py | 69 class Variant(object): class in TestStatement 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 | 171 self.assertVariantNotEqual("<<>>", TestExpression.Variant.VarRef) 172 self.assertVariantNotEqual("<<:>>", TestExpression.Variant.VarDef) 175 self.assertVariantNotEqual("<<0ABC>>", TestExpression.Variant.VarRef) 176 self.assertVariantNotEqual("<<AB=C>>", TestExpression.Variant.VarRef) 177 self.assertVariantNotEqual("<<ABC=>>", TestExpression.Variant.VarRef) 178 self.assertVariantNotEqual("<<0ABC:abc>>", TestExpression.Variant.VarDef) 179 self.assertVariantNotEqual("<<AB=C:abc>>", TestExpression.Variant.VarDef) 180 self.assertVariantNotEqual("<<ABC=:abc>>", TestExpression.Variant.VarDef) 229 [ ( "Example Group", [ ("foo", TestStatement.Variant.InOrder), 230 ("bar", TestStatement.Variant.InOrder) ] ) ]) [all …]
|
D | parser.py | 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
|
/art/tools/checker/match/ |
D | file.py | 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, 282 TestStatement.Variant.Else, [all …]
|
D | line.py | 29 if expression.variant == TestExpression.Variant.Separator: 53 if expression.variant == TestExpression.Variant.VarRef: 65 if expression.variant == TestExpression.Variant.VarDef: 81 assert checkerLine.variant != TestStatement.Variant.Eval 106 if expression.variant == TestExpression.Variant.PlainText: 109 assert expression.variant == TestExpression.Variant.VarRef
|
D | test.py | 35 return ParseCheckerStatement(testCase, checkerString, TestStatement.Variant.InOrder, 0)
|