Searched refs:kTestPref (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_pref_store_unittest.cc33 const char kTestPref[] = "test.pref"; member in namespace:__anon6696
45 kTestPolicy, kTestPref, base::Value::TYPE_LIST)));
50 EXPECT_FALSE(store_->GetValue(kTestPref, NULL));
62 EXPECT_TRUE(store_->GetValue(kTestPref, &value));
73 kTestPolicy, kTestPref, base::Value::TYPE_STRING)));
78 EXPECT_FALSE(store_->GetValue(kTestPref, NULL));
90 EXPECT_TRUE(store_->GetValue(kTestPref, &value));
101 kTestPolicy, kTestPref, base::Value::TYPE_BOOLEAN)));
106 EXPECT_FALSE(store_->GetValue(kTestPref, NULL));
118 EXPECT_TRUE(store_->GetValue(kTestPref,
[all...]
H A Dconfiguration_policy_handler_unittest.cc30 const char kTestPref[] = "unit_test.test_pref"; member in namespace:policy::__anon6694
58 kTestPref,
101 kTestPref,
107 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
115 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
122 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
132 IntRangePolicyHandler handler(kTestPolicy, kTestPref, 0, 10, true);
200 IntRangePolicyHandler handler(kTestPolicy, kTestPref, 0, 10, false);
270 IntRangePolicyHandler handler(kTestPolicy, kTestPref, 0, 10, true);
281 EXPECT_TRUE(prefs.GetValue(kTestPref,
[all...]
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_policy_handler_unittest.cc17 const char kTestPref[] = "unit_test.test_pref"; member in namespace:extensions
23 policy::key::kNativeMessagingBlacklist, kTestPref, true);
82 policy::key::kNativeMessagingBlacklist, kTestPref, true);
93 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
105 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
115 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
/external/chromium_org/chrome/browser/extensions/
H A Dpolicy_handlers_unittest.cc17 const char kTestPref[] = "unit_test.test_pref"; member in namespace:extensions
24 policy::key::kExtensionInstallBlacklist, kTestPref, true);
75 policy::key::kExtensionInstallBlacklist, kTestPref, false);
86 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
96 EXPECT_TRUE(prefs.GetValue(kTestPref, &value));
209 policy::key::kExtensionInstallSources, kTestPref);
271 policy::key::kExtensionInstallSources, kTestPref);
280 ASSERT_TRUE(prefs.GetValue(kTestPref, &value));

Completed in 58 milliseconds