Closed Bug 572840 Opened 15 years ago Closed 15 years ago

Update Mozmill test templates for coding styles

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(2 files, 1 obsolete file)

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.
Attached patch Patch v1 (obsolete) — Splinter Review
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?
Attachment #452058 - Attachment is patch: true
Attachment #452058 - Attachment mime type: application/octet-stream → text/plain
Attachment #452058 - Flags: review?(anthony.s.hughes)
Attached patch Patch v1.1Splinter Review
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+
We want to revert that change and go back to the MPL. Patch upcoming.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Reverting to MPLSplinter Review
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+
(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 ago15 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → FIXED
Summary: Update Mozmill test templates for new Public Domain license and coding styles → Update Mozmill test templates for coding styles
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: