567 {
568
569
570 bool perform_check = false;
571
572 for (
int i = 0;
i < kExpectedCalls; ++
i) {
573 Message msg;
574 msg <<
"TestsExpandedAndRun/" <<
i;
575 if (UnitTestOptions::FilterMatchesTest(
576 "TestExpansionModule/MultipleTestGenerationTest",
577 msg.GetString().c_str())) {
578 perform_check = true;
579 }
580 }
581 if (perform_check) {
582 EXPECT_EQ(kExpectedCalls, fixture_constructor_count_)
583 << "Fixture constructor of ParamTestGenerationTest test case "
584 << "has not been run as expected.";
586 << "Fixture SetUp method of ParamTestGenerationTest test case "
587 << "has not been run as expected.";
588 EXPECT_EQ(kExpectedCalls, tear_down_count_)
589 << "Fixture TearDown method of ParamTestGenerationTest test case "
590 << "has not been run as expected.";
591 EXPECT_EQ(kExpectedCalls, test_body_count_)
592 << "Test in ParamTestGenerationTest test case "
593 << "has not been run as expected.";
594 }
595 }
#define EXPECT_EQ(val1, val2)