mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
Mark Mentovai
486429e4f4
util/net: Place death tests into a *DeathTest test case.
Not doing this causes gtest to issue these warnings: [WARNING] ../../third_party/gtest/gtest/src/gtest-death-test.cc:825:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 4 threads. The gtest documentation recommends giving the test case a name ending in DeathTest. Test cases named according to this convention run before all other tests. Other death tests in Crashpad also follow this convention. https://code.google.com/p/googletest/wiki/AdvancedGuide#Death_Tests_And_Threads TEST=util_test HTTPMultipartBuilderDeathTest.* R=rsesek@chromium.org Review URL: https://codereview.chromium.org/694963002
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%