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

Unified Diff: base/registry_unittest.cc

Issue 3132035: base: Assert that RegKey::ValueCount() is updated according in RegistryTest. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/registry_unittest.cc
diff --git a/base/registry_unittest.cc b/base/registry_unittest.cc
old mode 100644
new mode 100755
index a7d30bada07ddb877d9c68e9cc70d62106fc1b8e..2618a75be1b90e29d1169df832f0b9f572c608e0
--- a/base/registry_unittest.cc
+++ b/base/registry_unittest.cc
@@ -51,6 +51,7 @@ TEST_F(RegistryTest, ValueTest) {
EXPECT_TRUE(key.ReadValue(kName, &out_value));
EXPECT_NE(out_value, L"");
EXPECT_STREQ(out_value.c_str(), kValue);
+ EXPECT_EQ(1U, key.ValueCount());
EXPECT_TRUE(key.DeleteValue(kName));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698