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

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

Issue 11818065: OK, here's john's patch plus my sync stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Redisable PlatformAppBrowserTest.WebContentsHasFocus on aura 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 | « base/message_pump_aurax11.cc ('k') | chrome/browser/download/save_page_browsertest.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 (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/file_path.h" 7 #include "base/file_path.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/autofill/autofill_manager.h" 10 #include "chrome/browser/autofill/autofill_manager.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 forms_string += " | " + UTF16ToUTF8((*field_iter)->name); 80 forms_string += " | " + UTF16ToUTF8((*field_iter)->name);
81 forms_string += " | " + UTF16ToUTF8((*field_iter)->label); 81 forms_string += " | " + UTF16ToUTF8((*field_iter)->label);
82 forms_string += " | " + UTF16ToUTF8((*field_iter)->value); 82 forms_string += " | " + UTF16ToUTF8((*field_iter)->value);
83 forms_string += "\n"; 83 forms_string += "\n";
84 } 84 }
85 } 85 }
86 return forms_string; 86 return forms_string;
87 } 87 }
88 88
89 // Heuristics tests timeout on Windows. See http://crbug.com/85276 89 // Heuristics tests timeout on Windows. See http://crbug.com/85276
90 // Also on ChromeOS. See crbug.com/173621 90 // Also on ChromeOS/Aura. See crbug.com/173621
91 #if defined(OS_WIN) || defined(OS_CHROMEOS) 91 #if defined(OS_WIN) || defined(USE_AURA)
92 #define MAYBE_DataDrivenHeuristics(n) DISABLED_DataDrivenHeuristics##n 92 #define MAYBE_DataDrivenHeuristics(n) DISABLED_DataDrivenHeuristics##n
93 #else 93 #else
94 #define MAYBE_DataDrivenHeuristics(n) DataDrivenHeuristics##n 94 #define MAYBE_DataDrivenHeuristics(n) DataDrivenHeuristics##n
95 #endif 95 #endif
96 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics00) { 96 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics00) {
97 const base::FilePath::CharType kFileNamePattern[] = 97 const base::FilePath::CharType kFileNamePattern[] =
98 FILE_PATH_LITERAL("00_*.html"); 98 FILE_PATH_LITERAL("00_*.html");
99 RunDataDrivenTest(GetInputDirectory(kTestName), 99 RunDataDrivenTest(GetInputDirectory(kTestName),
100 GetOutputDirectory(kTestName), 100 GetOutputDirectory(kTestName),
101 kFileNamePattern); 101 kFileNamePattern);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 254 }
255 255
256 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 256 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
257 MAYBE_DataDrivenHeuristics(20)) { 257 MAYBE_DataDrivenHeuristics(20)) {
258 const base::FilePath::CharType kFileNamePattern[] = 258 const base::FilePath::CharType kFileNamePattern[] =
259 FILE_PATH_LITERAL("20_*.html"); 259 FILE_PATH_LITERAL("20_*.html");
260 RunDataDrivenTest(GetInputDirectory(kTestName), 260 RunDataDrivenTest(GetInputDirectory(kTestName),
261 GetOutputDirectory(kTestName), 261 GetOutputDirectory(kTestName),
262 kFileNamePattern); 262 kFileNamePattern);
263 } 263 }
OLDNEW
« no previous file with comments | « base/message_pump_aurax11.cc ('k') | chrome/browser/download/save_page_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698