Commit 53d357c7 authored by tfarina@chromium.org's avatar tfarina@chromium.org

base: Assert that RegKey::ValueCount() is updated according in RegistryTest.

BUG=None
TEST=out/Debug/base_unittests --gtest_filter=RegistryTest.ValueTest

Review URL: http://codereview.chromium.org/3132035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57289 0039d316-1c4b-4281-b951-d872f2087c98
parent e1100721
......@@ -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));
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment