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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes

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

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.


Alon Sapozhnikov.

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