Closed
Bug 1005896
Opened 11 years ago
Closed 11 years ago
[NFC] Pairing UI unit tests
Categories
(Firefox OS Graveyard :: NFC, defect)
Firefox OS Graveyard
NFC
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kamituel, Assigned: kamituel)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
Expected results:
NFC pairing UI (which just landed, see 969277) needs unit tests, as suggested by @Alive.
As agreed with Arno, I'm working on those. Please assign this bug to me if you have required Bugzilla permissions.
Assignee | ||
Comment 1•11 years ago
|
||
I could definitely use NfcManagerUtils.encodeHandoverSelect() for those tests, but I need it to accept bluetooth name as a parameter.
Depends on: 1005886
Updated•11 years ago
|
Assignee: nobody → kamituel
Assignee | ||
Comment 2•11 years ago
|
||
Tests whether:
- UI is correctly L10n'd (buttons, labels), depending on all variables (Bluetooth adapter on/off, peer device name available/not)
- Buttons are working properly
In addition to tests which has already landed as part of bug 969277 (dialog lifecycle tests), this should cover most important cases.
Attachment #8423351 -
Flags: review?(alive)
Comment 3•11 years ago
|
||
Comment on attachment 8423351 [details] [review]
Proposed test suites.
r=me
BTW, I'd like to add test for SNCD.prototype.hide and SNCD.prototype.show, but it's up to you to do in followup.
Attachment #8423351 -
Flags: review?(alive) → review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: checkin-needed
Assignee | ||
Comment 4•11 years ago
|
||
@Alive, whad do you exactly mean? I think (at least some of it) .show()/.hide() is covered already in 'Dialog lifecycle' suite, isn'it it?
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•