mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Make the Parser independent from the global C-locale (#5028)
* Make the Parser independent from the global C-locale * Set a specific test locale using the environment variable FLATBUFFERS_TEST_LOCALE * Remove redundant static qualifiers
This commit is contained in:
parent
d6b1ce09cf
commit
5f32f94810
15 changed files with 480 additions and 277 deletions
|
|
@ -17,10 +17,9 @@ void TestFail(const char *expval, const char *val, const char *exp,
|
|||
testing_fails++;
|
||||
|
||||
// Notify, emulate 'gtest::OnTestPartResult' event handler.
|
||||
if(fail_listener_)
|
||||
(*fail_listener_)(expval, val, exp, file, line, func);
|
||||
if (fail_listener_) (*fail_listener_)(expval, val, exp, file, line, func);
|
||||
|
||||
assert(0); // ignored in Release if NDEBUG defined
|
||||
assert(0); // ignored in Release if NDEBUG defined
|
||||
}
|
||||
|
||||
void TestEqStr(const char *expval, const char *val, const char *exp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue