You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FunctionMockerBase<F>::AddNewExpectation() modifies untyped_expectations_
without locking g_gmock_mutex.
It can cause a crash if another thread calls the same function or
FindMatchingExpectationLocked().
Google Mock version: 1.7.0
Original issue reported on code.google.com by n...@tresorit.com on 11 Nov 2013 at 6:49
The text was updated successfully, but these errors were encountered:
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
Original issue reported on code.google.com by
n...@tresorit.com
on 11 Nov 2013 at 6:49The text was updated successfully, but these errors were encountered: