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

Unified Diff: chrome/browser/policy/device_policy_cache_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 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 | « chrome/browser/policy/device_policy_cache.cc ('k') | chrome/browser/policy/policy_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_policy_cache_unittest.cc
diff --git a/chrome/browser/policy/device_policy_cache_unittest.cc b/chrome/browser/policy/device_policy_cache_unittest.cc
index cd9d0623ae4317bd3157327875b8f2a8153f6a0a..930e5bca2e2a03259f9df23290d19252f9ce9982 100644
--- a/chrome/browser/policy/device_policy_cache_unittest.cc
+++ b/chrome/browser/policy/device_policy_cache_unittest.cc
@@ -119,7 +119,7 @@ TEST_F(DevicePolicyCacheTest, Startup) {
policy));
cache_->Load();
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_);
- base::FundamentalValue expected(120);
+ base::NumberValue expected(120);
EXPECT_TRUE(Value::Equals(&expected,
GetMandatoryPolicy(
kPolicyDevicePolicyRefreshRate)));
@@ -138,7 +138,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicy) {
policy));
cache_->Load();
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_);
- base::FundamentalValue expected(120);
+ base::NumberValue expected(120);
EXPECT_TRUE(Value::Equals(&expected,
GetMandatoryPolicy(
kPolicyDevicePolicyRefreshRate)));
@@ -154,7 +154,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicy) {
EXPECT_CALL(signed_settings_helper_, CancelCallback(_));
cache_->SetPolicy(new_policy);
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_);
- base::FundamentalValue updated_expected(300);
+ base::NumberValue updated_expected(300);
EXPECT_TRUE(Value::Equals(&updated_expected,
GetMandatoryPolicy(
kPolicyDevicePolicyRefreshRate)));
@@ -181,7 +181,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicyWrongUser) {
cache_->SetPolicy(new_policy);
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_);
- base::FundamentalValue expected(120);
+ base::NumberValue expected(120);
EXPECT_TRUE(Value::Equals(&expected,
GetMandatoryPolicy(
kPolicyDevicePolicyRefreshRate)));
@@ -206,7 +206,7 @@ TEST_F(DevicePolicyCacheTest, SetPolicyNonEnterpriseDevice) {
cache_->SetPolicy(new_policy);
testing::Mock::VerifyAndClearExpectations(&signed_settings_helper_);
- base::FundamentalValue expected(120);
+ base::NumberValue expected(120);
EXPECT_TRUE(Value::Equals(&expected,
GetMandatoryPolicy(
kPolicyDevicePolicyRefreshRate)));
« no previous file with comments | « chrome/browser/policy/device_policy_cache.cc ('k') | chrome/browser/policy/policy_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698