mardi 5 mai 2015

Gmock assign mock object to protected member

class foo
{
    // some functions which uses class member t
    protected:   
    Test t;
};

Class Test
{
    // some functions

}

and I mocked the class test and how to assign the mock object to class foo? because I am going to test foo class.

Aucun commentaire:

Enregistrer un commentaire