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

Unified Diff: chrome/installer/util/product_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/product_unittest.cc
diff --git a/chrome/installer/util/product_unittest.cc b/chrome/installer/util/product_unittest.cc
index 8302c4727d6cf46846fab7e3ada9c1335a08f44d..8cf2b8b93eebe4fb5908ab4781b99379c5889ee2 100644
--- a/chrome/installer/util/product_unittest.cc
+++ b/chrome/installer/util/product_unittest.cc
@@ -46,7 +46,7 @@ TEST(ProductTest, ProductInstallBasic) {
HKEY root = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
{
RegistryOverrideManager override_manager;
- override_manager.OverrideRegistry(root);
+ ASSERT_NO_FATAL_FAILURE(override_manager.OverrideRegistry(root));
// There should be no installed version in the registry.
machine_state.Initialize();
« no previous file with comments | « chrome/installer/util/product_state_unittest.cc ('k') | chrome/installer/util/scoped_user_protocol_entry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698