test.h
template <typename T>
T* test(int a)
{
//do something...
}
test.cpp
---------------------------------------------
temp.h
namespace Ext{
struct EXTERNAL Dev : public abc::xyz{
---
----
}
--------
pointer->test<Ext::Dev>(4);
how to mock test function & how to call EXPECT_CALL(obj, test)..?
Aucun commentaire:
Enregistrer un commentaire