|
Normalize window.flags in tests
window.flags now works just as it does in the app: it is set in test/index.html to an empty object (since the tests don't have the :flags: ns), and each test or each feature (usually divided up into suites, as they should be) deals solely with that feature flag only. If flags are set in a 'before', only those flags are unset in 'after', etc. This is as much a policy proposal as a branch, and I've created a weekly card to discuss.
https://code.launchpad.net/~makyo/juju-gui/flags-cleanup/+merge/177470
(do not edit description out of merge proposal)
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+17 lines, -58 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/index.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/test_app.js
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/test_application_notifications.js
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/test_browser_search_widget.js
|
View
|
1
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/test_environment_view.js
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/test_fakebackend.js
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
test/test_inspector_charm.js
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
test/test_inspector_constraints.js
|
View
|
1
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
test/test_inspector_overview.js
|
View
|
1
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
test/test_inspector_settings.js
|
View
|
1
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
test/test_routing.js
|
View
|
1
2
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/test_sandbox_go.js
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/test_sandbox_python.js
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/test_service_module.js
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
test/test_service_view.js
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 6
|