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

Side by Side Diff: base/values_unittest.cc

Issue 3119022: Header cleanup in base.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <limits> 5 #include <limits>
6 6
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/string_util.h"
9 #include "base/string16.h" 8 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
11 #include "base/values.h" 10 #include "base/values.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 class ValuesTest: public testing::Test { 13 class ValuesTest: public testing::Test {
15 protected: 14 protected:
16 void CompareDictionariesAndCheckResult( 15 void CompareDictionariesAndCheckResult(
17 const DictionaryValue* dict1, 16 const DictionaryValue* dict1,
18 const DictionaryValue* dict2, 17 const DictionaryValue* dict2,
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 "s1", 724 "s1",
726 "s1.s2" 725 "s1.s2"
727 }; 726 };
728 dict1.reset(new DictionaryValue()); 727 dict1.reset(new DictionaryValue());
729 dict1->Set("s1.s2", new DictionaryValue()); 728 dict1->Set("s1.s2", new DictionaryValue());
730 dict2.reset(new DictionaryValue()); 729 dict2.reset(new DictionaryValue());
731 dict2->SetInteger("s1", 1); 730 dict2->SetInteger("s1", 1);
732 CompareDictionariesAndCheckResult(dict1.get(), dict2.get(), expected_paths8, 731 CompareDictionariesAndCheckResult(dict1.get(), dict2.get(), expected_paths8,
733 arraysize(expected_paths8)); 732 arraysize(expected_paths8));
734 } 733 }
OLDNEW
« base/tracked.cc ('K') | « base/utf_string_conversions_unittest.cc ('k') | base/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698