launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #06352
[Merge] lp:~rharding/launchpad/combo_yui_tests5 into lp:launchpad
Richard Harding has proposed merging lp:~rharding/launchpad/combo_yui_tests5 into lp:launchpad with lp:~rharding/launchpad/combo_yui_tests as a prerequisite.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~rharding/launchpad/combo_yui_tests5/+merge/92092
= Summary =
Updating more of the YUI tests to be updated per the new convoy/buid dir setup.
See the first MP for the main details. I'm breaking the changes into multiple MP since this is going to be a giant diff due to touching each JS test file.
https://code.launchpad.net/~rharding/launchpad/combo_yui_tests/+merge/91478
== Tests in this batch ==
lib/lp/answers/javascript/tests/test_answercontacts.html
lib/lp/answers/javascript/tests/test_subscribers.html
lib/lp/app/javascript/tests/test_lp_client.html
lib/lp/app/javascript/tests/test_lp_links.html
lib/lp/app/javascript/tests/test_lp_names.html
lib/lp/app/javascript/tests/test_multicheckboxwidget.html
lib/lp/app/javascript/tests/test_privacy.html
lib/lp/app/longpoll/javascript/tests/test_longpoll.html
lib/lp/bugs/javascript/tests/test_async_comment_loading.html
lib/lp/bugs/javascript/tests/test_bug_notification_level.html
lib/lp/bugs/javascript/tests/test_bug_subscription_portlet.html
lib/lp/bugs/javascript/tests/test_bug_tags_entry.html
lib/lp/bugs/javascript/tests/test_buglisting.html
lib/lp/bugs/javascript/tests/test_buglisting_utils.html
lib/lp/bugs/javascript/tests/test_bugtarget_portlet_bugtags.html
lib/lp/bugs/javascript/tests/test_bugtask_delete.html
lib/lp/bugs/javascript/tests/test_filebug_dupfinder.html
lib/lp/bugs/javascript/tests/test_me_too.html
lib/lp/bugs/javascript/tests/test_pre_search.html
lib/lp/bugs/javascript/tests/test_subscribers.html
lib/lp/bugs/javascript/tests/test_subscription.html
lib/lp/code/javascript/tests/test_branchdiff.html
lib/lp/code/javascript/tests/test_branchmergeproposal.nominate.html
lib/lp/code/javascript/tests/test_branchmergeproposal.updater.html
lib/lp/code/javascript/tests/test_branchrevisionexpander.html
lib/lp/code/javascript/tests/test_bugspeclinks.html
lib/lp/code/javascript/tests/test_productseries-setbranch.html
lib/lp/code/javascript/tests/test_requestbuild_overlay.html
lib/lp/registry/javascript/tests/test_distroseriesdifferences_details.html
lib/lp/registry/javascript/tests/test_milestone_creation_failures.html
lib/lp/registry/javascript/tests/test_milestone_table.html
lib/lp/registry/javascript/tests/test_structural_subscription.html
lib/lp/registry/javascript/tests/test_team_mailinglists.html
lib/lp/registry/javascript/tests/timeline-iframe.html
--
https://code.launchpad.net/~rharding/launchpad/combo_yui_tests5/+merge/92092
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rharding/launchpad/combo_yui_tests5 into lp:launchpad.
=== modified file 'lib/lp/answers/javascript/tests/test_answercontacts.html'
--- lib/lp/answers/javascript/tests/test_answercontacts.html 2011-08-15 03:42:02 +0000
+++ lib/lp/answers/javascript/tests/test_answercontacts.html 2012-02-13 16:53:29 +0000
@@ -1,55 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Question answer contacts: answer contacts list</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lp-names.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/activator/activator.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker_patcher.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/person_picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/subscribers/subscribers_list.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../answercontacts.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_answercontacts.js"></script>
-
- </head>
- <body class="yui3-skin-sam">
- <!-- Example markup required by test suite -->
- <div id="test-root"></div>
- </body>
+ <title>Test answercontacts</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../../build/js/lp/..."></script> -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lp-names.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker_patcher.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/person_picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/subscribers/subscribers_list.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../answercontacts.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/answercontacts-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_answercontacts.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.answercontacts.test</li>
+ </ul>
+ <!-- Example markup required by test suite -->
+ <div id="test-root"></div>
+ </body>
</html>
=== modified file 'lib/lp/answers/javascript/tests/test_subscribers.html'
--- lib/lp/answers/javascript/tests/test_subscribers.html 2011-07-28 02:07:16 +0000
+++ lib/lp/answers/javascript/tests/test_subscribers.html 2012-02-13 16:53:29 +0000
@@ -1,53 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Question subscriptions: subscribers list</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lp-names.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/activator/activator.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker_patcher.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/person_picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/subscribers/subscribers_list.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../subscribers.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_subscribers.js"></script>
-
- </head>
- <body class="yui3-skin-sam">
- <!-- Example markup required by test suite -->
- <div id="test-root"></div>
- </body>
+ <title>Test subscribers</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../../build/js/lp/..."></script> -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lp-names.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker_patcher.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/person_picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/subscribers/subscribers_list.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../subscribers.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/subscribers-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_subscribers.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.subscribers.test</li>
+ </ul>
+ <!-- Example markup required by test suite -->
+ <div id="test-root"></div>
+ </body>
</html>
=== modified file 'lib/lp/app/javascript/tests/test_lp_client.html'
--- lib/lp/app/javascript/tests/test_lp_client.html 2011-08-24 15:41:10 +0000
+++ lib/lp/app/javascript/tests/test_lp_client.html 2012-02-13 16:53:29 +0000
@@ -1,31 +1,57 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad lp.client module</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../lp.js"></script>
- <script type="text/javascript" src="../client.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_lp_client.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <div class="context-publication">
- <div id="request-notifications">
- </div>
- <div id="container-of-stuff">
- </div>
- </div>
-</body>
+ <title>Test client</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../client.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/client-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_lp_client.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.client.test</li>
+ </ul>
+ <div class="context-publication">
+ <div id="request-notifications">
+ </div>
+ <div id="container-of-stuff">
+ </div>
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/app/javascript/tests/test_lp_links.html'
--- lib/lp/app/javascript/tests/test_lp_links.html 2011-09-15 07:18:46 +0000
+++ lib/lp/app/javascript/tests/test_lp_links.html 2012-02-13 16:53:29 +0000
@@ -1,32 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad lp-links</title>
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../lp-links.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_lp_links.js"></script>
- </head>
- <body class="yui3-skin-sam">
-
- <!-- The example markup required by the script to run -->
- <div id="expected-id">
- <a href="/bugs/14" class="bug-link" id="valid-bug">bug 14</a>
- <a href="/bugs/200" class="bug-link" id="invalid-bug">bug 200</a>
- <a href="/+branch/valid" class="branch-short-link" id="valid-branch">lp:valid</a>
- <a href="/+branch/invalid" class="branch-short-link" id="invalid-branch">lp:invalid</a>
- </div>
- </body>
+ <title>Test lp-links</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../lp-links.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/lp-links-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_lp_links.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.lp_links.test</li>
+ </ul>
+
+ <!-- The example markup required by the script to run -->
+ <div id="expected-id">
+ <a href="/bugs/14" class="bug-link" id="valid-bug">bug 14</a>
+ <a href="/bugs/200" class="bug-link" id="invalid-bug">bug 200</a>
+ <a href="/+branch/valid" class="branch-short-link" id="valid-branch">lp:valid</a>
+ <a href="/+branch/invalid" class="branch-short-link" id="invalid-branch">lp:invalid</a>
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/app/javascript/tests/test_lp_names.html'
--- lib/lp/app/javascript/tests/test_lp_names.html 2011-07-08 06:06:15 +0000
+++ lib/lp/app/javascript/tests/test_lp_names.html 2012-02-13 16:53:29 +0000
@@ -1,24 +1,49 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad Name Conversion</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../lp-names.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_lp_names.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <div id="container-of-stuff">
- </div>
-</body>
+ <title>Test lp-names</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../build/js/lp/..."></script> -->
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../lp-names.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/lp-names-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_lp_names.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.lp-names.test</li>
+ </ul>
+ <div id="container-of-stuff">
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/app/javascript/tests/test_multicheckboxwidget.html'
--- lib/lp/app/javascript/tests/test_multicheckboxwidget.html 2011-07-08 06:21:11 +0000
+++ lib/lp/app/javascript/tests/test_multicheckboxwidget.html 2012-02-13 16:53:29 +0000
@@ -1,45 +1,67 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Multicheckbox Widget</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Some required dependencies -->
- <script type="text/javascript" src="../client.js"></script>
- <script type="text/javascript" src="../activator/activator.js"></script>
- <script type="text/javascript" src="../lazr/lazr.js"></script>
- <script type="text/javascript" src="../overlay/overlay.js"></script>
- <!-- The module under test -->
- <script type="text/javascript" src="../multicheckbox.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_multicheckboxwidget.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <div class="yui3-widget yui3-activator yui3-activator-focused">
- <span id="edit-test" class="yui3-activator-content yui3-activator-success">
- <span id="multicheckboxtest">
- <span>
- A multicheckbox widget test
- <button id="edit-multicheckboxtest-btn"
- class="lazr-btn yui3-activator-act yui3-activator-hidden">
- Edit
- </button>
- </span>
- <span class="yui3-activator-data-box">
- <span id="edit-test-items"></span>
- </span>
- <div class="yui3-activator-message-box yui3-activator-hidden"/>
- </span>
- </span>
- </div>
-</body>
+ <title>Test multicheckbox</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../multicheckbox.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/multicheckbox-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_multicheckboxwidget.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.multicheckbox.test</li>
+ </ul>
+ <div class="yui3-widget yui3-activator yui3-activator-focused">
+ <span id="edit-test" class="yui3-activator-content yui3-activator-success">
+ <span id="multicheckboxtest">
+ <span>
+ A multicheckbox widget test
+ <button id="edit-multicheckboxtest-btn"
+ class="lazr-btn yui3-activator-act yui3-activator-hidden">
+ Edit
+ </button>
+ </span>
+ <span class="yui3-activator-data-box">
+ <span id="edit-test-items"></span>
+ </span>
+ <div class="yui3-activator-message-box yui3-activator-hidden"/>
+ </span>
+ </span>
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/app/javascript/tests/test_privacy.html'
--- lib/lp/app/javascript/tests/test_privacy.html 2011-09-05 06:47:09 +0000
+++ lib/lp/app/javascript/tests/test_privacy.html 2012-02-13 16:53:29 +0000
@@ -1,26 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad Privacy Notifications</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../privacy.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_privacy.js"></script>
- </head>
- <body class="yui3-skin-sam">
- <!-- The example markup required by the script to run -->
- <div id="maincontent"> </div>
- </body>
+ <title>Test privacy</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../privacy.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/privacy-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_privacy.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.privacy.test</li>
+ <div id="maincontent"> </div>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/app/longpoll/javascript/tests/test_longpoll.html'
--- lib/lp/app/longpoll/javascript/tests/test_longpoll.html 2011-07-08 06:06:15 +0000
+++ lib/lp/app/longpoll/javascript/tests/test_longpoll.html 2012-02-13 16:53:29 +0000
@@ -1,25 +1,48 @@
-<!DOCTYPE
- HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad Longpoll</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Required modules -->
- <script type="text/javascript" src="../../../../app/javascript/client.js"></script>
- <!-- The module under test -->
- <script type="text/javascript" src="../longpoll.js"></script>
- <!-- The test suite -->
- <script type="text/javascript" src="test_longpoll.js"></script>
- </head>
- <body class="yui3-skin-sam">
- </body>
+ <title>Test longpoll</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../../build/js/lp/app/client.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../longpoll.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/longpoll-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_longpoll.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.longpoll.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_async_comment_loading.html'
--- lib/lp/bugs/javascript/tests/test_async_comment_loading.html 2011-12-21 15:23:36 +0000
+++ lib/lp/bugs/javascript/tests/test_async_comment_loading.html 2012-02-13 16:53:29 +0000
@@ -1,51 +1,61 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Status Editor</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependency -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/attribute/attribute.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/event-custom/event-custom.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/oop/oop.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/choiceedit/choiceedit.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../bugtask_index.js"></script>
-
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_async_comment_loading.js"></script>
- <style type="text/css">
- /* CSS classes specific to this test */
- .unseen { display: none; }
- </style>
- <div id="more-comments-spinner" style="display: hidden">
- Look, I'm a spinner. *spins*
- </div>
-</head>
-<body class="yui3-skin-sam">
-</body>
+ <title>Test async_comment_loading</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/choiceedit/choiceedit.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bugtask_index.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/async_comment_loading-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_async_comment_loading.js"></script>
+
+ <style type="text/css">
+ /* CSS classes specific to this test */
+ .unseen { display: none; }
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.async_comment_loading.test</li>
+ </ul>
+ <div id="more-comments-spinner" style="display: hidden">
+ Look, I'm a spinner. *spins*
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_bug_notification_level.html'
--- lib/lp/bugs/javascript/tests/test_bug_notification_level.html 2011-08-10 08:43:17 +0000
+++ lib/lp/bugs/javascript/tests/test_bug_notification_level.html 2012-02-13 16:53:29 +0000
@@ -1,37 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug notification level set-up</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../bug_notification_level.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_bug_notification_level.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
- </head>
- <body class="yui3-skin-sam">
- </body>
+ <title>Test bug_notification_level</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bug_notification_level.js"></script>
+
+ <!-- Placeholder for any css asset for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bug_notification_level-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bug_notification_level.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bug_notification_level.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_bug_subscription_portlet.html'
--- lib/lp/bugs/javascript/tests/test_bug_subscription_portlet.html 2011-08-10 08:43:17 +0000
+++ lib/lp/bugs/javascript/tests/test_bug_subscription_portlet.html 2012-02-13 16:53:29 +0000
@@ -1,43 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug subscriptions: descriptions and unsubscribe actions</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../bug_subscription_portlet.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_bug_subscription_portlet.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
- </head>
- <body class="yui3-skin-sam">
- </body>
+ <title>Test bug_subscription_portlet</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bug_subscription_portlet.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bug_subscription_portlet-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bug_subscription_portlet.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bug_subscription_portlet.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_bug_tags_entry.html'
--- lib/lp/bugs/javascript/tests/test_bug_tags_entry.html 2012-01-05 18:25:04 +0000
+++ lib/lp/bugs/javascript/tests/test_bug_tags_entry.html 2012-02-13 16:53:29 +0000
@@ -1,25 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad bug tags entry</title>
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Other dependencies -->
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../bug_tags_entry.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_bug_tags_entry.js"></script>
- </head>
- <body class="yui3-skin-sam">
- </body>
+ <title>Test bug_tags_entry</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bug_tags_entry.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bug_tags_entry-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bug_tags_entry.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bug_tags_entry.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_buglisting.html'
--- lib/lp/bugs/javascript/tests/test_buglisting.html 2012-01-11 15:48:09 +0000
+++ lib/lp/bugs/javascript/tests/test_buglisting.html 2012-02-13 16:53:29 +0000
@@ -1,55 +1,79 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug task listing</title>
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/assert.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/inlinehelp/inlinehelp.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/expander.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lp.js"></script>
-
- <script type="text/javascript"
- src="../../../contrib/javascript/lp.mustache.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/indicator/indicator.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/listing_navigator.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../buglisting.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_buglisting.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
- </head>
- <body class="yui3-skin-sam">
- <div id="fixture"></div>
- </body>
+ <title>Test buglisting</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/lp.mustache.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/expander.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/listing_navigator.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/indicator/indicator.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/inlinehelp/inlinehelp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/assert.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../buglisting.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/buglisting-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_buglisting.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.buglisting.test</li>
+ </ul>
+
+ <div id="fixture"></div>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_buglisting_utils.html'
--- lib/lp/bugs/javascript/tests/test_buglisting_utils.html 2011-12-15 14:11:30 +0000
+++ lib/lp/bugs/javascript/tests/test_buglisting_utils.html 2012-02-13 16:53:29 +0000
@@ -1,53 +1,75 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Tests for Buglisting Config Widgets</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependencies from our tree -->
- <script type="text/javascript"
- src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/configutils.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <link rel="stylesheet"
- href="../../../app/javascript/formoverlay/assets/formoverlay-core.css"/>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/expander.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/ordering/ordering.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/listing_navigator.js"></script>
- <script type="text/javascript" src="../buglisting.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../buglisting_utils.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_buglisting_utils.js"></script>
-
-</head>
-<body class="yui3-skin-sam">
- <ul id="suites">
- <li>lp.buglisting_utils.test</li>
- </ul>
- <div id="bugs-orderby"></div>
-</body>
+ <title>Test buglisting_utils</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/expander.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/listing_navigator.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/configutils.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/ordering/ordering.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/bugs/buglisting.js"></script>
+
+
+ <!-- Deps css files, we don't have css in our build dir. -->
+ <link rel="stylesheet"
+ href="../../../app/javascript/formoverlay/assets/formoverlay-core.css" />
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../buglisting_utils.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/buglisting_utils-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_buglisting_utils.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.buglisting_utils.test</li>
+ </ul>
+
+ <div id="bugs-orderby"></div>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_bugtarget_portlet_bugtags.html'
--- lib/lp/bugs/javascript/tests/test_bugtarget_portlet_bugtags.html 2012-02-10 10:07:48 +0000
+++ lib/lp/bugs/javascript/tests/test_bugtarget_portlet_bugtags.html 2012-02-13 16:53:29 +0000
@@ -1,34 +1,62 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad bugtarget_portlet_bugtags</title>
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Other dependencies -->
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../bugtarget_portlet_bugtags.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_bugtarget_portlet_bugtags.js"></script>
- </head>
- <body class="yui3-skin-sam">
- <div class="portlet" id="portlet-tags">
- <div id="tags-portlet-spinner"
- class="hidden centered">
- <img src="/@@/spinner" />
- </div>
- <a id="tags-content-link" href="/launchpad/+bugtarget-portlet-tags-content"></a>
- <a href="" id="show-more-tags-link" class="js-action hidden">Show more tags…</a>
- <a href="" id="show-fewer-tags-link" class="js-action hidden">Show fewer tags…</a>
- </div>
- </body>
+ <title>Test bugtarget_portlet_bugtags</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bugtarget_portlet_bugtags.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bugtarget_portlet_bugtags-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bugtarget_portlet_bugtags.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bugtarget_portlet_bugtags.test</li>
+ </ul>
+
+ <div class="portlet" id="portlet-tags">
+ <div id="tags-portlet-spinner" class="hidden centered">
+ <img src="/@@/spinner" />
+ </div>
+
+ <a id="tags-content-link" href="/launchpad/+bugtarget-portlet-tags-content"></a>
+ <a href="" id="show-more-tags-link" class="js-action hidden">Show more tags…</a>
+ <a href="" id="show-fewer-tags-link" class="js-action hidden">Show fewer tags…</a>
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_bugtask_delete.html'
--- lib/lp/bugs/javascript/tests/test_bugtask_delete.html 2011-12-16 03:14:17 +0000
+++ lib/lp/bugs/javascript/tests/test_bugtask_delete.html 2012-02-13 16:53:29 +0000
@@ -1,93 +1,116 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug task deletion</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
-
- <!-- Other dependencies -->
- <script type="text/javascript" src="../../../app/javascript/testing/mockio.js"></script>
- <script type="text/javascript"
- src="../../../contrib/javascript/mustache.js"></script>
- <script type="text/javascript" src="../../../app/javascript/activator/activator.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript" src="../../../app/javascript/confirmationoverlay/confirmationoverlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/choiceedit/choiceedit.js"></script>
- <script type="text/javascript" src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript" src="../../../app/javascript/expander.js"></script>
- <script type="text/javascript" src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript" src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/inlineedit/editor.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript" src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/picker.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/picker_patcher.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/person_picker.js"></script>
- <script type="text/javascript" src="../../../app/javascript/privacy.js"></script>
- <script type="text/javascript" src="../bug_subscription_portlet.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../bugtask_index.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_bugtask_delete.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
- </head>
- <body class="yui3-skin-sam">
- <div id="fixture"></div>
- <div id="request-notifications"></div>
- <script type="text/x-template" id="form-template">
- <table id="affected-software">
- <tbody>
- <tr id="tasksummary49">
- <td>
- <div>
- <a class="sprite product" href="#">Product</a>
- <button class="lazr-btn yui3-activator-act">
- Edit
- </button>
- <a id="bugtask-delete-task49" href="http://foo"
- class="sprite remove bugtask-delete"></a>
- </div>
- </td>
- <td>
- <table>
- <tr id="task49"><td>
- <a id="show-widget-product" class="sprite product"
- href="#">Product</a>
- </td></tr>
- </table>
- </td>
- </tr>
- <tr id="tasksummary50">
- <td>
- <div>
- <a class="sprite product" href="#">Product</a>
- <button class="lazr-btn yui3-activator-act">
- Edit
- </button>
- <a id="bugtask-delete-task50" href="http://foo"
- class="sprite remove bugtask-delete"></a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
+ <title>Test bugtask_index</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
</script>
- </body>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lp.js"></script>
+
+ <!-- Other dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../contrib/javascript/mustache.j../../build/js/lp/s"><
+ <script type="text/javascript" src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/confirmationoverlay/confirmationoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/choiceedit/choiceedit.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/expander.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/inlineedit/editor.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker_patcher.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/person_picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/privacy.js"></script>
+ <script type="text/javascript" src="../../../../../biuld/js/lp/bugs/bug_subscription_portlet.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bugtask_index.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bugtask_index-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bugtask_delete.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bugtask_index.test</li>
+ </ul>
+ <div id="fixture"></div>
+ <div id="request-notifications"></div>
+ <script type="text/x-template" id="form-template">
+ <table id="affected-software">
+ <tbody>
+ <tr id="tasksummary49">
+ <td>
+ <div>
+ <a class="sprite product" href="#">Product</a>
+ <button class="lazr-btn yui3-activator-act">
+ Edit
+ </button>
+ <a id="bugtask-delete-task49" href="http://foo"
+ class="sprite remove bugtask-delete"></a>
+ </div>
+ </td>
+ <td>
+ <table>
+ <tr id="task49"><td>
+ <a id="show-widget-product" class="sprite product"
+ href="#">Product</a>
+ </td></tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="tasksummary50">
+ <td>
+ <div>
+ <a class="sprite product" href="#">Product</a>
+ <button class="lazr-btn yui3-activator-act">
+ Edit
+ </button>
+ <a id="bugtask-delete-task50" href="http://foo"
+ class="sprite remove bugtask-delete"></a>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </script>
+ </body>
</html>
=== renamed file 'lib/lp/bugs/javascript/tests/test_filebug_dupfinder.html' => 'lib/lp/bugs/javascript/tests/test_filebug_dupefinder.html'
--- lib/lp/bugs/javascript/tests/test_filebug_dupfinder.html 2011-11-24 03:49:38 +0000
+++ lib/lp/bugs/javascript/tests/test_filebug_dupefinder.html 2012-02-13 16:53:29 +0000
@@ -1,79 +1,103 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>File bug functionality</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
-
- <!-- Some required dependencies -->
- <script type="text/javascript" src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript" src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/formwidgets/resizing_textarea.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../filebug_dupefinder.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_filebug_dupfinder.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
-</head>
-<body class="yui3-skin-sam">
-<!-- Example markup required by test suite -->
-<div id="test-root">
- <form id="filebug-search-form" enctype="multipart/form-data" method="post" action="">
- <table>
- <tr id="search-field">
- <td>
- <div>
+ <title>Test filebug_dupefinder</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/error.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formwidgets/resizing_textarea.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../filebug_dupefinder.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/filebug_dupefinder-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_filebug_dupefinder.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.filebug_dupefinder.test</li>
+ </ul>
+
+ <!-- Example markup required by test suite -->
+ <div id="test-root">
+ <form id="filebug-search-form" enctype="multipart/form-data" method="post" action="">
+ <table>
+ <tr id="search-field">
+ <td>
+ <div>
+ <label for="field.title">Summary:</label>
+ <input type="text" value="" size="40" name="field.title" id="field.title"/>
+ </div>
+ </td>
+ <td>
+ <input type="submit" class="button" value="Next" name="field.actions.search" id="field.actions.search"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ <div id='spinner'></div>
+ <div id='possible-duplicates'></div>
+ <div style="opacity: 0; display: none" class="transparent" id="filebug-form-container">
+ <div id="bug-reporting-form">
<label for="field.title">Summary:</label>
<input type="text" value="" size="40" name="field.title" id="field.title"/>
+ <div>
+ <form id="filebug-form" method="post" action="#">
+ <label for="field.comment">Comment:</label>
+ <input type="text" value="" size="40" name="field.comment" id="field.comment"/>
+ <div id="extra-filebug-details"></div>
+ <div class="actions">
+ <input type="submit" class="button" value="Submit Bug Report" name="field.actions.submit_bug" id="field.actions.submit_bug"/>
+ </div>
+ </form>
+ </div>
</div>
- </td>
- <td>
- <input type="submit" class="button" value="Next" name="field.actions.search" id="field.actions.search"/>
- </td>
- </tr>
- </table>
- </form>
- <div id='spinner'></div>
- <div id='possible-duplicates'></div>
- <div style="opacity: 0; display: none" class="transparent" id="filebug-form-container">
- <div id="bug-reporting-form">
- <label for="field.title">Summary:</label>
- <input type="text" value="" size="40" name="field.title" id="field.title"/>
- <div>
- <form id="filebug-form" method="post" action="#">
- <label for="field.comment">Comment:</label>
- <input type="text" value="" size="40" name="field.comment" id="field.comment"/>
- <div id="extra-filebug-details"></div>
- <div class="actions">
- <input type="submit" class="button" value="Submit Bug Report" name="field.actions.submit_bug" id="field.actions.submit_bug"/>
- </div>
- </form>
</div>
+ <p style="display: none">
+ <a id="filebug-base-url" href="https://bugs.launchpad.dev/"></a>
+ <a id="filebug-form-url" href="https://bugs.launchpad.dev/foo/+filebug-inline-form"></a>
+ <a id="duplicate-search-url" href="https://bugs.launchpad.dev/foo/+filebug-show-similar"></a>
+ </p>
</div>
- </div>
- <p style="display: none">
- <a id="filebug-base-url" href="https://bugs.launchpad.dev/"></a>
- <a id="filebug-form-url" href="https://bugs.launchpad.dev/foo/+filebug-inline-form"></a>
- <a id="duplicate-search-url" href="https://bugs.launchpad.dev/foo/+filebug-show-similar"></a>
- </p>
-</div>
-</body>
+ </body>
</html>
=== renamed file 'lib/lp/bugs/javascript/tests/test_filebug_dupfinder.js' => 'lib/lp/bugs/javascript/tests/test_filebug_dupefinder.js'
=== modified file 'lib/lp/bugs/javascript/tests/test_me_too.html'
--- lib/lp/bugs/javascript/tests/test_me_too.html 2011-12-21 15:23:36 +0000
+++ lib/lp/bugs/javascript/tests/test_me_too.html 2012-02-13 16:53:29 +0000
@@ -1,45 +1,61 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Status Editor</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependency -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/attribute/attribute.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/event-custom/event-custom.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/oop/oop.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/choiceedit/choiceedit.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../bugtask_index.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_me_too.js"></script>
- <style type="text/css">
- /* CSS classes specific to this test */
- .unseen { display: none; }
- </style>
-</head>
-<body class="yui3-skin-sam">
-</body>
+ <title>Test bugtask_index</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/choiceedit/choiceedit.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bugtask_index.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bugtask_index-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_me_too.js"></script>
+
+ <style type="text/css">
+ /* CSS classes specific to this test */
+ .unseen { display: none; }
+ </style>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bugtask_index.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_pre_search.html'
--- lib/lp/bugs/javascript/tests/test_pre_search.html 2011-12-21 15:23:36 +0000
+++ lib/lp/bugs/javascript/tests/test_pre_search.html 2012-02-13 16:53:29 +0000
@@ -1,45 +1,56 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Status Editor</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependency -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/attribute/attribute.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/event-custom/event-custom.js">
- </script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/oop/oop.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/choiceedit/choiceedit.js">
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../bugtask_index.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_pre_search.js"></script>>
- <style type="text/css">
- /* CSS classes specific to this test */
- .unseen { display: none; }
- </style>
-</head>
-<body class="yui3-skin-sam">
-</body>
+ <title>Test bugtask_index</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/choiceedit/choiceedit.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../bugtask_index.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bugtask_index-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_pre_search.js"></script>
+
+ <style type="text/css">
+ /* CSS classes specific to this test */
+ .unseen { display: none; }
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bugtask_index.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_subscribers.html'
--- lib/lp/bugs/javascript/tests/test_subscribers.html 2011-08-10 08:43:17 +0000
+++ lib/lp/bugs/javascript/tests/test_subscribers.html 2012-02-13 16:53:29 +0000
@@ -1,55 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug subscriptions: subscribers list</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lp-names.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/activator/activator.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker_patcher.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/picker/person_picker.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/subscribers/subscribers_list.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../subscribers.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_subscribers.js"></script>
-
- </head>
- <body class="yui3-skin-sam">
- <!-- Example markup required by test suite -->
- <div id="test-root"></div>
- </body>
+ <title>Test subscribers</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp-names.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/picker/picker_patcher.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/picker/picker.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/picker/person_picker.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/subscribers/subscribers_list.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../subscribers.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/subscribers-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_subscribers.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.subscribers.test</li>
+ </ul>
+ <!-- Example markup required by test suite -->
+ <div id="test-root"></div>
+ </body>
</html>
=== modified file 'lib/lp/bugs/javascript/tests/test_subscription.html'
--- lib/lp/bugs/javascript/tests/test_subscription.html 2011-09-21 04:16:05 +0000
+++ lib/lp/bugs/javascript/tests/test_subscription.html 2012-02-13 16:53:29 +0000
@@ -1,48 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Bug subscriptions: descriptions and unsubscribe actions</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/confirmationoverlay/confirmationoverlay.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../subscription.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_subscription.js"></script>
-
- <!-- Pretty up the sample html -->
- <style type="text/css">
- div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
- </style>
- </head>
- <body class="yui3-skin-sam">
- <!-- Example markup required by test suite -->
- <div id="test-root"></div>
- </body>
+ <title>Test subscription: descriptions and unsubscribe actions</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/..."></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/confirmationoverlay/confirmationoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../subscription.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/subscription-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_subscription.js"></script>
+
+ <!-- Pretty up the sample html -->
+ <style type="text/css">
+ div#sample {margin:15px; width:200px; border:1px solid #999; padding:10px;}
+ </style>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.subscription.test</li>
+ </ul>
+ <!-- Example markup required by test suite -->
+ <div id="test-root"></div>
+ </body>
</html>
=== modified file 'lib/lp/code/javascript/tests/test_branchdiff.html'
--- lib/lp/code/javascript/tests/test_branchdiff.html 2011-07-08 06:21:11 +0000
+++ lib/lp/code/javascript/tests/test_branchdiff.html 2012-02-13 16:53:29 +0000
@@ -1,33 +1,56 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
<html>
<head>
- <title>Test page for branch diff JavaScript unit tests</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../branchmergeproposal.diff.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_branchdiff.js"></script>
- </head>
-
-<body class="yui3-skin-sam">
- <div id="test-diff-popup">
- <a class="diff-link" href="non-url">Test link for testing popup</a>
- <a class="api-ref" style="display:none;"
- href="/~foobar/example/branch/">api</a>
- </div>
-</body>
+ <title>Test branchmergeproposal</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../branchmergeproposal.diff.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/branchmergeproposal-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_branchdiff.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.branchmergeproposal.test</li>
+ </ul>
+
+ <div id="test-diff-popup">
+ <a class="diff-link" href="non-url">Test link for testing popup</a>
+ <a class="api-ref" style="display:none;"
+ href="/~foobar/example/branch/">api</a>
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/code/javascript/tests/test_branchmergeproposal.nominate.html'
--- lib/lp/code/javascript/tests/test_branchmergeproposal.nominate.html 2012-02-07 04:59:51 +0000
+++ lib/lp/code/javascript/tests/test_branchmergeproposal.nominate.html 2012-02-13 16:53:29 +0000
@@ -1,52 +1,75 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Branch Merge Proposal Nominate</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
- <script type="text/javascript" src="../../../contrib/javascript/lp.mustache.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/activator/activator.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript" src="../../../app/javascript/confirmationoverlay/confirmationoverlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/choiceedit/choiceedit.js"></script>
- <script type="text/javascript" src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript" src="../../../app/javascript/expander.js"></script>
- <script type="text/javascript" src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript" src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/inlineedit/editor.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript" src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/picker.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/picker_patcher.js"></script>
- <script type="text/javascript" src="../../../app/javascript/picker/person_picker.js"></script>
-
-
- <!-- The module under test -->
- <script type="text/javascript" src="../branchmergeproposal.nominate.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_branchmergeproposal.nominate.js"></script>
-
-</head>
-<body class="yui3-skin-sam">
- <div id="fixture"></div>
- <script type="text/x-template" id="form-template">
- <form name='launchpadform'>
- <input type="text" name="field.target_branch.target_branch" id="field.target_branch.target_branch" value=""/>
- <input type="text" name="field.reviewer" id="field.reviewer" value=""/>
- <input type="text" name="field.review_type" id="field.review_type" value="" disabled="disabled"/>
- <input type="submit" class="button" value="Propose Merge" name="field.actions.register" id="field.actions.register"/>
- </form>
- </script>
-</body>
+ <title>Test branchmergeproposal</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/lp.mustache.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/activator/activator.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/confirmationoverlay/confirmationoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/choiceedit/choiceedit.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/expander.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/inlineedit/editor.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/picker_patcher.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/picker/person_picker.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../branchmergeproposal.nominate.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/branchmergeproposal-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_branchmergeproposal.nominate.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.branchmergeproposal.test</li>
+ </ul>
+ <div id="fixture"></div>
+ <script type="text/x-template" id="form-template">
+ <form name='launchpadform'>
+ <input type="text" name="field.target_branch.target_branch" id="field.target_branch.target_branch" value=""/>
+ <input type="text" name="field.reviewer" id="field.reviewer" value=""/>
+ <input type="text" name="field.review_type" id="field.review_type" value="" disabled="disabled"/>
+ <input type="submit" class="button" value="Propose Merge" name="field.actions.register" id="field.actions.register"/>
+ </form>
+ </script>
+
+ </body>
</html>
+
=== modified file 'lib/lp/code/javascript/tests/test_branchmergeproposal.updater.html'
--- lib/lp/code/javascript/tests/test_branchmergeproposal.updater.html 2012-01-03 15:38:19 +0000
+++ lib/lp/code/javascript/tests/test_branchmergeproposal.updater.html 2012-02-13 16:53:29 +0000
@@ -1,71 +1,99 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Updater</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../branchmergeproposal.reviewcomment.js"></script>
-
-
- <!-- expected variable -->
- <script type="text/javascript">
- var LP = {
- cache: {},
- links: {}
- };
- </script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../branchmergeproposal.updater.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_branchmergeproposal.updater.js"></script>
-
-</head>
-<body class="yui3-skin-sam">
- <div id="placeholder" style="display:none;">
- </div>
-
- <script type="text/x-template" id="pending-mp">
- <table id="proposal-summary">
- <tr id="summary-row-9-target-branch">
- <th>Merge into:</th>
- <td>
- <a href="/~me/project/branch"
- class="sprite branch">lp://dev/~me/project/branch</a>
- </td>
- </tr>
- </table>
- <div id="diff-area">
- <div class="pending-update" id="diff-pending-update">
- <h3>Updating diff...</h3>
- <p>An updated diff will be available in a few minutes.</p>
- </div>
- </div>
- </script>
-
- <script type="text/x-template" id="current-mp">
- <div id="diff-area">
- <div id="review-diff">
- <h2>Preview Diff</h2>
- <div class="diff-content">Example diff</div>
- </div>
- </div>
- </script>
-
-</body>
+ <title>Test branchmergeproposal</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/..."></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/code/branchmergeproposal.reviewcomment.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../branchmergeproposal.updater.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/branchmergeproposal-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_branchmergeproposal.updater.js"></script>
+
+ <!-- expected variable -->
+ <script type="text/javascript">
+ var LP = {
+ cache: {},
+ links: {}
+ };
+ </script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.branchmergeproposal.updater.test</li>
+ </ul>
+ <div id="placeholder" style="display:none;">
+ </div>
+
+ <script type="text/x-template" id="pending-mp">
+ <table id="proposal-summary">
+ <tr id="summary-row-9-target-branch">
+ <th>Merge into:</th>
+ <td>
+ <a href="/~me/project/branch"
+ class="sprite branch">lp://dev/~me/project/branch</a>
+ </td>
+ </tr>
+ </table>
+ <div id="diff-area">
+ <div class="pending-update" id="diff-pending-update">
+ <h3>Updating diff...</h3>
+ <p>An updated diff will be available in a few minutes.</p>
+ </div>
+ </div>
+ </script>
+
+ <script type="text/x-template" id="current-mp">
+ <div id="diff-area">
+ <div id="review-diff">
+ <h2>Preview Diff</h2>
+ <div class="diff-content">Example diff</div>
+ </div>
+ </div>
+ </script>
+
+
+ </body>
</html>
=== modified file 'lib/lp/code/javascript/tests/test_branchrevisionexpander.html'
--- lib/lp/code/javascript/tests/test_branchrevisionexpander.html 2011-12-21 15:23:36 +0000
+++ lib/lp/code/javascript/tests/test_branchrevisionexpander.html 2012-02-13 16:53:29 +0000
@@ -1,35 +1,59 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
<html>
<head>
- <title>Test page for branch revisionexpander JavaScript unit tests</title>
-
- <!-- YUI 3.0 Setup -->
- <script type="text/javascript" src="../../../../canonical/launchpad/icing/yui/yui/yui.js"></script>
- <script type="text/javascript" src="../../../../canonical/launchpad/icing/lazr/build/lazr.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <link rel="stylesheet" href="../../../../canonical/launchpad/icing/yui/cssreset/reset.css"/>
- <link rel="stylesheet" href="../../../../canonical/launchpad/icing/yui/cssfonts/fonts.css"/>
- <link rel="stylesheet" href="../../../../canonical/launchpad/icing/yui/cssbase/base.css"/>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <link rel="stylesheet" href="../../../../canonical/launchpad/icing/lazr/build/lazr-sam.css" />
-
- <!-- expected variable -->
- <script type="text/javascript">
- var LP = {
- cache: {},
- links: {}
- };
- </script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../branch.revisionexpander.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_branchrevisionexpander.js"></script>
- </head>
-
-<body class="yui3-skin-sam">
-</body>
+ <title>Test branchrevisionexpander</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+
+ <link rel="stylesheet"
+ href="../../../../canonical/launchpad/icing/lazr/assets/skins/sam/lazr.css" />
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../branch.revisionexpander.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/branchrevisionexpander-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_branchrevisionexpander.js"></script>
+
+ <!-- expected variable -->
+ <script type="text/javascript">
+ var LP = {
+ cache: {},
+ links: {}
+ };
+ </script>
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.branchrevisionexpander.test</li>
+ </ul>
+ </body>
</html>
-
=== modified file 'lib/lp/code/javascript/tests/test_bugspeclinks.html'
--- lib/lp/code/javascript/tests/test_bugspeclinks.html 2011-08-04 19:57:38 +0000
+++ lib/lp/code/javascript/tests/test_bugspeclinks.html 2012-02-13 16:53:29 +0000
@@ -1,28 +1,50 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
<html>
<head>
- <title>Test page for bug link functionality.</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../branch.bugspeclinks.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_bugspeclinks.js"></script>
- </head>
-
-<body class="yui3-skin-sam">
-</body>
+ <title>Test bugspeclinks</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../branch.bugspeclinks.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/bugspeclinks-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_bugspeclinks.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.bugspeclinks.test</li>
+ </ul>
+ </body>
</html>
=== modified file 'lib/lp/code/javascript/tests/test_productseries-setbranch.html'
--- lib/lp/code/javascript/tests/test_productseries-setbranch.html 2012-01-19 22:59:03 +0000
+++ lib/lp/code/javascript/tests/test_productseries-setbranch.html 2012-02-13 16:53:29 +0000
@@ -1,214 +1,238 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
<html>
<head>
- <title>stroppy trunk series : Series trunk : stroppy</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../productseries-setbranch.js"></script>
- <script type="text/javascript">
- YUI().use('lp.code.productseries_setbranch', function(Y) {
- Y.on('domready', Y.lp.code.productseries_setbranch.setup);
- });
- </script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_productseries_setbranch.js"></script>
- </head>
-
-<body class="yui3-skin-sam">
- <div id="productseries-setbranch">
- <form action="." name="launchpadform" method="post"
- enctype="multipart/form-data"
- accept-charset="UTF-8">
-
- <table class="form">
- <tbody>
- <tr>
- <td>
- <label>
- <input class="radioType" checked="checked"
- id="field.branch_type.0"
- name="field.branch_type" type="radio" value="link-lp-bzr">
- Link to a Bazaar branch already in Launchpad
- </label>
- <table>
- <tbody>
- <tr>
- <td colspan="2">
- <label for="field.branch_location">Branch:</label>
- <span class="fieldRequired">(Optional)</span>
- <div>
- <input type="text" value="" id="field.branch_location"
- name="field.branch_location" size="35">
-
- </div>
- <p class="formHelp">The Bazaar branch for this series in
- Launchpad, if one exists.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.branch_type.1"
- name="field.branch_type"
- type="radio" value="create-new">
- Create a new, empty branch in Launchpad and link
- to this series
- </label>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.branch_type.2"
- name="field.branch_type" type="radio"
- value="import-external">
- Import a branch hosted somewhere else
- </label>
- <table>
- <tbody>
- <tr>
- <td colspan="2">
- <label for="field.repo_url">Branch URL:</label>
- <span class="fieldRequired">(Optional)</span>
- <div>
- <input class="urlTextType textType" id="field.repo_url"
- name="field.repo_url" size="44" type="text"
- value="" disabled="">
- </div>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.rcs_type.6"
- name="field.rcs_type" type="radio" value="BZR"
- disabled="">
- Bazaar, hosted externally
- </label>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.rcs_type.4"
- name="field.rcs_type" type="radio" value="GIT"
- disabled="">
- Git
- </label>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.rcs_type.3"
- name="field.rcs_type" type="radio"
- value="BZR_SVN" disabled="">
- SVN
- </label>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.rcs_type.5"
- name="field.rcs_type" type="radio" value="HG" disabled="">
- Mercurial
- </label>
- </td>
- </tr>
-
- <tr>
- <td>
- <label>
- <input class="radioType" id="field.rcs_type.1"
- name="field.rcs_type" type="radio" value="CVS"
- disabled="">
- CVS
- </label>
-
+ <title>Test productseries_setbranch</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../productseries-setbranch.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/productseries_setbranch-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_productseries_setbranch.js"></script>
+
+ <script type="text/javascript">
+ YUI().use('lp.code.productseries_setbranch', function(Y) {
+ Y.on('domready', Y.lp.code.productseries_setbranch.setup);
+ });
+ </script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.productseries_setbranch.test</li>
+ </ul>
+ <div id="productseries-setbranch">
+ <form action="." name="launchpadform" method="post"
+ enctype="multipart/form-data"
+ accept-charset="UTF-8">
+
+ <table class="form">
+ <tbody>
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" checked="checked"
+ id="field.branch_type.0"
+ name="field.branch_type" type="radio" value="link-lp-bzr">
+ Link to a Bazaar branch already in Launchpad
+ </label>
<table>
<tbody>
<tr>
<td colspan="2">
- <label for="field.cvs_module">Module:</label>
+ <label for="field.branch_location">Branch:</label>
<span class="fieldRequired">(Optional)</span>
-
<div>
- <input class="textType" id="field.cvs_module"
- name="field.cvs_module" size="20"
- type="text"
- value="" disabled="">
+ <input type="text" value="" id="field.branch_location"
+ name="field.branch_location" size="35">
+
</div>
+ <p class="formHelp">The Bazaar branch for this series in
+ Launchpad, if one exists.</p>
</td>
</tr>
- </tbody>
+ </tbody>
</table>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <label for="field.branch_name">Branch name:</label>
- <div>
- <input class="textType" id="field.branch_name" name="field.branch_name" size="20" type="text" value="" />
- </div>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <label for="field.branch_owner">Branch owner:</label>
- <div>
- <div class="value">
- <select id="field.branch_owner" name="field.branch_owner" size="1" >
- <option value="mark">Mark Shuttleworth (mark)</option>
- <option value="guadamen">GuadaMen (guadamen)</option>
- <option value="hwdb-team">HWDB Team (hwdb-team)</option>
- <option value="admins">Launchpad Administrators (admins)</option>
- <option value="mailing-list-experts">Mailing List Experts (mailing-list-experts)</option>
- <option value="ubuntu-mirror-admins">Mirror Administrators (ubuntu-mirror-admins)</option>
- <option value="registry">Registry Administrators (registry)</option>
- <option value="testing-spanish-team">testing Spanish team (testing-spanish-team)</option>
- <option value="ubuntu-team">Ubuntu Team (ubuntu-team)</option>
- </select>
- </div>
- <input name="field.branch_owner-empty-marker" type="hidden" value="1" />
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- <input type="submit" id="field.actions.update"
- name="field.actions.update" value="Update" class="button">
- or
- <a href="https://launchpad.dev/zyc/trunk">Cancel</a>
- </form>
- </div>
-</body>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.branch_type.1"
+ name="field.branch_type"
+ type="radio" value="create-new">
+ Create a new, empty branch in Launchpad and link
+ to this series
+ </label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.branch_type.2"
+ name="field.branch_type" type="radio"
+ value="import-external">
+ Import a branch hosted somewhere else
+ </label>
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2">
+ <label for="field.repo_url">Branch URL:</label>
+ <span class="fieldRequired">(Optional)</span>
+ <div>
+ <input class="urlTextType textType" id="field.repo_url"
+ name="field.repo_url" size="44" type="text"
+ value="" disabled="">
+ </div>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.rcs_type.6"
+ name="field.rcs_type" type="radio" value="BZR"
+ disabled="">
+ Bazaar, hosted externally
+ </label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.rcs_type.4"
+ name="field.rcs_type" type="radio" value="GIT"
+ disabled="">
+ Git
+ </label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.rcs_type.3"
+ name="field.rcs_type" type="radio"
+ value="BZR_SVN" disabled="">
+ SVN
+ </label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.rcs_type.5"
+ name="field.rcs_type" type="radio" value="HG" disabled="">
+ Mercurial
+ </label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <label>
+ <input class="radioType" id="field.rcs_type.1"
+ name="field.rcs_type" type="radio" value="CVS"
+ disabled="">
+ CVS
+ </label>
+
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2">
+ <label for="field.cvs_module">Module:</label>
+ <span class="fieldRequired">(Optional)</span>
+
+ <div>
+ <input class="textType" id="field.cvs_module"
+ name="field.cvs_module" size="20"
+ type="text"
+ value="" disabled="">
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <label for="field.branch_name">Branch name:</label>
+ <div>
+ <input class="textType" id="field.branch_name" name="field.branch_name" size="20" type="text" value="" />
+ </div>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <label for="field.branch_owner">Branch owner:</label>
+ <div>
+ <div class="value">
+ <select id="field.branch_owner" name="field.branch_owner" size="1" >
+ <option value="mark">Mark Shuttleworth (mark)</option>
+ <option value="guadamen">GuadaMen (guadamen)</option>
+ <option value="hwdb-team">HWDB Team (hwdb-team)</option>
+ <option value="admins">Launchpad Administrators (admins)</option>
+ <option value="mailing-list-experts">Mailing List Experts (mailing-list-experts)</option>
+ <option value="ubuntu-mirror-admins">Mirror Administrators (ubuntu-mirror-admins)</option>
+ <option value="registry">Registry Administrators (registry)</option>
+ <option value="testing-spanish-team">testing Spanish team (testing-spanish-team)</option>
+ <option value="ubuntu-team">Ubuntu Team (ubuntu-team)</option>
+ </select>
+ </div>
+ <input name="field.branch_owner-empty-marker" type="hidden" value="1" />
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <input type="submit" id="field.actions.update"
+ name="field.actions.update" value="Update" class="button">
+ or
+ <a href="https://launchpad.dev/zyc/trunk">Cancel</a>
+ </form>
+ </div>
+
+ </body>
</html>
=== modified file 'lib/lp/code/javascript/tests/test_requestbuild_overlay.html'
--- lib/lp/code/javascript/tests/test_requestbuild_overlay.html 2011-08-25 13:00:39 +0000
+++ lib/lp/code/javascript/tests/test_requestbuild_overlay.html 2012-02-13 16:53:29 +0000
@@ -1,67 +1,94 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad lp.code.requestbuild_overlay module</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript">
- // The code expects this to be present.
- var LP = {
- cache: {},
- links: {}
- };
- </script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../requestbuild_overlay.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_requestbuild_overlay.js"></script>
-</head>
-<body class="yui3-skin-sam">
-<div id="testbed"></div>
-<script type="text/x-template" id="builds-target-template">
- <table>
- <tr class="package-build" id="build-1"></tr>
- <tr class="package-build" id="build-2"></tr>
- </table>
-</script>
-<script type="text/x-template" id="requestbuilds-form-template">
- <div class="form" id="launchpad-form-widgets">
- <select id="field.archive" name="field.archive" size="1" >
- <option selected="selected" value="mark/ppa">
- PPA for Mark Shuttleworth</option>
- </select>
- <input name="field.archive-empty-marker" type="hidden" value="1" />
- <label for="field.distroseries.0">
- <input checked="checked" type="checkbox"
- id="field.distroseries.0" name="field.distroseries" value="3" />
- Hoary</label>
- <label for="field.distroseries.">
- <input checked="checked" type="checkbox"
- id="field.distroseries.1" name="field.distroseries" value="1" />
- Warty</label>
- <input name="field.distroseries-empty-marker" type="hidden" value="1" />
- </div>
-</script>
-</body>
+ <title>Test requestbuild_overlay</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../requestbuild_overlay.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/requestbuild_overlay-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_requestbuild_overlay.js"></script>
+
+ <script type="text/javascript">
+ // The code expects this to be present.
+ var LP = {
+ cache: {},
+ links: {}
+ };
+ </script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.requestbuild_overlay.test</li>
+ </ul>
+
+ <div id="testbed"></div>
+ <script type="text/x-template" id="builds-target-template">
+ <table>
+ <tr class="package-build" id="build-1"></tr>
+ <tr class="package-build" id="build-2"></tr>
+ </table>
+ </script>
+ <script type="text/x-template" id="requestbuilds-form-template">
+ <div class="form" id="launchpad-form-widgets">
+ <select id="field.archive" name="field.archive" size="1" >
+ <option selected="selected" value="mark/ppa">
+ PPA for Mark Shuttleworth</option>
+ </select>
+ <input name="field.archive-empty-marker" type="hidden" value="1" />
+ <label for="field.distroseries.0">
+ <input checked="checked" type="checkbox"
+ id="field.distroseries.0" name="field.distroseries" value="3" />
+ Hoary</label>
+ <label for="field.distroseries.">
+ <input checked="checked" type="checkbox"
+ id="field.distroseries.1" name="field.distroseries" value="1" />
+ Warty</label>
+ <input name="field.distroseries-empty-marker" type="hidden" value="1" />
+ </div>
+ </script>
+
+ </body>
</html>
=== modified file 'lib/lp/registry/javascript/tests/test_distroseriesdifferences_details.html'
--- lib/lp/registry/javascript/tests/test_distroseriesdifferences_details.html 2011-08-30 13:22:03 +0000
+++ lib/lp/registry/javascript/tests/test_distroseriesdifferences_details.html 2012-02-13 16:53:29 +0000
@@ -1,76 +1,95 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad distroseriesdifferences_details tests</title>
-
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Required js modules -->
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../soyuz/javascript/base.js"></script>
- <script type="text/javascript" src="../../../soyuz/javascript/lp_dynamic_dom_updater.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lazr/lazr.js"></script>
- <script type="text/javascript" src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript" src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript" src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript" src="../../../app/javascript/formoverlay/formoverlay.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../distroseriesdifferences_details.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_distroseriesdifferences_details.js"></script>
-</head>
-
-<body class="yui3-skin-sam">
- <h1>Testing the DistroSeriesDifferenceDetails javascript</h1>
-
- <h2>Errors</h2>
- <div id="errors"></div>
-
- <div id="placeholder" style="display:none;">
- </div>
-
- <script type="text/x-template" id="derivedtd-template">
- <td id="derived_row">
- <a href="/deribuntu/deriwarty/+source/{package_name}/{derived_version}"
- class="derived-version">{derived_version}</a>
- </td>
- </script>
-
- <script type="text/x-template" id="localpackagediffs-template">
- <tr class="{package_name}">
- <td>
- <input type="checkbox" value="2"
- id="field.selected_differences.2"
- name="field.selected_differences" />
- <a href="/d/d/+source/{package_name}
- evolution/+difference/ubuntu/warty"
- class="js-action toggle-extra treeCollapsed
- sprite">{package_name}</a>
- </td>
- <td>
- <a href="/ubuntu/warty" class="parent-name">Warty</a>
- </td>
- <td>
- <a href="/ubuntu/warty/+source/{package_name}/{parent_version}"
- class="parent-version">{parent_version}</a>
- </td>
- {derivedrow}
- <td class="packagesets"></td>
- <td class="last-changed"></td>
- <td class="latest-comment-fragment"></td>
- </tr>
- </script>
-
-</body>
+ <title>Test distroseriesdifferences_details</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript" src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/lazr/lazr.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/soyuz/base.js"></script>
+ <script type="text/javascript" src="../../../../../build/js/lp/soyuz/lp_dynamic_dom_updater.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../distroseriesdifferences_details.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/distroseriesdifferences_details-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_distroseriesdifferences_details.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.distroseriesdifferences_details.test</li>
+ </ul>
+
+ <h1>Testing the DistroSeriesDifferenceDetails javascript</h1>
+
+ <h2>Errors</h2>
+ <div id="errors"></div>
+
+ <div id="placeholder" style="display:none;">
+ </div>
+
+ <script type="text/x-template" id="derivedtd-template">
+ <td id="derived_row">
+ <a href="/deribuntu/deriwarty/+source/{package_name}/{derived_version}"
+ class="derived-version">{derived_version}</a>
+ </td>
+ </script>
+
+ <script type="text/x-template" id="localpackagediffs-template">
+ <tr class="{package_name}">
+ <td>
+ <input type="checkbox" value="2"
+ id="field.selected_differences.2"
+ name="field.selected_differences" />
+ <a href="/d/d/+source/{package_name}
+ evolution/+difference/ubuntu/warty"
+ class="js-action toggle-extra treeCollapsed
+ sprite">{package_name}</a>
+ </td>
+ <td>
+ <a href="/ubuntu/warty" class="parent-name">Warty</a>
+ </td>
+ <td>
+ <a href="/ubuntu/warty/+source/{package_name}/{parent_version}"
+ class="parent-version">{parent_version}</a>
+ </td>
+ {derivedrow}
+ <td class="packagesets"></td>
+ <td class="last-changed"></td>
+ <td class="latest-comment-fragment"></td>
+ </tr>
+ </script>
+ </body>
</html>
=== modified file 'lib/lp/registry/javascript/tests/test_milestone_creation_failures.html'
--- lib/lp/registry/javascript/tests/test_milestone_creation_failures.html 2012-01-10 13:53:00 +0000
+++ lib/lp/registry/javascript/tests/test_milestone_creation_failures.html 2012-02-13 16:53:29 +0000
@@ -1,52 +1,70 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Milestone Creation Overlay</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependency -->
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/calendar.js"></script>
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/MochiKit.js"></script>
- <script type="text/javascript"
- src="../../../services/inlinehelp/javascript/inlinehelp.js"></script>
- <script type="text/javascript"
- src="../../../bugs/javascript/bug_tags_entry.js"></script>
-
- <!-- Testing helpers -->
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../milestoneoverlay.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_milestone_creation_failures.js"></script>
-
-</head>
-<body class="yui3-skin-sam">
- <div id="request-notifications"></div>
-</body>
+ <title>Test milestoneoverlay</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/calendar.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/inlinehelp/inlinehelp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/bugs/bug_tags_entry.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../milestoneoverlay.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/milestoneoverlay-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_milestone_creation_failures.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.milestoneoverlay.test</li>
+ </ul>
+ <div id="request-notifications"></div>
+ </body>
</html>
=== modified file 'lib/lp/registry/javascript/tests/test_milestone_table.html'
--- lib/lp/registry/javascript/tests/test_milestone_table.html 2011-08-10 08:43:17 +0000
+++ lib/lp/registry/javascript/tests/test_milestone_table.html 2012-02-13 16:53:29 +0000
@@ -1,40 +1,62 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad milestonetable</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../milestonetable.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_milestone_table.js"></script>
-
-</head>
-<body class="yui3-skin-sam">
- <table id="series-trunk" class="listing">
- <thead>
- <tr>
- <th>Version</th>
- </tr>
- </thead>
- <tbody id="milestone-rows">
- <tr>
- <td>a milestone</td>
- </tr>
- </tbody>
- </table>
-</body>
+ <title>Test milestonetable</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../milestonetable.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/milestonetable-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_milestone_table.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.milestonetable.test</li>
+ </ul>
+ <table id="series-trunk" class="listing">
+ <thead>
+ <tr>
+ <th>Version</th>
+ </tr>
+ </thead>
+ <tbody id="milestone-rows">
+ <tr>
+ <td>a milestone</td>
+ </tr>
+ </tbody>
+ </table>
+ </body>
</html>
=== modified file 'lib/lp/registry/javascript/tests/test_structural_subscription.html'
--- lib/lp/registry/javascript/tests/test_structural_subscription.html 2012-01-09 11:36:12 +0000
+++ lib/lp/registry/javascript/tests/test_structural_subscription.html 2012-02-13 16:53:29 +0000
@@ -1,52 +1,71 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Structural Subscription Overlay</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- Dependency -->
- <script type="text/javascript"
- src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/effects/effects.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/formoverlay/formoverlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/overlay/overlay.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/client.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/errors.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/inlinehelp/inlinehelp.js"></script>
- <script type="text/javascript"
- src="../../../contrib/javascript/yui3-gallery/gallery-accordion/gallery-accordion.js">
- </script>
- <script type="text/javascript"
- src="../../../services/inlinehelp/javascript/inlinehelp.js"></script>
-
-
- <!-- The module under test -->
- <script type="text/javascript" src="../structural-subscription.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_structural_subscription.js"></script>
-
- <style type="text/css">
- /* CSS classes specific to this test */
- .unseen { display: none; }
- </style>
-</head>
-<body class="yui3-skin-sam">
- <div id="request-notifications"></div>
-</body>
+ <title>Test structural_subscription</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/effects/effects.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/formoverlay/formoverlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/overlay/overlay.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/errors.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/inlinehelp/inlinehelp.js"></script>
+ <script type="text/javascript"
+ src="../../../contrib/javascript/yui3-gallery/gallery-accordion/gallery-accordion.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../structural-subscription.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/structural_subscription-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_structural_subscription.js"></script>
+
+ <style type="text/css">
+ /* CSS classes specific to this test */
+ .unseen { display: none; }
+ </style>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.structural_subscription.test</li>
+ </ul>
+
+ <div id="request-notifications"></div>
+ </body>
</html>
=== modified file 'lib/lp/registry/javascript/tests/test_team_mailinglists.html'
--- lib/lp/registry/javascript/tests/test_team_mailinglists.html 2012-02-03 16:28:14 +0000
+++ lib/lp/registry/javascript/tests/test_team_mailinglists.html 2012-02-13 16:53:29 +0000
@@ -1,53 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
<!--
Copyright 2012 Canonical Ltd. This software is licensed under the
GNU Affero General Public License version 3 (see the file LICENSE).
-->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+
<html>
<head>
- <title>Launchpad test_team_mailinglists</title>
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
- <script type="text/javascript"
- src="../../../contrib/javascript/lp.mustache.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../team_mailinglists.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_team_mailinglists.js"></script>
- </head>
- <body class="yui-skin-sam">
-
- <!-- The example markup required by the script to run -->
- <table style="width: 100%;" class="upper-batch-nav">
- <tbody>
- <tr>
- <td style="white-space: nowrap" class="batch-navigation-index">
- <strong>1</strong>→<strong>2</strong> of 2 results</td>
-
- <td style="text-align: right; white-space: nowrap"
- class="batch-navigation-links">
- <a href="#" class="first js-action inactive">First</a>
- •
- <a href="#" class="previous js-action inactive">Previous</a>
- •
- <a href="#" class="next js-action inactive">
- <strong>Next</strong>
- </a>
- •
- <a href="#" class="last js-action inactive">Last</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div id="messagelist">
- </div>
- </body>
+ <title>Test team_mailinglists</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/lp.mustache.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../team_mailinglists.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/team_mailinglists-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_team_mailinglists.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.team_mailinglists.test</li>
+ </ul>
+
+ <!-- The example markup required by the script to run -->
+ <table style="width: 100%;" class="upper-batch-nav">
+ <tbody>
+ <tr>
+ <td style="white-space: nowrap" class="batch-navigation-index">
+ <strong>1</strong>→<strong>2</strong> of 2 results</td>
+
+ <td style="text-align: right; white-space: nowrap"
+ class="batch-navigation-links">
+ <a href="#" class="first js-action inactive">First</a>
+ •
+ <a href="#" class="previous js-action inactive">Previous</a>
+ •
+ <a href="#" class="next js-action inactive">
+ <strong>Next</strong>
+ </a>
+ •
+ <a href="#" class="last js-action inactive">Last</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div id="messagelist">
+ </div>
+
+ </body>
</html>
-
=== modified file 'lib/lp/registry/javascript/tests/timeline-iframe.html'
--- lib/lp/registry/javascript/tests/timeline-iframe.html 2011-07-08 06:06:15 +0000
+++ lib/lp/registry/javascript/tests/timeline-iframe.html 2012-02-13 16:53:29 +0000
@@ -1,24 +1,50 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad TimelineGraph Widget</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../timeline.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="timeline.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <div id="timeline_example">
- </div>
-</body>
+ <title>Test timeline</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../build/js/lp/..."></script> -->
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../timeline.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/timeline-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="timeline.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.timeline.test</li>
+ </ul>
+
+ <div id="timeline_example">
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/soyuz/javascript/tests/test_archive-packages.html'
--- lib/lp/soyuz/javascript/tests/test_archive-packages.html 2012-01-06 10:15:37 +0000
+++ lib/lp/soyuz/javascript/tests/test_archive-packages.html 2012-02-13 16:53:29 +0000
@@ -1,53 +1,69 @@
-<!DOCTYPE
- HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad Archive Packages</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript"
- src="../../../app/javascript/testing/mockio.js"></script>
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript"
- src="../archive-packages.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript"
- src="test_archive-packages.js"></script>
-
- </head>
- <body class="yui3-skin-sam">
- <ul id="suites">
- <li>lp.soyuz.archive_packages.test</li>
- </ul>
-
- <div id="placeholder">
- </div>
-
- <script type="text/x-template" id="pending-job-template">
- <div class="pending-job" job_id="3">
- <a class="remove-notification">Remove notification</a>
- </div>
- </script>
- <script type="text/x-template" id="pending-job-template-no-link">
- <div class="pending-job" job_id="3">
- </div>
- </script>
-
-
- </body>
+ <title>Test archive-packages</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/mockio.js"></script>
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../archive-packages.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/archive-packages-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_archive-packages.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.soyuz.archive_packages.test</li>
+ </ul>
+
+ <div id="placeholder">
+ </div>
+
+ <script type="text/x-template" id="pending-job-template">
+ <div class="pending-job" job_id="3">
+ <a class="remove-notification">Remove notification</a>
+ </div>
+ </script>
+ <script type="text/x-template" id="pending-job-template-no-link">
+ <div class="pending-job" job_id="3">
+ </div>
+ </script>
+ </body>
</html>
=== modified file 'lib/lp/soyuz/javascript/tests/test_archivesubscribers_index.html'
--- lib/lp/soyuz/javascript/tests/test_archivesubscribers_index.html 2011-07-08 06:06:15 +0000
+++ lib/lp/soyuz/javascript/tests/test_archivesubscribers_index.html 2012-02-13 16:53:29 +0000
@@ -1,46 +1,73 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad ArchiveSubscriberIndex</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../archivesubscribers_index.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="archivesubscribers_index.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <h1>Testing the ArchiveSubscribersIndex javascript</h1>
-
- <h2>Errors</h2>
- <div id="errors">
- </div>
-
- <h2>Add subscriber place-holder</h2>
- <div id="add-subscriber-placeholder">
- </div>
-
- <h2>Subscribers</h2>
- <div id="subscribers">
- <table id="archive-subscribers">
- <thead>
- <tr>
- <th>Name</th>
- <th>Expires</th>
- <th colspan="2">Comment</th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
-</body>
+ <title>Test archivesubscribers_index</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../build/js/lp/..."></script> -->
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../archivesubscribers_index.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/archivesubscribers_index-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="archivesubscribers_index.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.archivesubscribers_index.test</li>
+ </ul>
+
+ <h1>Testing the ArchiveSubscribersIndex javascript</h1>
+
+ <h2>Errors</h2>
+ <div id="errors">
+ </div>
+
+ <h2>Add subscriber place-holder</h2>
+ <div id="add-subscriber-placeholder">
+ </div>
+
+ <h2>Subscribers</h2>
+ <div id="subscribers">
+ <table id="archive-subscribers">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Expires</th>
+ <th colspan="2">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ </tbody>
+ </table>
+ </div>
+
+ </body>
</html>
=== modified file 'lib/lp/soyuz/javascript/tests/test_lp_dynamic_dom_updater.html'
--- lib/lp/soyuz/javascript/tests/test_lp_dynamic_dom_updater.html 2011-07-08 06:06:15 +0000
+++ lib/lp/soyuz/javascript/tests/test_lp_dynamic_dom_updater.html 2012-02-13 16:53:29 +0000
@@ -1,24 +1,50 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad DynamicDomUpdater</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../lp_dynamic_dom_updater.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="lp_dynamic_dom_updater.js"></script>
-</head>
-<body class="yui3-skin-sam">
- <div id="lp_dynamic_dom_updater_example">
- </div>
-</body>
+ <title>Test dynamic_dom_updater</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <!-- <script type="text/javascript" src="../../../../../build/js/lp/..."></script> -->
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../lp_dynamic_dom_updater.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/dynamic_dom_updater-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="lp_dynamic_dom_updater.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.dynamic_dom_updater.test</li>
+ </ul>
+
+ <div id="lp_dynamic_dom_updater_example">
+ </div>
+ </body>
</html>
=== modified file 'lib/lp/translations/javascript/tests/test_sourcepackage_sharing_details.html'
--- lib/lp/translations/javascript/tests/test_sourcepackage_sharing_details.html 2011-08-10 08:43:17 +0000
+++ lib/lp/translations/javascript/tests/test_sourcepackage_sharing_details.html 2012-02-13 16:53:29 +0000
@@ -1,79 +1,108 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright 2012 Canonical Ltd. This software is licensed under the
+GNU Affero General Public License version 3 (see the file LICENSE).
+-->
+
<html>
<head>
- <title>Launchpad translationsharingconfig</title>
-
- <!-- YUI and test setup -->
- <script type="text/javascript"
- src="../../../../canonical/launchpad/icing/yui/yui/yui.js">
- </script>
- <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
- <script type="text/javascript"
- src="../../../app/javascript/testing/testrunner.js"></script>
-
- <script type="text/javascript" src="../../../app/javascript/client.js"></script>
- <script type="text/javascript" src="../../../app/javascript/lp.js"></script>
- <script type="text/javascript" src="../../../app/javascript/anim/anim.js"></script>
- <script type="text/javascript"
- src="../../../app/javascript/extras/extras.js"></script>
-
- <!-- The module under test -->
- <script type="text/javascript" src="../sourcepackage_sharing_details.js"></script>
-
- <!-- The test suite -->
- <script type="text/javascript" src="test_sourcepackage_sharing_details.js"></script>
- </head>
- <body class="yui3-skin-sam">
-
- <!-- The example markup required by the script to run -->
- <div id="expected-id">
- <div id="configuration-incomplete">
- Translation sharing configuration is incomplete.
- </div>
- <div id="configuration-complete">
- Translation sharing with upstream is active.
- </div>
- <div id="packaging-incomplete">
- No upstream project series has been linked.
- <a href="#picker" />
- </div>
- <div id="packaging-complete">
- Linked upstream series is
- <a href="#upstream-link" class="link">
- Gimp trunk</a>.
- <a href="#edit-link" ></a>
- <a href="#remove-link" ></a>
- </div>
- <div id="branch-complete">Branch selected: <span class="link"><a
- href="#" class="link"></a></span>
- <span id="branch-complete-picker"><a href="#"></a></span>
- <img src="../../../../canonical/launchpad/images/spinner.gif"
- id="branch-complete-spinner"/>
- </div>
- <div id="branch-incomplete">No branch selected.
- <img src="../../../../canonical/launchpad/images/spinner.gif"
- id="branch-incomplete-spinner"/>
- </div>
- <span id="branch-incomplete-picker"><a href="#"></a></span>
- <div id="translation-incomplete">
- Translations are not enabled on the upstream project.
- <a href="#enable-translations"></a>
- </div>
- <div id="translation-complete">
- Translations are enabled on the upstream project.
- <a href="#enable-translations"></a>
- </div>
- <div id="upstream-sync-incomplete">
- Automatic synchronization of translations is not enabled.
- <img src="../../../../canonical/launchpad/images/spinner.gif"
- id="upstream-sync-incomplete-spinner"/>
- <span id="upstream-sync-incomplete-picker"><a href="#enable-sync"></a></span>
- </div>
- <div id="upstream-sync-complete">
- Automatic synchronization of translations is enabled.
- <span id="upstream-sync-complete-picker"><a href="#enable-sync"></a></span>
- <img src="../../../../canonical/launchpad/images/spinner.gif"
- id="upstream-sync-complete-spinner"/>
- </div>
- </div>
- </body>
+ <title>Test sourcepackage_sharing_details</title>
+
+ <!-- YUI and test setup -->
+ <script type="text/javascript"
+ src="../../../../../build/js/yui/yui/yui.js">
+ </script>
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/console-core.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/console/assets/skins/sam/console.css" />
+ <link rel="stylesheet"
+ href="../../../../../build/js/yui/test/assets/skins/sam/test.css" />
+
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/testing/testrunner.js"></script>
+
+ <link rel="stylesheet" href="../../../app/javascript/testing/test.css" />
+
+ <!-- Dependencies -->
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/client.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/lp.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/anim/anim.js"></script>
+ <script type="text/javascript"
+ src="../../../../../build/js/lp/app/extras/extras.js"></script>
+
+
+ <!-- The module under test. -->
+ <script type="text/javascript" src="../sourcepackage_sharing_details.js"></script>
+
+ <!-- Any css assert for this module. -->
+ <!-- <link rel="stylesheet" href="../assets/sourcepackage_sharing_details-core.css" /> -->
+
+ <!-- The test suite. -->
+ <script type="text/javascript" src="test_sourcepackage_sharing_details.js"></script>
+
+ </head>
+ <body class="yui3-skin-sam">
+ <ul id="suites">
+ <!-- <li>lp.large_indicator.test</li> -->
+ <li>lp.sourcepackage_sharing_details.test</li>
+ </ul>
+
+ <!-- The example markup required by the script to run -->
+ <div id="expected-id">
+ <div id="configuration-incomplete">
+ Translation sharing configuration is incomplete.
+ </div>
+ <div id="configuration-complete">
+ Translation sharing with upstream is active.
+ </div>
+ <div id="packaging-incomplete">
+ No upstream project series has been linked.
+ <a href="#picker" />
+ </div>
+ <div id="packaging-complete">
+ Linked upstream series is
+ <a href="#upstream-link" class="link">
+ Gimp trunk</a>.
+ <a href="#edit-link" ></a>
+ <a href="#remove-link" ></a>
+ </div>
+ <div id="branch-complete">Branch selected: <span class="link"><a
+ href="#" class="link"></a></span>
+ <span id="branch-complete-picker"><a href="#"></a></span>
+ <img src="../../../../canonical/launchpad/images/spinner.gif"
+ id="branch-complete-spinner"/>
+ </div>
+ <div id="branch-incomplete">No branch selected.
+ <img src="../../../../canonical/launchpad/images/spinner.gif"
+ id="branch-incomplete-spinner"/>
+ </div>
+ <span id="branch-incomplete-picker"><a href="#"></a></span>
+ <div id="translation-incomplete">
+ Translations are not enabled on the upstream project.
+ <a href="#enable-translations"></a>
+ </div>
+ <div id="translation-complete">
+ Translations are enabled on the upstream project.
+ <a href="#enable-translations"></a>
+ </div>
+ <div id="upstream-sync-incomplete">
+ Automatic synchronization of translations is not enabled.
+ <img src="../../../../canonical/launchpad/images/spinner.gif"
+ id="upstream-sync-incomplete-spinner"/>
+ <span id="upstream-sync-incomplete-picker"><a href="#enable-sync"></a></span>
+ </div>
+ <div id="upstream-sync-complete">
+ Automatic synchronization of translations is enabled.
+ <span id="upstream-sync-complete-picker"><a href="#enable-sync"></a></span>
+ <img src="../../../../canonical/launchpad/images/spinner.gif"
+ id="upstream-sync-complete-spinner"/>
+ </div>
+ </div>
+
+ </body>
</html>