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 try to create tests using typemock isolator C++ and nlohmann json library (https://github.com/nlohmann/json).

My envierement: Ubuntu 20.04.2 LTS + JetBrains Clion 2021.1.3 + Typemock Isolator C++ 4.1.3 + nlohman json 3.9.1 + google test from typemock package.

When I build test project with using nlohmann::json object in my code .cpp file, builded executable freezes when run and does not print anything.

If I comment lines in my code .cpp file that contents nlohmann::json object, result builded executable works correct i.e. it prints test results when run.

So my question is where did I make a mistake in program or configuration or isolater c++ is not compatible with nlohmann json library?

P.S. I can send a simple test project in which you can watch this problem, but there is no form for attachments.
asked by MYPOBbED (600 points)

1 Answer

0 votes

Hi.

I'm sending you a private mail for you to send the attachment.

Cheers,
Alon Sapozhnikov.

answered by Alon_TypeMock (7.1k points)
...