Closed
Bug 1158351
Opened 9 years ago
Closed 9 years ago
Add unit tests for WifiHelper.isValidInput method
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfoster, Assigned: aron.bordin, Mentored)
Details
Attachments
(1 file)
We have no unit test coverage for WifiHelper's isValidInput method, which validates a password for the different network security types. Just checking the return value with some sample good and bad inputs would help make this slightly less opaque
Assignee | ||
Comment 1•9 years ago
|
||
Hi Sam, This bug looks to be simple. Can I be assigned to work with it?
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Aron Barreira Bordin from comment #1) > Hi Sam, > > This bug looks to be simple. Can I be assigned to work with it? Go ahead Aron. I've assigned myself as mentor but we'll need to find another reviewer - perhaps :arthurcc or :ehung.
Assignee: nobody → aron.bordin
Mentor: sfoster
Comment 3•9 years ago
|
||
Reporter | ||
Comment 5•9 years ago
|
||
(In reply to Aron Barreira Bordin from comment #4) > Hi Sam. Do you know who can review my PR? Lets try ehung@mozilla.com? Left a couple nits in the PR you could address in the meantime.
Flags: needinfo?(sfoster)
Assignee | ||
Updated•9 years ago
|
Attachment #8600692 -
Flags: review?(ehung)
Comment 6•9 years ago
|
||
Comment on attachment 8600692 [details] [review] [gaia] aron-bordin:wifi_helper_is_valid_input_tests > mozilla-b2g:master redirect to Arthur, he should be more familiar with wifi helper than me.
Attachment #8600692 -
Flags: review?(ehung) → review?(arthur.chen)
Comment 7•9 years ago
|
||
Comment on attachment 8600692 [details] [review] [gaia] aron-bordin:wifi_helper_is_valid_input_tests > mozilla-b2g:master EJ, could you help review this patch? Thanks.
Attachment #8600692 -
Flags: review?(arthur.chen) → review?(ejchen)
Comment on attachment 8600692 [details] [review] [gaia] aron-bordin:wifi_helper_is_valid_input_tests > mozilla-b2g:master Thanks Aron, I left some comments there and please check them ! Feel free to set r? on me when you have time, thanks ;)
Attachment #8600692 -
Flags: review?(ejchen)
Assignee | ||
Comment 9•9 years ago
|
||
Hi EJ, I'm a little confused about a note in my PR. I left you a message there, please, can you take a look? Thx
Flags: needinfo?(ejchen)
Thanks for asking Aron, I did leave more details in GitHub and please go check it when you have time ! I think this patch is almost done and after related comments are addressed, we are ready to let it merged :) Thanks Aron !
Flags: needinfo?(ejchen)
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8600692 [details] [review] [gaia] aron-bordin:wifi_helper_is_valid_input_tests > mozilla-b2g:master Hi! Please, when possible, take a look in my new patch. Thx!
Attachment #8600692 -
Flags: review?(ejchen)
Comment on attachment 8600692 [details] [review] [gaia] aron-bordin:wifi_helper_is_valid_input_tests > mozilla-b2g:master Thanks for the efforts, Aron ! r++
Attachment #8600692 -
Flags: review?(ejchen) → review+
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 13•9 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Moved to Gaia:Settings to make sure Autoloader works.
Component: Gaia::Shared → Gaia::Settings
Keywords: checkin-needed
Updated•9 years ago
|
Keywords: checkin-needed
Comment 15•9 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/b23e03da9251fc98737a24280bf717ec9c52a8e4
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•