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

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

Issue 7531023: Improve Autofill heuristics when detecting labels from previous elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 213 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
214 MAYBE_DataDrivenHeuristics(15)) { 214 MAYBE_DataDrivenHeuristics(15)) {
215 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("15_*.html"); 215 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("15_*.html");
216 RunDataDrivenTest(GetInputDirectory(kTestName), 216 RunDataDrivenTest(GetInputDirectory(kTestName),
217 GetOutputDirectory(kTestName), 217 GetOutputDirectory(kTestName),
218 kFileNamePattern); 218 kFileNamePattern);
219 } 219 }
220 220
221 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 221 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
222 MAYBE_DataDrivenHeuristics(16)) {
223 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("16_*.html");
224 RunDataDrivenTest(GetInputDirectory(kTestName),
225 GetOutputDirectory(kTestName),
226 kFileNamePattern);
227 }
228
229 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
222 MAYBE_DataDrivenHeuristics(20)) { 230 MAYBE_DataDrivenHeuristics(20)) {
223 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("20_*.html"); 231 const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("20_*.html");
224 RunDataDrivenTest(GetInputDirectory(kTestName), 232 RunDataDrivenTest(GetInputDirectory(kTestName),
225 GetOutputDirectory(kTestName), 233 GetOutputDirectory(kTestName),
226 kFileNamePattern); 234 kFileNamePattern);
227 } 235 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_resources.grd ('k') | chrome/renderer/autofill/form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698