Writing test cases for the AutoFill

559 views
Skip to first unread message

Deepak Mittal

unread,
May 7, 2014, 8:31:44 AM5/7/14
to Chromium-dev
Hi,
 
Can some guide me how to write test case for Autofill issue ..
 
370409, I have made the patch for this ,It is working well as per the issue video shown,
 
But I am not aware how to run the already existing AutoFill test cases, and write mine own for 370409 issue..
 
please give me some links or direction for above..

--
 
Regards
Deepak Mittal

Thiago Farina

unread,
May 7, 2014, 10:31:10 AM5/7/14
to Deepak Mittal, Chromium-dev, Ilya Sherman
On Wed, May 7, 2014 at 9:31 AM, Deepak Mittal <deepak.de...@gmail.com> wrote:
Hi,
 
Can some guide me how to write test case for Autofill issue ..

I hope the list in components_unittests [1] can help you, since it will give many files where you can look at and see how it is done.

 
Hope that helps,

Thanks,

--
Thiago Farina

Ilya Sherman

unread,
May 7, 2014, 3:29:14 PM5/7/14
to Thiago Farina, Deepak Mittal, Chromium-dev
Your question is a little hard to answer without more context, as it depends on what code you're modifying.  Please go ahead and upload your changes for review, and then we can provide better feedback.

Deepak Mittal

unread,
May 8, 2014, 2:21:40 AM5/8/14
to Ilya Sherman, Thiago Farina, Chromium-dev
Hi Sherman,
 
Thanks for reply, Acually I was working on 370409 bug, In this bug the issue is once a form filed that was filled by the autofill is cleared then that field is not getting filled again by the autofill.
 
Video's are attached for working and nonworking case..
 
I found the cause for that made the patch for that , with that field's are filled properly.
 
is TestCase required for this ..and how to write unit test  for this ..That guidance I know..
 
You can give me some hints or direction that I can follow ..
 
Anyway I will upload the patch..
 
Thanks
Deepak
--
 
Regards
Deepak Mittal
Reply all
Reply to author
Forward
0 new messages