tests: stop using legacy gtest APIs

These are being removed from gtest, so stop using them.

Bug: chromium:1474588
Change-Id: I0d42da9f14dad5c5dc17d980146cb289d444dbda
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4803329
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2023-08-22 18:09:55 -04:00 committed by Crashpad LUCI CQ
parent a736f7d070
commit 52c427a2e4

View File

@ -191,7 +191,7 @@ std::unique_ptr<WinChildProcess::Handles> WinChildProcess::Launch() {
TestPaths::Executable().value() + TestPaths::Executable().value() +
base::UTF8ToWide(base::StringPrintf( base::UTF8ToWide(base::StringPrintf(
" --gtest_filter=%s.%s %s=0x%x|0x%x --gtest_also_run_disabled_tests", " --gtest_filter=%s.%s %s=0x%x|0x%x --gtest_also_run_disabled_tests",
test_info->test_case_name(), test_info->test_suite_name(),
test_info->name(), test_info->name(),
kIsMultiprocessChild, kIsMultiprocessChild,
HandleToInt(write_for_child.get()), HandleToInt(write_for_child.get()),