Closed
Bug 1019450
Opened 11 years ago
Closed 8 years ago
Cleanup test_promiseBookmarksTree
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: asaf, Assigned: mak)
Details
Attachments
(1 file, 1 obsolete file)
Minor cleanup.
Attachment #8433174 -
Flags: review?(mak77)
Assignee | ||
Comment 1•11 years ago
|
||
Comment on attachment 8433174 [details] [diff] [review]
patch.diff
Review of attachment 8433174 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/places/tests/head_common.js
@@ +985,5 @@
> + return "bookmarksMenuFolder";
> + case PlacesUtils.toolbarFolderId:
> + return "toolbarFolder";
> + case PlacesUtils.unfiledBookmarksFolderId:
> + return "unfiledBookmarksFolder";
please indent case(s) deeper than the switch
::: toolkit/components/places/tests/unit/test_promiseBookmarksTree.js
@@ +4,5 @@
>
> function* check_has_child(aParentGUID, aChildGUID) {
> let parentTree = yield PlacesUtils.promiseBookmarksTree(aParentGUID);
> + ok("children" in parentTree);
> + notEqual(parentTree.children.find( e => e.guid == aChildGUID ), null);
my opinion is that we should retain the "Assert." part in Places as our style, to make test calls better distinguishable overall in the tests. what do you think?
Attachment #8433174 -
Flags: review?(mak77) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: asaf → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(mak77)
Assignee | ||
Comment 2•8 years ago
|
||
I will just address my comments and land Mano's patch.
Assignee: nobody → mak77
Flags: needinfo?(mak77)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8867157 [details]
Bug 1019450 - Cleanup test_promiseBookmarksTree.
https://reviewboard.mozilla.org/r/138756/#review142044
Attachment #8867157 -
Flags: review?(mak77) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8433174 -
Attachment is obsolete: true
Comment hidden (mozreview-request) |
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/318c40d7d0d8
Cleanup test_promiseBookmarksTree. r=mak
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•