Searched refs:Variant (Results 1 – 6 of 6) sorted by relevance
/art/tools/checker/file_format/checker/ |
D | struct.py | 59 if new_assertion.variant == TestAssertion.Variant.NextLine: 61 (self.assertions[-1].variant != TestAssertion.Variant.InOrder and \ 62 self.assertions[-1].variant != TestAssertion.Variant.NextLine): 76 class Variant(object): class in TestAssertion 97 if self.variant == TestAssertion.Variant.Not: 98 if new_expression.variant == TestExpression.Variant.VarDef: 106 if expression.variant == TestExpression.Variant.Separator: 120 class Variant(object): class in TestExpression 151 return TestExpression(TestExpression.Variant.Separator, None, None) 155 return TestExpression(TestExpression.Variant.PlainText, None, text) [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) 226 [ ( "Example Group", [ ("foo", TestAssertion.Variant.InOrder), 227 ("bar", TestAssertion.Variant.InOrder) ] ) ]) [all …]
|
D | parser.py | 96 return (plainLine, TestAssertion.Variant.InOrder, lineNo), None, None 101 return (nextLine, TestAssertion.Variant.NextLine, lineNo), None, None 106 return (dagLine, TestAssertion.Variant.DAG, lineNo), None, None 111 return (notLine, TestAssertion.Variant.Not, lineNo), None, None 116 return (evalLine, TestAssertion.Variant.Eval, lineNo), None, None 137 isEvalLine = (variant == TestAssertion.Variant.Eval)
|
/art/tools/checker/match/ |
D | line.py | 28 if expression.variant == TestExpression.Variant.Separator: 52 if expression.variant == TestExpression.Variant.VarRef: 64 if expression.variant == TestExpression.Variant.VarDef: 80 assert checkerLine.variant != TestAssertion.Variant.Eval 105 if expression.variant == TestExpression.Variant.PlainText: 108 assert expression.variant == TestExpression.Variant.VarRef 112 assert checkerLine.variant == TestAssertion.Variant.Eval
|
D | file.py | 39 assertion.variant in [TestAssertion.Variant.DAG, TestAssertion.Variant.Not]): 77 assert assertion.variant == TestAssertion.Variant.DAG 94 assert assertion.variant == TestAssertion.Variant.Not 126 elif assertionGroup[0].variant == TestAssertion.Variant.Not: 131 elif assertionGroup[0].variant == TestAssertion.Variant.InOrder: 136 elif assertionGroup[0].variant == TestAssertion.Variant.NextLine: 141 elif assertionGroup[0].variant == TestAssertion.Variant.DAG: 146 assert assertionGroup[0].variant == TestAssertion.Variant.Eval 186 if e.assertion.variant == TestAssertion.Variant.Not:
|
D | test.py | 34 return ParseCheckerAssertion(testCase, checkerString, TestAssertion.Variant.InOrder, 0)
|