Home
last modified time | relevance | path

Searched refs:Variant (Results 1 – 7 of 7) sorted by relevance

/art/tools/checker/file_format/checker/
Dstruct.py70 class Variant(enum.IntEnum): class in TestStatement
90 return self.variant in [TestStatement.Variant.IN_ORDER,
91 TestStatement.Variant.NEXT_LINE,
92 TestStatement.Variant.DAG,
93 TestStatement.Variant.NOT]
96 return self.variant in [TestStatement.Variant.EVAL,
97 TestStatement.Variant.IF,
98 TestStatement.Variant.ELIF]
101 return self.variant in [TestStatement.Variant.ELSE,
102 TestStatement.Variant.FI]
[all …]
Dtest.py172 self.assertVariantNotEqual("<<>>", TestExpression.Variant.VAR_REF)
173 self.assertVariantNotEqual("<<:>>", TestExpression.Variant.VAR_DEF)
176 self.assertVariantNotEqual("<<0ABC>>", TestExpression.Variant.VAR_REF)
177 self.assertVariantNotEqual("<<AB=C>>", TestExpression.Variant.VAR_REF)
178 self.assertVariantNotEqual("<<ABC=>>", TestExpression.Variant.VAR_REF)
179 self.assertVariantNotEqual("<<0ABC:abc>>", TestExpression.Variant.VAR_DEF)
180 self.assertVariantNotEqual("<<AB=C:abc>>", TestExpression.Variant.VAR_DEF)
181 self.assertVariantNotEqual("<<ABC=:abc>>", TestExpression.Variant.VAR_DEF)
230 [("Example Group", [("foo", TestStatement.Variant.IN_ORDER),
231 ("bar", TestStatement.Variant.IN_ORDER)])])
[all …]
Dparser.py99 return (plain_line, TestStatement.Variant.IN_ORDER, line_no), None, None
104 return (next_line, TestStatement.Variant.NEXT_LINE, line_no), None, None
109 return (dag_line, TestStatement.Variant.DAG, line_no), None, None
114 return (not_line, TestStatement.Variant.NOT, line_no), None, None
119 return (eval_line, TestStatement.Variant.EVAL, line_no), None, None
125 return (if_line, TestStatement.Variant.IF, line_no), None, None
130 return (elif_line, TestStatement.Variant.ELIF, line_no), None, None
135 return (else_line, TestStatement.Variant.ELSE, line_no), None, None
140 return (fi_line, TestStatement.Variant.FI, line_no), None, None
/art/tools/checker/match/
Dfile.py87 if variant is TestStatement.Variant.IF:
89 elif variant is TestStatement.Variant.ELIF:
91 elif variant is TestStatement.Variant.ELSE:
94 assert variant is TestStatement.Variant.FI
221 assert statement.variant == TestStatement.Variant.DAG
239 assert statement.variant == TestStatement.Variant.NOT
266 if self.last_variant not in [TestStatement.Variant.IN_ORDER, TestStatement.Variant.NEXT_LINE]:
286 if variant in [TestStatement.Variant.IF,
287 TestStatement.Variant.ELIF,
288 TestStatement.Variant.ELSE,
[all …]
Dline.py32 if expression.variant == TestExpression.Variant.SEPARATOR:
59 if expression.variant == TestExpression.Variant.VAR_REF:
78 if expression.variant == TestExpression.Variant.VAR_DEF:
95 assert checker_line.variant != TestStatement.Variant.EVAL
121 if expression.variant == TestExpression.Variant.PLAIN_TEXT:
124 assert expression.variant == TestExpression.Variant.VAR_REF
Dtest.py33 return parse_checker_statement(test_case, checker_string, TestStatement.Variant.IN_ORDER, 0)
/art/test/
DAndroid.bp89 // Variant of art_test_defaults that installs the library in a location which