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

Side by Side Diff: chrome/test/selenium/selenium_test.cc

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (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
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome_frame/bho.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This is a gTest-based test that runs the Selenium Core testsuite in Chrome 5 // This is a gTest-based test that runs the Selenium Core testsuite in Chrome
6 // using the UITest automation. The number of total and failed tests are 6 // using the UITest automation. The number of total and failed tests are
7 // written to stdout. 7 // written to stdout.
8 // 8 //
9 // TODO(darin): output the names of the failed tests so we can easily track 9 // TODO(darin): output the names of the failed tests so we can easily track
10 // deviations from the expected output. 10 // deviations from the expected output.
11 11
12 #include <list> 12 #include <list>
13 #include <set> 13 #include <set>
14 14
15 #include "base/file_path.h" 15 #include "base/file_path.h"
16 #include "base/file_util.h" 16 #include "base/file_util.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/rand_util.h"
19 #include "base/string_util.h" 18 #include "base/string_util.h"
20 #include "chrome/common/chrome_paths.h" 19 #include "chrome/common/chrome_paths.h"
21 #include "chrome/test/automation/tab_proxy.h" 20 #include "chrome/test/automation/tab_proxy.h"
22 #include "chrome/test/automation/window_proxy.h" 21 #include "chrome/test/automation/window_proxy.h"
23 #include "chrome/test/ui/ui_test.h" 22 #include "chrome/test/ui/ui_test.h"
24 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
25 24
25 #ifdef SIMULATE_RUN
26 #include "base/rand_util.h"
27 #endif
28
26 // Uncomment this to exercise this test without actually running the selenium 29 // Uncomment this to exercise this test without actually running the selenium
27 // test, which can take a while to run. This define is useful when modifying 30 // test, which can take a while to run. This define is useful when modifying
28 // the analysis code. 31 // the analysis code.
29 //#define SIMULATE_RUN 1 32 //#define SIMULATE_RUN 1
30 33
31 namespace { 34 namespace {
32 35
33 // This file is a comma separated list of tests that are currently failing. 36 // This file is a comma separated list of tests that are currently failing.
34 const char kExpectedFailuresFileName[] = "expected_failures.txt"; 37 const char kExpectedFailuresFileName[] = "expected_failures.txt";
35 38
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 166 }
164 167
165 if (!new_passes_list.empty()) { 168 if (!new_passes_list.empty()) {
166 printf("new tests passing:\n"); 169 printf("new tests passing:\n");
167 ResultsList::const_iterator it = new_passes_list.begin(); 170 ResultsList::const_iterator it = new_passes_list.begin();
168 for (; it != new_passes_list.end(); ++it) 171 for (; it != new_passes_list.end(); ++it)
169 printf(" %s\n", it->c_str()); 172 printf(" %s\n", it->c_str());
170 printf("\n"); 173 printf("\n");
171 } 174 }
172 } 175 }
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome_frame/bho.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698