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

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

Issue 657253003: Fix autofill test data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 2 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
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/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 243 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
244 MAYBE_DataDrivenHeuristics(15)) { 244 MAYBE_DataDrivenHeuristics(15)) {
245 const base::FilePath::CharType kFileNamePattern[] = 245 const base::FilePath::CharType kFileNamePattern[] =
246 FILE_PATH_LITERAL("15_*.html"); 246 FILE_PATH_LITERAL("15_*.html");
247 RunDataDrivenTest(GetInputDirectory(kTestName), 247 RunDataDrivenTest(GetInputDirectory(kTestName),
248 GetOutputDirectory(kTestName), 248 GetOutputDirectory(kTestName),
249 kFileNamePattern); 249 kFileNamePattern);
250 } 250 }
251 251
252 // This test has real failures. http://crbug.com/323093
253 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 252 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
254 DISABLED_DataDrivenHeuristics16) { 253 MAYBE_DataDrivenHeuristics(16)) {
255 const base::FilePath::CharType kFileNamePattern[] = 254 const base::FilePath::CharType kFileNamePattern[] =
256 FILE_PATH_LITERAL("16_*.html"); 255 FILE_PATH_LITERAL("16_*.html");
257 RunDataDrivenTest(GetInputDirectory(kTestName), 256 RunDataDrivenTest(GetInputDirectory(kTestName),
258 GetOutputDirectory(kTestName), 257 GetOutputDirectory(kTestName),
259 kFileNamePattern); 258 kFileNamePattern);
260 } 259 }
261 260
262 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 261 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
263 MAYBE_DataDrivenHeuristics(17)) { 262 MAYBE_DataDrivenHeuristics(17)) {
264 const base::FilePath::CharType kFileNamePattern[] = 263 const base::FilePath::CharType kFileNamePattern[] =
265 FILE_PATH_LITERAL("17_*.html"); 264 FILE_PATH_LITERAL("17_*.html");
266 RunDataDrivenTest(GetInputDirectory(kTestName), 265 RunDataDrivenTest(GetInputDirectory(kTestName),
267 GetOutputDirectory(kTestName), 266 GetOutputDirectory(kTestName),
268 kFileNamePattern); 267 kFileNamePattern);
269 } 268 }
270 269
271 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, 270 IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest,
272 MAYBE_DataDrivenHeuristics(20)) { 271 MAYBE_DataDrivenHeuristics(20)) {
273 const base::FilePath::CharType kFileNamePattern[] = 272 const base::FilePath::CharType kFileNamePattern[] =
274 FILE_PATH_LITERAL("20_*.html"); 273 FILE_PATH_LITERAL("20_*.html");
275 RunDataDrivenTest(GetInputDirectory(kTestName), 274 RunDataDrivenTest(GetInputDirectory(kTestName),
276 GetOutputDirectory(kTestName), 275 GetOutputDirectory(kTestName),
277 kFileNamePattern); 276 kFileNamePattern);
278 } 277 }
279 278
280 } // namespace autofill 279 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698