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

Side by Side Diff: chrome/browser/policy/registry_dict_win_unittest.cc

Issue 22807004: Moved chrome/common/json_schema to components/json_schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android isolates Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/registry_dict_win.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/registry_dict_win.h" 5 #include "chrome/browser/policy/registry_dict_win.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/common/json_schema/json_schema_constants.h" 8 #include "components/json_schema/json_schema_constants.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace schema = json_schema_constants; 11 namespace schema = json_schema_constants;
12 12
13 namespace policy { 13 namespace policy {
14 namespace { 14 namespace {
15 15
16 TEST(RegistryDictTest, SetAndGetValue) { 16 TEST(RegistryDictTest, SetAndGetValue) {
17 RegistryDict test_dict; 17 RegistryDict test_dict;
18 18
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one"))); 233 EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one")));
234 RegistryDict* actual_subdict = test_dict.GetKey("one"); 234 RegistryDict* actual_subdict = test_dict.GetKey("one");
235 ASSERT_TRUE(actual_subdict); 235 ASSERT_TRUE(actual_subdict);
236 EXPECT_TRUE(base::Value::Equals(&string_value, 236 EXPECT_TRUE(base::Value::Equals(&string_value,
237 actual_subdict->GetValue("two"))); 237 actual_subdict->GetValue("two")));
238 } 238 }
239 239
240 } // namespace 240 } // namespace
241 } // namespace policy 241 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/registry_dict_win.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698