Searched refs:assertion (Results 1 – 6 of 6) sorted by relevance
/art/tools/checker/match/ |
D | file.py | 26 def __init__(self, assertion, lineNo, variables): argument 27 self.assertion = assertion 37 for assertion in assertions: 38 if (assertion.variant == lastVariant and 39 assertion.variant in [TestAssertion.Variant.DAG, TestAssertion.Variant.Not]): 40 splitAssertions[-1].append(assertion) 42 splitAssertions.append([assertion]) 43 lastVariant = assertion.variant 46 def findMatchingLine(assertion, c1Pass, scope, variables, excludeLines=[]): argument 59 newVariables = MatchLines(assertion, c1Pass.body[i], variables) [all …]
|
/art/tools/checker/file_format/checker/ |
D | parser.py | 136 assertion = TestAssertion(parent, variant, line, lineNo) 159 assertion.addExpression(TestExpression.createSeparator()) 164 assertion.addExpression(TestExpression.createPattern(pattern)) 169 assertion.addExpression(TestExpression.createVariableReference(name)) 176 assertion.addExpression(TestExpression.createVariableDefinition(name, body)) 189 assertion.addExpression(TestExpression.createPlainText(text)) 191 assertion.addExpression(TestExpression.createPatternFromPlainText(text)) 192 return assertion
|
D | test.py | 204 assertion = TestAssertion(testCase, variant, content, 0) 205 assertion.addExpression(TestExpression.createPatternFromPlainText(content)) 379 assertion = testCase.assertions[0] 380 self.assertEqual(assertion.variant, TestAssertion.Variant.Eval) 381 self.assertEqual(assertion.originalText, string) 382 return assertion.expressions 387 assertion = testCase.assertions[0] 388 self.assertEqual(assertion.variant, TestAssertion.Variant.Eval) 389 self.assertEqual(assertion.originalText, text) 390 self.assertEqual(len(assertion.expressions), 1) [all …]
|
/art/tools/checker/common/ |
D | logger.py | 97 def testFailed(msg, assertion, variables): argument 99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
|
/art/tools/ |
D | prebuilt_libjdwp_art_failures.txt | 28 description: "Tests fail with assertion error on slot number", 35 description: "Test fails with assertion error 'Invalid Path' for class path.",
|
/art/tools/checker/ |
D | README | 30 therefore create a scope within which the assertion is verified.
|