I've starting using HippoMocks for writing unit tests. I would like to know if it's possible to mock non-virtual class methods?
A first look at the code seems to indicate that the framework only supports virtual methods. But as it supports the mocking of simple C functions, it should be possible to do the same for non-virtual class methods.
Is there a way to achieve that?
Aucun commentaire:
Enregistrer un commentaire