Closed
Bug 572840
Opened 15 years ago
Closed 15 years ago
Update Mozmill test templates for coding styles
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
Details
Attachments
(2 files, 1 obsolete file)
|
10.80 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
|
8.70 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
As discussed via email we want to move forward and change our licensing for test files from the Mozilla Public License to the Public Domain license.
The upcoming patch will make those changes for the template files in our repository.
| Assignee | ||
Comment 1•15 years ago
|
||
It also fixes some coding conventions we were a bit laxly in the past. It's really something which we should use from now on in our new tests and fix in existing tests once we have to modify those:
* Constants have to be declared with capital letters
* Opening brackets for functions have to be placed in the same line
* We don't need gDelay anymore.
* Module inclusion should be done via constants
Anything else I missed or which needs to be improved?
| Assignee | ||
Updated•15 years ago
|
Attachment #452058 -
Attachment is patch: true
Attachment #452058 -
Attachment mime type: application/octet-stream → text/plain
Attachment #452058 -
Flags: review?(anthony.s.hughes)
| Assignee | ||
Comment 2•15 years ago
|
||
Now without the changes to the DownloadManagerClosed test.
Attachment #452058 -
Attachment is obsolete: true
Attachment #452061 -
Flags: review?(anthony.s.hughes)
Attachment #452058 -
Flags: review?(anthony.s.hughes)
Attachment #452061 -
Flags: review?(anthony.s.hughes) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
Landed on all branches:
http://hg.mozilla.org/qa/mozmill-tests/rev/34fdd1965a1d
http://hg.mozilla.org/qa/mozmill-tests/rev/3db52d993829
http://hg.mozilla.org/qa/mozmill-tests/rev/fa3cba61a286
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•15 years ago
|
||
We want to revert that change and go back to the MPL. Patch upcoming.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 5•15 years ago
|
||
Attachment #455270 -
Flags: review?(anthony.s.hughes)
Comment on attachment 455270 [details] [diff] [review]
Reverting to MPL
>+ * The Initial Developer of the Original Code is
>+ * John Doe <johndoe@example.com>.
>+ *
>+ * Portions created by the Initial Developer are Copyright (C) 2010
>+ * the Initial Developer. All Rights Reserved.
>+ *
>+ * Contributor(s):
>+ *
>+ * Alternatively, the contents of this file may be used under the terms of
Would it be at all possible to add an example Contributor like we have under Initial Developer?
Attachment #455270 -
Flags: review?(anthony.s.hughes) → review+
| Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> Would it be at all possible to add an example Contributor like we have under
> Initial Developer?
For a template it wouldn't be necessary because it has always to be removed. But lets discuss that next week what's possible.
Landed changes on all branches:
http://hg.mozilla.org/qa/mozmill-tests/rev/f2cc3bc2659e
http://hg.mozilla.org/qa/mozmill-tests/rev/f1800d0c29a1
http://hg.mozilla.org/qa/mozmill-tests/rev/f6b1814ebb7b
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•15 years ago
|
Resolution: WONTFIX → FIXED
Summary: Update Mozmill test templates for new Public Domain license and coding styles → Update Mozmill test templates for coding styles
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•