SOPC_ASSERT is not properly testable
The current SOPC_ASSERT
implementation makes it impossible (...) to test properly assertions (use case with GTEST)
The reason is that after first call, the reentrance protection branches the code out of gUserCallback
.
Moreover, the use of Logger may lead to reentrance, which is not expected, at least for the case where a gUserCallback
is defined.