Hi -- sorry to be spamming the group, I'm reading all the docs and previous threads, honest! :)
I'm running into this compilation error when I try to set an expectation of a call on a mock object in a shared_ptr:
test/poc/poc_test.cpp: In constructor '{anonymous}::PocTest::PocTest()':
test/poc/poc_test.cpp:95:1: error: 'const struct poc::IPoc1' has no member named 'gmock_get_str'
As you can see, I'm dereferencing the shared_ptr, which *should* work, shouldn't it?
I've tried using Pointee, too, which didn't work, nor did dereferencing the pointer obtained explicitly by shared:ptr<>::get()
Could anyone advise me on how to set the expectation I need?
& again, sorry for all the questions -- I'm getting there, I promise.
Cheers,
Doug.