Merge lp:~rharding/launchpad/bug_yui35_one into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Richard Harding on 2012-06-27 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15508 |
| Proposed branch: | lp:~rharding/launchpad/bug_yui35_one |
| Merge into: | lp:launchpad |
| Diff against target: |
344 lines (+63/-48) 10 files modified
lib/lp/app/javascript/choice.js (+4/-5) lib/lp/app/javascript/testing/helpers.js (+24/-0) lib/lp/app/javascript/tests/test_listing_navigator.html (+2/-0) lib/lp/bugs/javascript/filebug.js (+4/-4) lib/lp/bugs/javascript/tests/test_buglisting_utils.html (+2/-0) lib/lp/bugs/javascript/tests/test_buglisting_utils.js (+7/-21) lib/lp/bugs/javascript/tests/test_filebug.js (+16/-16) lib/lp/bugs/javascript/tests/test_information_type_choice.js (+1/-1) standard_test_template.html (+2/-0) standard_test_template.js (+1/-1) |
| To merge this branch: | bzr merge lp:~rharding/launchpad/bug_yui35_one |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2012-06-27 | Approve on 2012-06-27 | |
|
Review via email:
|
|||
Commit Message
Start to work on YUI3.5 testing with the bug JS.
Description of the Change
= Summary =
Start to update issues found in testing Bug module code in YUI 3.5.
== Implementation Notes ==
We hit another case of needing to reset history so this creates a new testing module 'helpers' and the method is moved there. The helpers is added to the standard default files for JS testing.
One test was found to not be needed any longer.
Fixes a bunch of the missing quotes around selectors that require them.
Also does some misc linting for trailing spaces.
== Tests ==
./bin/test -x -cvv --layer=
== Lint ==
Linting changed files:
standard_
standard_
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== LoC Qualification ==
There are two qualifications:
1. Fixing these tests reduces tech debt and eases maintenance.
2. Getting to YUI 3.5 will allow us to use the build in calendar widget and
will remove all of the YUI2 code from the code base which is aroud 12K LoC
(non-minified) and over 27K lines of total files.

Looks good.
The LoC rationales you've listed require waivers. However, landing lp:~rharding/launchpad/lpnames_yui35 will give you sufficient credit, so I'll take that as the rationale.
The copyright date on test_buglisting _utils. js should be 2011-2012.