Lines Matching refs:store_

48         store_(new DeviceCloudPolicyStoreChromeOS(
72 EXPECT_EQ(expected_status, store_->status());
73 EXPECT_TRUE(store_->is_initialized());
74 EXPECT_FALSE(store_->has_policy());
75 EXPECT_FALSE(store_->is_managed());
79 EXPECT_EQ(CloudPolicyStore::STATUS_OK, store_->status());
80 EXPECT_TRUE(store_->is_initialized());
81 EXPECT_TRUE(store_->has_policy());
82 EXPECT_TRUE(store_->is_managed());
83 EXPECT_TRUE(store_->policy());
87 store_->policy_map().GetValue(
92 store_->Load();
108 store_.reset();
113 store_.reset(
123 scoped_ptr<DeviceCloudPolicyStoreChromeOS> store_;
131 store_->Load();
138 store_->Load();
145 store_->Load();
151 store_->Load();
158 store_->Store(device_policy_.policy());
166 store_->Store(device_policy_.policy());
168 EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status());
170 store_->validation_status());
176 store_->Store(device_policy_.policy());
178 EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status());
180 store_->validation_status());
187 store_->Store(device_policy_.policy());
203 store_->Store(device_policy_.policy());
205 EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status());
207 store_->validation_status());
216 store_->Store(device_policy_.policy());
218 EXPECT_EQ(CloudPolicyStore::STATUS_VALIDATION_ERROR, store_->status());
220 store_->validation_status());
225 store_->InstallInitialPolicy(device_policy_.policy());
233 store_->InstallInitialPolicy(device_policy_.policy());
237 store_->validation_status());
245 store_->InstallInitialPolicy(device_policy_.policy());
249 store_->validation_status());
256 store_->InstallInitialPolicy(device_policy_.policy());
260 store_->validation_status());
266 store_->InstallInitialPolicy(device_policy_.policy());
270 store_->validation_status());
276 store_->InstallInitialPolicy(device_policy_.policy());