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

Unified Diff: chrome/browser/autofill/form_structure_browsertest.cc

Issue 7120008: Autofill heuristics regression suite (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/autofill/heuristics/input/00_i18n_de.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/test/data/autofill/heuristics/input/00_i18n_de.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698