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

Side by Side Diff: chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc

Issue 1102103002: Move the unit tests files side-by-side with the corresponding .cc files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/cld_component_installer_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <string>
6 #include <vector>
7
5 #include "base/command_line.h" 8 #include "base/command_line.h"
6 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
7 #include "chrome/browser/component_updater/chrome_component_updater_configurator .h" 10 #include "chrome/browser/component_updater/chrome_component_updater_configurator .h"
8 #include "components/component_updater/component_updater_switches.h" 11 #include "components/component_updater/component_updater_switches.h"
9 #include "components/update_client/configurator.h" 12 #include "components/update_client/configurator.h"
10 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
11 #include "url/gurl.h" 14 #include "url/gurl.h"
12 15
13 namespace component_updater { 16 namespace component_updater {
14 17
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 TEST(ChromeComponentUpdaterConfiguratorTest, TestSwitchRequestParam) { 54 TEST(ChromeComponentUpdaterConfiguratorTest, TestSwitchRequestParam) {
52 base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess(); 55 base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess();
53 cmdline->AppendSwitchASCII(switches::kComponentUpdater, "test-request"); 56 cmdline->AppendSwitchASCII(switches::kComponentUpdater, "test-request");
54 57
55 const auto config(MakeChromeComponentUpdaterConfigurator(cmdline, NULL)); 58 const auto config(MakeChromeComponentUpdaterConfigurator(cmdline, NULL));
56 59
57 EXPECT_FALSE(config->ExtraRequestParams().empty()); 60 EXPECT_FALSE(config->ExtraRequestParams().empty());
58 } 61 }
59 62
60 } // namespace component_updater 63 } // namespace component_updater
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/cld_component_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698