619 {
620
621
622 bool perform_check = false;
623
624 for (int i = 0; i < kExpectedCalls; ++i) {
625 Message msg;
626 msg << "TestsExpandedAndRun/" << i;
627 if (UnitTestOptions::FilterMatchesTest(
628 "TestExpansionModule/MultipleTestGenerationTest",
629 msg.GetString().c_str())) {
630 perform_check = true;
631 }
632 }
633 if (perform_check) {
634 EXPECT_EQ(kExpectedCalls, fixture_constructor_count_)
635 << "Fixture constructor of ParamTestGenerationTest test case "
636 << "has not been run as expected.";
638 << "Fixture SetUp method of ParamTestGenerationTest test case "
639 << "has not been run as expected.";
640 EXPECT_EQ(kExpectedCalls, tear_down_count_)
641 << "Fixture TearDown method of ParamTestGenerationTest test case "
642 << "has not been run as expected.";
643 EXPECT_EQ(kExpectedCalls, test_body_count_)
644 << "Test in ParamTestGenerationTest test case "
645 << "has not been run as expected.";
646 }
647 }
#define EXPECT_EQ(val1, val2)