+ Mock::VerifyAndClearExpectations(&mock_gbm);
Something seems wrong here. mock_gbm is destroyed on test exit and its expectations validated there. Why do we need this (apparently redundant) explicit check just before test exit?
« Back to merge proposal
+ Mock::VerifyAnd ClearExpectatio ns(&mock_ gbm);
Something seems wrong here. mock_gbm is destroyed on test exit and its expectations validated there. Why do we need this (apparently redundant) explicit check just before test exit?