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

Issue 5781005: Upgrade autofill interactive_ui_test from BasicFormStructure test to I18NForm... (Closed)

Created:
10 years ago by vivianz1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, dhollowa, James Hawkins, Paweł Hajdan Jr.
Visibility:
Public.

Description

Upgrade autofill interactive_ui_test from BasicFormStructure test to I18NFormStructure test. Added inputting i18n form file and write out and/or compare test result against expected test result in output directory. Also add the initial English version of test form html and expected test result file. Contributed by vivianz@chromium.org BUG=60022 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69503

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 11

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 26

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 13

Patch Set 9 : '' #

Total comments: 6

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -52 lines) Patch
M chrome/browser/autofill/form_structure_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +102 lines, -52 lines 0 comments Download
A chrome/test/data/autofill_heuristics/input/form_en.html View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/test/data/autofill_heuristics/output/form_en.out View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vivianz
here is the autofill i18n form structure test. the rest of the i18n form input ...
10 years ago (2010-12-13 19:18:32 UTC) #1
dhollowa
The CL description should include lines: BUG=60022 TEST=FormStructureBrowserTest.HTMLFiles http://codereview.chromium.org/5781005/diff/3001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/3001/chrome/browser/autofill/form_structure_browsertest.cc#newcode61 chrome/browser/autofill/form_structure_browsertest.cc:61: forms_string ...
10 years ago (2010-12-13 22:11:30 UTC) #2
vivianz
fixed code according to comments, in addtional, added the ConvertToURLFormat(input_str), to convert the html header ...
10 years ago (2010-12-14 22:25:14 UTC) #3
dhollowa
http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode22 chrome/browser/autofill/form_structure_browsertest.cc:22: FilePath GetInputFileDirectory() { These functions should not be indented. ...
10 years ago (2010-12-15 03:20:44 UTC) #4
Ilya Sherman
Just have a few nits. Nearly there =) http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode230 chrome/browser/autofill/form_structure_browsertest.cc:230: browser(), ...
10 years ago (2010-12-15 10:58:32 UTC) #5
dhollowa
http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode249 chrome/browser/autofill/form_structure_browsertest.cc:249: EXPECT_EQ(output_file_source, I ran this through the trybots and we're ...
10 years ago (2010-12-15 15:24:00 UTC) #6
vivianz
http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode22 chrome/browser/autofill/form_structure_browsertest.cc:22: FilePath GetInputFileDirectory() { On 2010/12/15 03:20:45, dhollowa wrote: Done. ...
10 years ago (2010-12-15 23:31:37 UTC) #7
Ilya Sherman
http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode230 chrome/browser/autofill/form_structure_browsertest.cc:230: browser(), GURL(UTF8ToUTF16(input_file_source)))); On 2010/12/15 23:31:37, vivianz wrote: > On ...
10 years ago (2010-12-16 00:24:03 UTC) #8
GeorgeY
http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc#newcode102 chrome/browser/autofill/form_structure_browsertest.cc:102: forms_string += " "; Isn't it easier to do ...
10 years ago (2010-12-16 00:46:42 UTC) #9
dhollowa
http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc#newcode102 chrome/browser/autofill/form_structure_browsertest.cc:102: forms_string += " "; Yes, this should return to ...
10 years ago (2010-12-16 01:10:22 UTC) #10
vivianz
http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/19001/chrome/browser/autofill/form_structure_browsertest.cc#newcode230 chrome/browser/autofill/form_structure_browsertest.cc:230: browser(), GURL(UTF8ToUTF16(input_file_source)))); On 2010/12/16 00:24:03, Ilya Sherman wrote: actaully ...
10 years ago (2010-12-16 02:00:14 UTC) #11
Ilya Sherman
LGTM. Running past the trybots to see if the svn property change does the trick. ...
10 years ago (2010-12-16 05:07:14 UTC) #12
Ilya Sherman
This still failed on the Windows trybot due to the "\n" vs "\r\n" issue :(
10 years ago (2010-12-16 07:03:34 UTC) #13
dhollowa
http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc File chrome/browser/autofill/form_structure_browsertest.cc (right): http://codereview.chromium.org/5781005/diff/30001/chrome/browser/autofill/form_structure_browsertest.cc#newcode102 chrome/browser/autofill/form_structure_browsertest.cc:102: forms_string += " "; On 2010/12/16 02:00:14, vivianz wrote: ...
10 years ago (2010-12-16 16:35:53 UTC) #14
vivianz
Added the CompareText() function to trim off all EOL char in both form string and ...
10 years ago (2010-12-16 22:01:13 UTC) #15
dhollowa
10 years ago (2010-12-16 22:38:18 UTC) #16
LGTM!  I'll run it through the trybots and then land this sucker.  Thanks
Vivian!

Powered by Google App Engine
This is Rietveld 408576698