Lines Matching refs:tests
35 accompanying tests.
371 // learn how Google Test works by reading its unit tests, read
412 """Returns the tests for n-ary predicate assertions."""
414 # A map that defines the values used in the template for the tests.
429 tests = (
449 tests += """
455 tests += Iter(n, 'const T%s& v%s', sep=""",
458 tests += """) {
464 tests += """
469 tests += Iter(n, 'const char* e%s', sep=""",
472 tests += Iter(n, """,
475 tests += """) {
482 tests += Iter(n, 'e%s', sep=' << " + " << ')
484 tests += """
490 tests += """
496 tests += Iter(n, 'const char* e%s', sep=""",
499 tests += Iter(n, """,
502 tests += """) const {
508 tests += """
517 tests += """
522 tests += """
527 tests += ''.join(["""
532 tests += """
550 tests += Iter(n, """
553 tests += """
560 tests += Iter(n, """int Predicate%%(n)sTest::n%s_;
563 tests += """
585 GenTest(1, 0, 0, 1, 0) returns a test that tests the behavior
687 # Generates tests for all 2**6 = 64 combinations.
688 tests += ''.join([GenTest(use_format, use_assert, expect_failure,
697 return tests
701 """Returns the postamble for the tests."""
707 """Returns the tests for up-to n-ary predicate assertions."""