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

Side by Side Diff: chrome/test/automated_ui_tests/automated_ui_tests.cc

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 <fstream> 5 #include <fstream>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "app/keyboard_codes.h" 9 #include "app/keyboard_codes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/rand_util.h" 15 #include "base/rand_util.h"
16 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
17 #include "base/string_split.h" 17 #include "base/string_split.h"
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "base/time.h" 19 #include "base/time.h"
20 #include "chrome/app/chrome_dll_resource.h" 20 #include "chrome/app/chrome_command_ids.h"
21 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/character_encoding.h" 22 #include "chrome/browser/character_encoding.h"
23 #include "chrome/browser/view_ids.h" 23 #include "chrome/browser/view_ids.h"
24 #include "chrome/common/chrome_paths.h" 24 #include "chrome/common/chrome_paths.h"
25 #include "chrome/common/env_vars.h" 25 #include "chrome/common/env_vars.h"
26 #include "chrome/common/libxml_utils.h" 26 #include "chrome/common/libxml_utils.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chrome/test/automated_ui_tests/automated_ui_tests.h" 28 #include "chrome/test/automated_ui_tests/automated_ui_tests.h"
29 #include "chrome/test/automation/browser_proxy.h" 29 #include "chrome/test/automation/browser_proxy.h"
30 #include "chrome/test/automation/tab_proxy.h" 30 #include "chrome/test/automation/tab_proxy.h"
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 } 744 }
745 } 745 }
746 746
747 TEST_F(AutomatedUITest, TheOneAndOnlyTest) { 747 TEST_F(AutomatedUITest, TheOneAndOnlyTest) {
748 const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); 748 const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
749 if (parsed_command_line.HasSwitch(kReproSwitch)) 749 if (parsed_command_line.HasSwitch(kReproSwitch))
750 RunReproduction(); 750 RunReproduction();
751 else 751 else
752 RunAutomatedUITest(); 752 RunAutomatedUITest();
753 } 753 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698