Home
last modified time | relevance | path

Searched refs:assertion (Results 1 – 6 of 6) sorted by relevance

/art/tools/checker/match/
Dfile.py26 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/
Dparser.py136 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
Dtest.py204 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/
Dlogger.py97 def testFailed(msg, assertion, variables): argument
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
/art/tools/
Dprebuilt_libjdwp_art_failures.txt28 description: "Tests fail with assertion error on slot number",
35 description: "Test fails with assertion error 'Invalid Path' for class path.",
/art/tools/checker/
DREADME30 therefore create a scope within which the assertion is verified.