Closed
Bug 1191858
Opened 9 years ago
Closed 9 years ago
[LockScreen] Fix |transfer| test in state manager unit tests
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S4 (07Aug)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: gweng, Assigned: gweng)
Details
Attachments
(1 file)
Julien has found some defects in the test.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gweng
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8644418 [details] [review] [gaia] snowmantw:bug1191858 > mozilla-b2g:master Julien: I've greped the file and only found one promise as you described. Since it's you reported that, could you take a look? I've tested it manually that now the |transferTo| and |transferOut| will be executed after calling |transfer|, which is the test is for. Thanks.
Attachment #8644418 -
Flags: review?(felash)
Comment 3•9 years ago
|
||
Comment on attachment 8644418 [details] [review] [gaia] snowmantw:bug1191858 > mozilla-b2g:master yes, this looks better. r=me for the test changes Did you check if subject.transfer is called somewhere in the code though ? I had the impression it's called nowhere...
Attachment #8644418 -
Flags: review?(felash) → review+
Assignee | ||
Comment 4•9 years ago
|
||
It is called as every new event/input comes as: this.nextStep(this.transfer.bind(this, inputs)); It's because manager now needs to handle async conditions that was not in the original design.
Comment 5•9 years ago
|
||
Ah right, now I see it; I grepped for 'transfer(' :) Thanks !
Comment 7•9 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/bb666efba51e14d4c7f4267aef02b4ccff2c913a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S4 (07Aug)
Updated•9 years ago
|
status-b2g-master:
--- → fixed
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•