Open GoogleCodeExporter opened 9 years ago
[deleted comment]
It's pretty important, googlemock always crashes when used from multiple
threads...
Original comment by n...@tresorit.com
on 22 Oct 2014 at 11:09
Expectations must be set when setting up the mock, before calling the mock
methods.
From the document at https://code.google.com/p/googlemock/wiki/V1_7_ForDummies:
"Important note: Google Mock requires expectations to be set before the mock
functions are called, otherwise the behavior is undefined. In particular, you
mustn't interleave EXPECT_CALL()s and calls to the mock functions."
Original comment by sbe...@google.com
on 22 Oct 2014 at 4:25
The crash also happens if multiple threads call EXPECT_CALL at the same time, I
think that should work.
Original comment by n...@tresorit.com
on 27 Oct 2014 at 4:12
Original issue reported on code.google.com by
n...@tresorit.com
on 11 Nov 2013 at 6:49