Index: chrome/browser/autofill/form_structure_browsertest.cc |
diff --git a/chrome/browser/autofill/form_structure_browsertest.cc b/chrome/browser/autofill/form_structure_browsertest.cc |
index 71f7c13ce17cbb8bb5ed2d964a7334a04e223bfa..14211781e21b8ad0d7bf1f6bbc2deaa35c8ec651 100644 |
--- a/chrome/browser/autofill/form_structure_browsertest.cc |
+++ b/chrome/browser/autofill/form_structure_browsertest.cc |
@@ -19,7 +19,6 @@ |
namespace { |
const FilePath::CharType kTestName[] = FILE_PATH_LITERAL("heuristics"); |
-const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("*.html"); |
// Convert the |html| snippet to a data URI. |
GURL HTMLToDataURI(const std::string& html) { |
@@ -84,7 +83,99 @@ std::string FormStructureBrowserTest::FormStructuresToString( |
return forms_string; |
} |
-IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics) { |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics00) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("00_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics01) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("01_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics02) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("02_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics03) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("03_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics04) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("04_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics05) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("05_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics06) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("06_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics08) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("08_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics09) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("09_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics10) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("10_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics11) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("11_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics12) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("12_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics13) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("13_*.html"); |
+ RunDataDrivenTest(GetInputDirectory(kTestName), |
+ GetOutputDirectory(kTestName), |
+ kFileNamePattern); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics14) { |
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("14_*.html"); |
RunDataDrivenTest(GetInputDirectory(kTestName), |
GetOutputDirectory(kTestName), |
kFileNamePattern); |