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

Side by Side Diff: chrome/browser/autofill/form_structure_browsertest.cc

Issue 12092108: Disabling FormStructureBrowserTest tests on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <vector> 5 #include <vector>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 forms_string += " | " + UTF16ToUTF8((*field_iter)->name); 90 forms_string += " | " + UTF16ToUTF8((*field_iter)->name);
91 forms_string += " | " + UTF16ToUTF8((*field_iter)->label); 91 forms_string += " | " + UTF16ToUTF8((*field_iter)->label);
92 forms_string += " | " + UTF16ToUTF8((*field_iter)->value); 92 forms_string += " | " + UTF16ToUTF8((*field_iter)->value);
93 forms_string += "\n"; 93 forms_string += "\n";
94 } 94 }
95 } 95 }
96 return forms_string; 96 return forms_string;
97 } 97 }
98 98
99 // Heuristics tests timeout on Windows. See http://crbug.com/85276 99 // Heuristics tests timeout on Windows. See http://crbug.com/85276
100 #if defined(OS_WIN) 100 // Also on ChromeOS. See crbug.com/173621
101 #if defined(OS_WIN) || defined(OS_CHROMEOS)
101 #define MAYBE_DataDrivenHeuristics(n) DISABLED_DataDrivenHeuristics##n 102 #define MAYBE_DataDrivenHeuristics(n) DISABLED_DataDrivenHeuristics##n
102 #else 103 #else
103 #define MAYBE_DataDrivenHeuristics(n) DataDrivenHeuristics##n 104 #define MAYBE_DataDrivenHeuristics(n) DataDrivenHeuristics##n
104 #endif 105 #endif
105 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics00) { 106 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics00) {
106 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("00_*.html"); 107 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("00_*.html");
107 RunDataDrivenTest(GetInputDirectory(kTestName), 108 RunDataDrivenTest(GetInputDirectory(kTestName),
108 GetOutputDirectory(kTestName), 109 GetOutputDirectory(kTestName),
109 kFileNamePattern); 110 kFileNamePattern);
110 } 111 }
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 kFileNamePattern); 245 kFileNamePattern);
245 } 246 }
246 247
247 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 248 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
248 MAYBE_DataDrivenHeuristics(20)) { 249 MAYBE_DataDrivenHeuristics(20)) {
249 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("20_*.html"); 250 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("20_*.html");
250 RunDataDrivenTest(GetInputDirectory(kTestName), 251 RunDataDrivenTest(GetInputDirectory(kTestName),
251 GetOutputDirectory(kTestName), 252 GetOutputDirectory(kTestName),
252 kFileNamePattern); 253 kFileNamePattern);
253 } 254 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698