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
280 // %(Arity)s predicate assertion macros.
532 "The predicate assertion didn't evaluate argument %s "
539 FAIL() << "The predicate assertion unexpactedly aborted the test.";
541 FAIL() << "The failed predicate assertion didn't abort the test "
575 """Returns the test for a predicate assertion macro.
578 use_format: true iff the assertion is a *_PRED_FORMAT*.
579 use_assert: true iff the assertion is a ASSERT_*.
580 expect_failure: true iff the assertion is expected to fail.
581 use_functor: true iff the first argument of the assertion is
598 assertion = assrt + '_PRED'
602 assertion += '_FORMAT'
606 assertion += '%(n)s' % DEFS
650 'assertion' : assertion,
661 // Tests a %(successful)s %(assertion)s where the
663 TEST_F(%(assertion)sTest, %(test_name)s) {""" % defs
665 indent = (len(assertion) + 3)*' '
678 test += '\n' + extra_indent + """ %(assertion)s(%(pf)s""" % defs