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

Side by Side Diff: chrome/browser/about_flags_unittest.cc

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (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 | « no previous file | chrome/browser/browser_main_unittest.cc » ('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 "base/string_number_conversions.h" 5 #include "base/string_number_conversions.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/about_flags.h" 8 #include "chrome/browser/about_flags.h"
9 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
11 #include "chrome/test/testing_pref_service.h" 11 #include "chrome/test/base/testing_pref_service.h"
12 #include "grit/chromium_strings.h" 12 #include "grit/chromium_strings.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 const char kFlags1[] = "flag1"; 15 const char kFlags1[] = "flag1";
16 const char kFlags2[] = "flag2"; 16 const char kFlags2[] = "flag2";
17 const char kFlags3[] = "flag3"; 17 const char kFlags3[] = "flag3";
18 const char kFlags4[] = "flag4"; 18 const char kFlags4[] = "flag4";
19 19
20 const char kSwitch1[] = "switch"; 20 const char kSwitch1[] = "switch";
21 const char kSwitch2[] = "switch2"; 21 const char kSwitch2[] = "switch2";
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 testing::SetExperiments(NULL, 0); 328 testing::SetExperiments(NULL, 0);
329 size_t count; 329 size_t count;
330 const Experiment* experiments = testing::GetExperiments(&count); 330 const Experiment* experiments = testing::GetExperiments(&count);
331 for (size_t i = 0; i < count; ++i) { 331 for (size_t i = 0; i < count; ++i) {
332 std::string name = experiments->internal_name; 332 std::string name = experiments->internal_name;
333 EXPECT_EQ(std::string::npos, name.find(testing::kMultiSeparator)) << i; 333 EXPECT_EQ(std::string::npos, name.find(testing::kMultiSeparator)) << i;
334 } 334 }
335 } 335 }
336 336
337 } // namespace about_flags 337 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_main_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698