Searched refs:TestAssertion (Results 1 – 6 of 6) sorted by relevance
/art/tools/checker/match/ |
D | file.py | 19 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion 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 184 if e.assertion.variant == TestAssertion.Variant.Not:
|
D | line.py | 16 from file_format.checker.struct import TestExpression, TestAssertion 80 assert checkerLine.variant != TestAssertion.Variant.Eval 112 assert checkerLine.variant == TestAssertion.Variant.Eval
|
D | test.py | 20 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion 34 return ParseCheckerAssertion(testCase, checkerString, TestAssertion.Variant.InOrder, 0)
|
/art/tools/checker/file_format/checker/ |
D | test.py | 20 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion, TestExpression 204 assertion = TestAssertion(testCase, variant, content, 0) 226 [ ( "Example Group", [ ("foo", TestAssertion.Variant.InOrder), 227 ("bar", TestAssertion.Variant.InOrder) ] ) ]) 239 [ ( "Example Group1", [ ("foo", TestAssertion.Variant.InOrder), 240 ("bar", TestAssertion.Variant.InOrder) ] ), 241 ( "Example Group2", [ ("abc", TestAssertion.Variant.InOrder), 242 ("def", TestAssertion.Variant.InOrder) ] ) ]) 256 [ ( "Example Group", [ ("foo1", TestAssertion.Variant.InOrder), 257 ("foo2", TestAssertion.Variant.InOrder), [all …]
|
D | parser.py | 18 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion, TestExpression 69 return (plainLine, TestAssertion.Variant.InOrder, lineNo), None, None 74 return (nextLine, TestAssertion.Variant.NextLine, lineNo), None, None 79 return (dagLine, TestAssertion.Variant.DAG, lineNo), None, None 84 return (notLine, TestAssertion.Variant.Not, lineNo), None, None 89 return (evalLine, TestAssertion.Variant.Eval, lineNo), None, None 109 assertion = TestAssertion(parent, variant, line, lineNo) 110 isEvalLine = (variant == TestAssertion.Variant.Eval)
|
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): 74 class TestAssertion(PrintableMixin): class 97 if self.variant == TestAssertion.Variant.Not:
|