Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(638)

Delta Between Two Patch Sets: test/index.html

Issue 10500044: Make charms able to be dragged to the environment.
Left Patch Set: Make charms able to be dragged to the environment. Created 11 years, 9 months ago
Right Patch Set: Make charms able to be dragged to the environment. Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « app/widgets/charm-token.js ('k') | test/test_charm_token_drag_and_drop.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 <html> 1 <html>
2 <!-- 2 <!--
3 This file is part of the Juju GUI, which lets users view and manage Juju 3 This file is part of the Juju GUI, which lets users view and manage Juju
4 environments within a graphical interface (https://launchpad.net/juju-gui). 4 environments within a graphical interface (https://launchpad.net/juju-gui).
5 Copyright (C) 2012-2013 Canonical Ltd. 5 Copyright (C) 2012-2013 Canonical Ltd.
6 6
7 This program is free software: you can redistribute it and/or modify it under 7 This program is free software: you can redistribute it and/or modify it under
8 the terms of the GNU Affero General Public License version 3, as published by 8 the terms of the GNU Affero General Public License version 3, as published by
9 the Free Software Foundation. 9 the Free Software Foundation.
10 10
11 This program is distributed in the hope that it will be useful, but WITHOUT 11 This program is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, 12 ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
13 SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero 13 SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
14 General Public License for more details. 14 General Public License for more details.
15 15
16 You should have received a copy of the GNU Affero General Public License along 16 You should have received a copy of the GNU Affero General Public License along
17 with this program. If not, see <http://www.gnu.org/licenses/>. 17 with this program. If not, see <http://www.gnu.org/licenses/>.
18 --> 18 -->
19 19
20 <head> 20 <head>
21 <meta charset="utf-8"> 21 <meta charset="utf-8">
22 <link rel="stylesheet" href="assets/mocha.css"> 22 <link rel="stylesheet" href="assets/mocha.css">
23 23
24
25 <!-- Load test runner/environment --> 24 <!-- Load test runner/environment -->
26 <script src="assets/chai.js"></script> 25 <script src="assets/chai.js"></script>
27 <script src="assets/mocha.js"></script> 26 <script src="assets/mocha.js"></script>
28 <script> 27 <script>
29 var assert = chai.assert, 28 var assert = chai.assert,
30 expect = chai.expect, 29 expect = chai.expect,
31 should = chai.should(); 30 should = chai.should();
32 mocha.reporter('html'); 31 mocha.reporter('html');
33 mocha.ui('bdd'); 32 mocha.ui('bdd');
34 mocha.setup({ignoreLeaks: false, timeout: 10000}) 33 mocha.setup({ignoreLeaks: false, timeout: 10000})
35 </script> 34 </script>
36 35
37 <!-- Load up YUI base, app modules, and test utils --> 36 <!-- Load up YUI base, app modules, and test utils -->
38 <!-- Since only the tests depend on these files and the prod tests disable 37 <!-- Since only the tests depend on these files and the prod tests disable
39 the YUI loader, we have to include them manually here. --> 38 the YUI loader, we have to include them manually here. -->
40 <script src="/juju-ui/assets/all-yui.js"></script> 39 <script src="/juju-ui/assets/all-yui.js"></script>
41 <script src="/juju-ui/assets/modules.js"></script> 40 <script src="/juju-ui/assets/modules.js"></script>
42 <script src="/juju-ui/assets/event-simulate.js"></script> 41 <script src="/juju-ui/assets/event-simulate.js"></script>
43 <script src="/juju-ui/assets/node-event-simulate.js"></script> 42 <script src="/juju-ui/assets/node-event-simulate.js"></script>
44 <script src="/juju-ui/assets/javascripts/spin.min.js"></script> 43 <script src="/juju-ui/assets/javascripts/spin.min.js"></script>
45 <script src="utils.js"></script> 44 <script src="utils.js"></script>
46 45
46 <!-- Tests (Alphabetical) -->
47 47
48 <!-- Tests (Alphabetical)--> 48 <script src="test_app.js"></script>
49
50 <script src="test_app_hotkeys.js"></script> 49 <script src="test_app_hotkeys.js"></script>
51 <script src="test_app.js"></script>
52 <script src="test_application_notifications.js"></script> 50 <script src="test_application_notifications.js"></script>
53 <script src="test_browser_app.js"></script> 51 <script src="test_browser_app.js"></script>
54 <script src="test_browser_charm_details.js"></script> 52 <script src="test_browser_charm_details.js"></script>
55 <script src="test_browser_editorial.js"></script> 53 <script src="test_browser_editorial.js"></script>
56 <script src="test_browser_models.js"></script> 54 <script src="test_browser_models.js"></script>
57 <script src="test_browser_search_view.js"></script> 55 <script src="test_browser_search_view.js"></script>
58 <script src="test_browser_search_widget.js"></script> 56 <script src="test_browser_search_widget.js"></script>
59 <script src="test_charm_collection_view.js"></script> 57 <script src="test_charm_collection_view.js"></script>
60 <script src="test_charm_configuration.js"></script> 58 <script src="test_charm_configuration.js"></script>
61 <script src="test_charm_container.js"></script> 59 <script src="test_charm_container.js"></script>
62 <script src="test_charm_panel.js"></script> 60 <script src="test_charm_panel.js"></script>
63 <script src="test_charm_store.js"></script> 61 <script src="test_charm_store.js"></script>
64 <script src="test_charm_token.js"></script> 62 <script src="test_charm_token.js"></script>
65 <script src="test_charm_token_drag_and_drop.js"></script> 63 <script src="test_charm_token_drag_and_drop.js"></script>
64
65 <!-- FIXME: tests flicker, add container. -->
66 <script src="test_charm_view.js"></script> 66 <script src="test_charm_view.js"></script>
67
67 <script src="test_console.js"></script> 68 <script src="test_console.js"></script>
68 <script src="test_cookies_app_extension.js"></script> 69 <script src="test_cookies_app_extension.js"></script>
69 <script src="test_databinding.js"></script> 70 <script src="test_databinding.js"></script>
70 <script src="test_d3_components.js"></script> 71 <script src="test_d3_components.js"></script>
71 <script src="test_endpoints.js"></script> 72 <script src="test_endpoints.js"></script>
73 <script src="test_env.js"></script>
72 <script src="test_env_go.js"></script> 74 <script src="test_env_go.js"></script>
75 <script src="test_env_python.js"></script>
73 <script src="test_environment_view.js"></script> 76 <script src="test_environment_view.js"></script>
74 <script src="test_env.js"></script>
75 <script src="test_env_python.js"></script>
76 <script src="test_event_tracker.js"></script> 77 <script src="test_event_tracker.js"></script>
77 <script src="test_fakebackend.js"></script> 78 <script src="test_fakebackend.js"></script>
78 <script src="test_filter_widget.js"></script> 79 <script src="test_filter_widget.js"></script>
79 <script src="test_inspector_widget.js"></script> 80 <script src="test_inspector_widget.js"></script>
80 <script src="test_landscape.js"></script> 81 <script src="test_landscape.js"></script>
81 <script src="test_login.js"></script> 82 <script src="test_login.js"></script>
83
84 <!-- FIXME: latter three modules depend on side effects from model tests. -->
85 <script src="test_model.js"></script>
86 <script src="test_model_controller.js"></script>
87 <script src="test_topology.js"></script>
88 <script src="test_topology_relation.js"></script>
89
82 <script src="test_model_handlers.js"></script> 90 <script src="test_model_handlers.js"></script>
83 <script src="test_model.js"></script>
84 <!-- placed after the model tests to give more meaningful failures-->
85 <script src="test_model_controller.js"></script>
86 <script src="test_notifications.js"></script> 91 <script src="test_notifications.js"></script>
92
93 <!-- FIXME: test "should destroy notifications after N milliseconds"
94 failed once in Jenkins CI, retrying submission. -->
87 <script src="test_notifier_widget.js"></script> 95 <script src="test_notifier_widget.js"></script>
96
97 <!-- FIXME: intermittent test failure under "make test-server" and Chromium -
98 position matches on setBusy: expected 100 to equal 109.09090423583984 -->
88 <script src="test_overlay_indicator.js"></script> 99 <script src="test_overlay_indicator.js"></script>
100
89 <script src="test_panzoom.js"></script> 101 <script src="test_panzoom.js"></script>
90 <script src="test_prettify.js"></script> 102 <script src="test_prettify.js"></script>
91 <script src="test_resizing_textarea.js"></script> 103 <script src="test_resizing_textarea.js"></script>
92 <script src="test_routing.js"></script> 104 <script src="test_routing.js"></script>
93 <script src="test_sandbox.js"></script> 105 <script src="test_sandbox.js"></script>
106
107 <!-- FIXME: tests flicker, add container. -->
108 <script src="test_service_config_view.js"></script>
109
110 <!-- FIXME: tests leave DOM elements behind. -->
94 <script src="test_service_module.js"></script> 111 <script src="test_service_module.js"></script>
112 <script src="test_sharing_widget.js"></script>
113 <script src="test_service_view.js"></script>
114 <script src="test_simulator.js"></script>
115
116 <!-- FIXME: feature flags depend on code loaded by the startup test. -->
95 <script src="test_startup.js"></script> 117 <script src="test_startup.js"></script>
96 <!-- Feature flags require the startup to be available to provide the
97 featureFlags method to the test suite. -->
98 <script src="test_feature_flags.js"></script> 118 <script src="test_feature_flags.js"></script>
99 <script src="test_simulator.js"></script> 119
120 <script src="test_sub_app.js"></script>
100 <script src="test_subapp_app_extension.js"></script> 121 <script src="test_subapp_app_extension.js"></script>
101 <script src="test_sub_app.js"></script>
102 <script src="test_tabview.js"></script> 122 <script src="test_tabview.js"></script>
103 <script src="test_templates.js"></script> 123 <script src="test_templates.js"></script>
104 <script src="test_topology.js"></script>
105 <script src="test_topology_relation.js"></script>
106 <script src="test_topology_utils.js"></script> 124 <script src="test_topology_utils.js"></script>
125
126 <!-- FIXME: tests flicker, add container. -->
107 <script src="test_unit_view.js"></script> 127 <script src="test_unit_view.js"></script>
128
108 <script src="test_utils.js"></script> 129 <script src="test_utils.js"></script>
109 <script src="test_view_container.js"></script> 130 <script src="test_view_container.js"></script>
110 <script src="test_viewport_module.js"></script> 131 <script src="test_viewport_module.js"></script>
111 <script src="test_websocket_logging.js"></script> 132 <script src="test_websocket_logging.js"></script>
112 <script src="test_service_config_view.js"></script>
113 <script src="test_service_view.js"></script>
114 <script> 133 <script>
115 YUI_config = { 134 YUI_config = {
116 async: false, 135 async: false,
117 delayUntil: 'domready', 136 delayUntil: 'domready',
118 debug: false, 137 debug: false,
119 combine: false, 138 combine: false,
120 fetchCSS: false, 139 fetchCSS: false,
121 // Do not attempt to dispatch a new route when an anchor tag appears in 140 // Do not attempt to dispatch a new route when an anchor tag appears in
122 // the url. This is intended to keep charm details from reloading on tab 141 // the url. This is intended to keep charm details from reloading on tab
123 // selection in the browser. 142 // selection in the browser.
(...skipping 14 matching lines...) Expand all
138 157
139 </head> 158 </head>
140 159
141 <body> 160 <body>
142 <div id="shortcut-help" style="display: none"></div> 161 <div id="shortcut-help" style="display: none"></div>
143 <div id="logout-trigger" style="display: none"></div> 162 <div id="logout-trigger" style="display: none"></div>
144 <div id="main" class="container"></div> 163 <div id="main" class="container"></div>
145 <div id="mocha"></div> 164 <div id="mocha"></div>
146 </body> 165 </body>
147 </html> 166 </html>
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b