Home | History | Annotate | Download | only in scripts

Lines Matching refs:assertion

113 // Implements a family of generic predicate assertion macros.
123 // This header implements a family of generic predicate assertion
278 // %(Arity)s predicate assertion macros.
529 "The predicate assertion didn't evaluate argument %s "
536 FAIL() << "The predicate assertion unexpactedly aborted the test.";
538 FAIL() << "The failed predicate assertion didn't abort the test "
572 """Returns the test for a predicate assertion macro.
575 use_format: true iff the assertion is a *_PRED_FORMAT*.
576 use_assert: true iff the assertion is a ASSERT_*.
577 expect_failure: true iff the assertion is expected to fail.
578 use_functor: true iff the first argument of the assertion is
595 assertion = assrt + '_PRED'
599 assertion += '_FORMAT'
603 assertion += '%(n)s' % DEFS
647 'assertion' : assertion,
658 // Tests a %(successful)s %(assertion)s where the
660 TEST_F(%(assertion)sTest, %(test_name)s) {""" % defs
662 indent = (len(assertion) + 3)*' '
675 test += '\n' + extra_indent + """ %(assertion)s(%(pf)s""" % defs