mercredi 29 juin 2016

Google Mock: return Vector

I am new to gtest and gmock framework, i am writing unit test case for application where method return vector.

I want to mock function which is returning vector using gmock, what will be possible EXPECT_CALL syntax for returning vector value.

syntax for my function is as below vector GetStringList();

Please suggest possible solution for this.

Aucun commentaire:

Enregistrer un commentaire