OLD | NEW |
1 // Copyright (c) 2009 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/string_split.h" |
10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
14 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
15 #include "chrome/common/json_value_serializer.h" | 16 #include "chrome/common/json_value_serializer.h" |
16 #include "chrome/test/automation/tab_proxy.h" | 17 #include "chrome/test/automation/tab_proxy.h" |
17 #include "chrome/test/ui/ui_test.h" | 18 #include "chrome/test/ui/ui_test.h" |
18 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
19 #include "net/base/net_util.h" | 20 #include "net/base/net_util.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 TEST_F(DomCheckerTest, FLAKY_Http) { | 239 TEST_F(DomCheckerTest, FLAKY_Http) { |
239 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) | 240 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) |
240 return; | 241 return; |
241 | 242 |
242 ResultsList new_passes, new_failures; | 243 ResultsList new_passes, new_failures; |
243 RunTest(true, &new_passes, &new_failures); | 244 RunTest(true, &new_passes, &new_failures); |
244 PrintResults(new_passes, new_failures); | 245 PrintResults(new_passes, new_failures); |
245 } | 246 } |
246 | 247 |
247 } // namespace | 248 } // namespace |
OLD | NEW |