Home
last modified time | relevance | path

Searched refs:kTestPolicy (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler_unittest.cc29 const char kTestPolicy[] = "unit_test.test_policy"; variable
57 kTestPolicy, in TEST()
61 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST()
68 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST()
75 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST()
80 EXPECT_FALSE(errors.GetErrors(kTestPolicy).empty()); in TEST()
82 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST()
88 EXPECT_FALSE(errors.GetErrors(kTestPolicy).empty()); in TEST()
98 kTestPolicy, in TEST()
102 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST()
[all …]
Dconfiguration_policy_pref_store_unittest.cc32 const char kTestPolicy[] = "test.policy"; variable
45 kTestPolicy, kTestPref, base::Value::TYPE_LIST))); in SetUp()
58 policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST_F()
73 kTestPolicy, kTestPref, base::Value::TYPE_STRING))); in SetUp()
83 policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST_F()
99 kTestPolicy, kTestPref, base::Value::TYPE_BOOLEAN))); in SetUp()
109 policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST_F()
120 policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST_F()
137 kTestPolicy, kTestPref, base::Value::TYPE_INTEGER))); in SetUp()
147 policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST_F()
[all …]
/external/chromium_org/components/policy/core/common/cloud/
Dcomponent_cloud_policy_store_unittest.cc36 const char kTestPolicy[] = variable
48 return crypto::SHA256HashString(kTestPolicy); in TestPolicyHash()
187 ns, CreateSerializedResponse(), TestPolicyHash(), kTestPolicy)); in TEST_F()
217 ns, CreateSerializedResponse(), TestPolicyHash(), kTestPolicy)); in TEST_F()
225 ns, CreateSerializedResponse(), "badash", kTestPolicy)); in TEST_F()
230 ns, CreateSerializedResponse(), std::string(), kTestPolicy)); in TEST_F()
247 ns, CreateSerializedResponse(), TestPolicyHash(), kTestPolicy)); in TEST_F()
267 ns, CreateSerializedResponse(), TestPolicyHash(), kTestPolicy)); in TEST_F()
288 ns, CreateSerializedResponse(), TestPolicyHash(), kTestPolicy)); in TEST_F()
Dcomponent_cloud_policy_updater_unittest.cc46 const char kTestPolicy[] = variable
107 builder_.payload().set_secure_hash(crypto::SHA256HashString(kTestPolicy)); in SetUp()
140 fetcher->SetResponseString(kTestPolicy); in TEST_F()
208 crypto::SHA256HashString(kTestPolicy), in TEST_F()
209 kTestPolicy)); in TEST_F()
289 fetcher->SetResponseString(kTestPolicy); in TEST_F()
Dcomponent_cloud_policy_service_unittest.cc49 const char kTestPolicy[] = variable
135 builder_.payload().set_secure_hash(crypto::SHA256HashString(kTestPolicy)); in SetUp()
200 cache_->Store("extension-policy-data", kTestExtension, kTestPolicy)); in PopulateCache()
206 cache_->Store("extension-policy-data", kTestExtension2, kTestPolicy)); in PopulateCache()
377 fetcher->SetResponseString(kTestPolicy); in TEST_F()
484 fetcher->SetResponseString(kTestPolicy); in TEST_F()
/external/chromium_org/chrome/browser/policy/cloud/
Dcomponent_cloud_policy_browsertest.cc67 const char kTestPolicy[] = variable
122 dm_protocol::kChromeExtensionPolicyType, kTestExtension, kTestPolicy)); in SetUpInProcessBrowserTestFixture()
Dcloud_policy_browsertest.cc111 const char kTestPolicy[] = in GetTestPolicy() local
131 return base::StringPrintf(kTestPolicy, in GetTestPolicy()