Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: components/browser_watcher/exit_code_watcher_win_unittest.cc

Issue 2692843002: Fail tests fast if overriding the Windows registry fails. (Closed)
Patch Set: sync to position 450085 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/browser_watcher/exit_code_watcher_win_unittest.cc
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
index 4c2c1d9dfbc78fe1526256333566095e7bff37d3..9c1a0741b940f634832f71eca7c6a7595aafb36e 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -85,7 +85,8 @@ class ExitCodeWatcherTest : public testing::Test {
void SetUp() override {
Super::SetUp();
- override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
+ ASSERT_NO_FATAL_FAILURE(
+ override_manager_.OverrideRegistry(HKEY_CURRENT_USER));
}
base::Process OpenSelfWithAccess(uint32_t access) {
« no previous file with comments | « chrome_elf/nt_registry/nt_registry_unittest.cc ('k') | components/browser_watcher/watcher_metrics_provider_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698