Lines Matching refs:tests
35 accompanying tests.
373 // learn how Google Test works by reading its unit tests, read
414 """Returns the tests for n-ary predicate assertions."""
416 # A map that defines the values used in the template for the tests.
431 tests = (
451 tests += """
457 tests += Iter(n, 'const T%s& v%s', sep=""",
460 tests += """) {
466 tests += """
471 tests += Iter(n, 'const char* e%s', sep=""",
474 tests += Iter(n, """,
477 tests += """) {
484 tests += Iter(n, 'e%s', sep=' << " + " << ')
486 tests += """
493 tests += """
499 tests += Iter(n, 'const char* e%s', sep=""",
502 tests += Iter(n, """,
505 tests += """) const {
511 tests += """
512 // Tests for {EXPECT|ASSERT}_PRED_FORMAT%(n)s.
520 tests += """
525 tests += """
530 tests += ''.join(["""
535 tests += """
553 tests += Iter(n, """
556 tests += """
563 tests += Iter(n, """int Predicate%%(n)sTest::n%s_;
566 tests += """
588 GenTest(1, 0, 0, 1, 0) returns a test that tests the behavior
661 // Tests a %(successful)s %(assertion)s where the
690 # Generates tests for all 2**6 = 64 combinations.
691 tests += ''.join([GenTest(use_format, use_assert, expect_failure,
700 return tests
704 """Returns the postamble for the tests."""
710 """Returns the tests for up-to n-ary predicate assertions."""