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

Side by Side Diff: chrome/test/base/values_test_util.cc

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/test/base/values_test_util.h ('k') | chrome/test/browser_with_test_window_test.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/test/values_test_util.h" 5 #include "chrome/test/base/values_test_util.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace test { 12 namespace test {
13 13
14 void ExpectDictBooleanValue(bool expected_value, 14 void ExpectDictBooleanValue(bool expected_value,
15 const DictionaryValue& value, 15 const DictionaryValue& value,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 void ExpectStringValue(const std::string& expected_str, 54 void ExpectStringValue(const std::string& expected_str,
55 StringValue* actual) { 55 StringValue* actual) {
56 scoped_ptr<StringValue> scoped_actual(actual); 56 scoped_ptr<StringValue> scoped_actual(actual);
57 std::string actual_str; 57 std::string actual_str;
58 EXPECT_TRUE(scoped_actual->GetAsString(&actual_str)); 58 EXPECT_TRUE(scoped_actual->GetAsString(&actual_str));
59 EXPECT_EQ(expected_str, actual_str); 59 EXPECT_EQ(expected_str, actual_str);
60 } 60 }
61 61
62 } // namespace test 62 } // namespace test
OLDNEW
« no previous file with comments | « chrome/test/base/values_test_util.h ('k') | chrome/test/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698