chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hello,

I have a private map in an Object which values are std::unique_ptr<...>.
Is there a way to access this map from my test ? Or a pointer to the map (without modifying the Object) ? (I can't use ISOLATOR_GET_VARIABLE because of the unique_ptr)

Thank you
asked by C.BORDE (600 points)

1 Answer

0 votes
Hi,

We don't support faking STD functions such as unique_ptr, if I understood correctly you are not trying to fake it but only access it?

To be honest I didn't fully understand what are you trying to achieve in your test.

Can you share an example of a test you are trying to write? or even better a small simple project?

Please keep me posted.

Cheers,

Alon Sapozhnikov.

Support Specialist.
answered by Alon_TypeMock (7.1k points)
edited by Alon_TypeMock
...