RESOLVED FIXED 118797
[EFL][WK2] Replace mouseClick with more meaningful method in test_ewk2_color_picker.cpp
https://bugs.webkit.org/show_bug.cgi?id=118797
Summary [EFL][WK2] Replace mouseClick with more meaningful method in test_ewk2_color_...
Donggwan Kim
Reported 2013-07-17 04:33:52 PDT
Some mouseClick methods are used in test_ewk2_color_picker.cpp. But it is difficult to understand what they mean. So i would like to replace those with more meaningful method for readability.
Attachments
Patch (2.76 KB, patch)
2013-07-17 17:55 PDT, Donggwan Kim
no flags
Patch (2.94 KB, patch)
2013-07-18 00:39 PDT, Donggwan Kim
no flags
Donggwan Kim
Comment 1 2013-07-17 17:55:48 PDT
Chris Dumez
Comment 2 2013-07-18 00:12:25 PDT
Comment on attachment 206939 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206939&action=review > Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_color_picker.cpp:114 > + void clickColorPicker(Visible visible) This does not really click the color picker. It clicks a button. How about: enum Button { ShowColorPickerButton, HideColorPickerButton }; clickButton(Button button);
Donggwan Kim
Comment 3 2013-07-18 00:24:32 PDT
(In reply to comment #2) > (From update of attachment 206939 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206939&action=review > > > Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_color_picker.cpp:114 > > + void clickColorPicker(Visible visible) > > This does not really click the color picker. It clicks a button. How about: > enum Button { ShowColorPickerButton, HideColorPickerButton }; > clickButton(Button button); Ok. I will change it like above
Donggwan Kim
Comment 4 2013-07-18 00:39:20 PDT
Chris Dumez
Comment 5 2013-07-18 00:40:30 PDT
Comment on attachment 206959 [details] Patch Ok, r=me.
WebKit Commit Bot
Comment 6 2013-07-18 01:27:38 PDT
Comment on attachment 206959 [details] Patch Clearing flags on attachment: 206959 Committed r152838: <http://trac.webkit.org/changeset/152838>
WebKit Commit Bot
Comment 7 2013-07-18 01:27:41 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.