Lines Matching refs:test
46 unit test in file gtest_pred_impl_unittest.cc.
61 # Where to store the generated unit test.
62 UNIT_TEST = os.path.join(SCRIPT_DIR, '../test/gtest_pred_impl_unittest.cc')
326 """Returns the preamble for the unit test file."""
368 // Regression test for gtest_pred_impl.h
374 // This is intended as a regression test for the Google Test predicate
383 // stand-alone regression test.
534 // Verifies that the control flow in the test function is expected.
536 FAIL() << "The predicate assertion unexpactedly aborted the test.";
538 FAIL() << "The failed predicate assertion didn't abort the test "
543 // true iff the test function is expected to run to finish.
546 // true iff the test function did run to finish.
572 """Returns the test for a predicate assertion macro.
585 GenTest(1, 0, 0, 1, 0) returns a test that tests the behavior
643 # A map that defines the values used in the test template.
657 test = """
668 test += """
672 test += """
675 test += '\n' + extra_indent + """ %(assertion)s(%(pf)s""" % defs
677 test = test % defs
678 test += Iter(n, ',\n' + indent + extra_indent + '%(arg)s' % defs)
679 test += ');\n' + extra_indent + ' finished_ = true;\n'
682 test += ' }, "");\n'
684 test += '}\n'
685 return test
717 unit test."""