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

Unified Diff: chrome/installer/util/scoped_user_protocol_entry_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: chrome/installer/util/scoped_user_protocol_entry_unittest.cc
diff --git a/chrome/installer/util/scoped_user_protocol_entry_unittest.cc b/chrome/installer/util/scoped_user_protocol_entry_unittest.cc
index b7e3eea1914c57c762ebe5900707ee588cf2a8a2..2cef9eeeba6e467da3672f02baeeeed1cb153847 100644
--- a/chrome/installer/util/scoped_user_protocol_entry_unittest.cc
+++ b/chrome/installer/util/scoped_user_protocol_entry_unittest.cc
@@ -21,7 +21,8 @@ class ScopedUserProtocolEntryTest : public testing::Test {
static const wchar_t kProtocolEntryFakeValue[];
void SetUp() override {
- registry_overrides_manager_.OverrideRegistry(HKEY_CURRENT_USER);
+ ASSERT_NO_FATAL_FAILURE(
+ registry_overrides_manager_.OverrideRegistry(HKEY_CURRENT_USER));
ASSERT_FALSE(RegistryEntry(kProtocolEntryKeyPath, kProtocolEntryName,
base::string16())
.KeyExistsInRegistry(RegistryEntry::LOOK_IN_HKCU));
« no previous file with comments | « chrome/installer/util/product_unittest.cc ('k') | chrome/installer/util/set_reg_value_work_item_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698