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

Unified Diff: chrome/browser/autocomplete_history_manager_unittest.cc

Issue 3151006: Unittest fix. Need to put usersubmitted = true for unittests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete_history_manager_unittest.cc
===================================================================
--- chrome/browser/autocomplete_history_manager_unittest.cc (revision 55354)
+++ chrome/browser/autocomplete_history_manager_unittest.cc (working copy)
@@ -51,6 +51,7 @@
form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
+ form.user_submitted = true;
// Valid Visa credit card number pulled from the paypal help site.
webkit_glue::FormField valid_cc(ASCIIToUTF16("Credit Card"),
@@ -73,6 +74,7 @@
form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
+ form.user_submitted = true;
// Invalid credit card number.
webkit_glue::FormField invalid_cc(ASCIIToUTF16("Credit Card"),
@@ -93,6 +95,7 @@
form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
+ form.user_submitted = true;
webkit_glue::FormField ssn(ASCIIToUTF16("Social Security Number"),
ASCIIToUTF16("ssn"),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698