| OLD | NEW |
| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/files/file_enumerator.h" | 8 #include "base/files/file_enumerator.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "build/build_config.h" |
| 13 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 15 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
| 16 #include "chrome/test/base/in_process_browser_test.h" | 18 #include "chrome/test/base/in_process_browser_test.h" |
| 17 #include "chrome/test/base/ui_test_utils.h" | 19 #include "chrome/test/base/ui_test_utils.h" |
| 18 #include "components/autofill/content/browser/content_autofill_driver.h" | 20 #include "components/autofill/content/browser/content_autofill_driver.h" |
| 19 #include "components/autofill/content/browser/content_autofill_driver_factory.h" | 21 #include "components/autofill/content/browser/content_autofill_driver_factory.h" |
| 20 #include "components/autofill/core/browser/autofill_manager.h" | 22 #include "components/autofill/core/browser/autofill_manager.h" |
| 21 #include "components/autofill/core/browser/data_driven_test.h" | 23 #include "components/autofill/core/browser/data_driven_test.h" |
| 22 #include "components/autofill/core/browser/form_structure.h" | 24 #include "components/autofill/core/browser/form_structure.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 133 |
| 132 IN_PROC_BROWSER_TEST_P(FormStructureBrowserTest, DataDrivenHeuristics) { | 134 IN_PROC_BROWSER_TEST_P(FormStructureBrowserTest, DataDrivenHeuristics) { |
| 133 RunOneDataDrivenTest(GetParam(), GetOutputDirectory(kTestName)); | 135 RunOneDataDrivenTest(GetParam(), GetOutputDirectory(kTestName)); |
| 134 } | 136 } |
| 135 | 137 |
| 136 INSTANTIATE_TEST_CASE_P(AllForms, | 138 INSTANTIATE_TEST_CASE_P(AllForms, |
| 137 FormStructureBrowserTest, | 139 FormStructureBrowserTest, |
| 138 testing::ValuesIn(GetTestFiles())); | 140 testing::ValuesIn(GetTestFiles())); |
| 139 | 141 |
| 140 } // namespace autofill | 142 } // namespace autofill |
| OLD | NEW |