/external/chromium_org/chrome/browser/policy/ |
D | configuration_policy_handler_unittest.cc | 27 const char kTestPolicy[] = "unit_test.test_policy"; variable 37 kTestPolicy, in TEST() 42 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST() 49 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST() 56 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST() 61 EXPECT_FALSE(errors.GetErrors(kTestPolicy).empty()); in TEST() 63 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST() 69 EXPECT_FALSE(errors.GetErrors(kTestPolicy).empty()); in TEST() 79 kTestPolicy, in TEST() 84 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, in TEST() [all …]
|
D | configuration_policy_pref_store_unittest.cc | 32 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/ |
D | component_cloud_policy_store_unittest.cc | 36 const char kTestPolicy[] = variable 48 return base::SHA1HashString(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()
|
D | component_cloud_policy_updater_unittest.cc | 46 const char kTestPolicy[] = variable 107 builder_.payload().set_secure_hash(base::SHA1HashString(kTestPolicy)); in SetUp() 140 fetcher->SetResponseString(kTestPolicy); in TEST_F() 208 base::SHA1HashString(kTestPolicy), in TEST_F() 209 kTestPolicy)); in TEST_F() 289 fetcher->SetResponseString(kTestPolicy); in TEST_F()
|
D | component_cloud_policy_service_unittest.cc | 49 const char kTestPolicy[] = variable 135 builder_.payload().set_secure_hash(base::SHA1HashString(kTestPolicy)); in SetUp() 203 cache_->Store("extension-policy-data", kTestExtension, kTestPolicy)); in PopulateCache() 209 cache_->Store("extension-policy-data", kTestExtension2, kTestPolicy)); in PopulateCache() 377 fetcher->SetResponseString(kTestPolicy); in TEST_F() 480 fetcher->SetResponseString(kTestPolicy); in TEST_F()
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | component_cloud_policy_browsertest.cc | 66 const char kTestPolicy[] = variable 117 dm_protocol::kChromeExtensionPolicyType, kTestExtension, kTestPolicy)); in SetUpInProcessBrowserTestFixture()
|
D | cloud_policy_browsertest.cc | 97 const char kTestPolicy[] = in GetTestPolicy() local 117 return base::StringPrintf(kTestPolicy, in GetTestPolicy()
|