~launchpad-pqm/launchpad/devel

13885.3.6 by Graham Binns
Updated the test templates to make them match the wiki.
1
<!--
2
Copyright 2011 Canonical Ltd.  This software is licensed under the
3
GNU Affero General Public License version 3 (see the file LICENSE).
4
-->
13885.3.4 by Graham Binns
Added standard_test_template.(js|html) to help people not have to cargo-cult boilerplate.
5
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
6
<html>
7
  <head>
13885.3.6 by Graham Binns
Updated the test templates to make them match the wiki.
8
    <title>Launchpad TESTLIBRARY</title>
9
    <!-- YUI and test setup -->
10
    <script type="text/javascript"
11
            src="../../../../../canonical/launchpad/icing/yui/yui/yui.js">
12
    </script>
13
    <link rel="stylesheet" href="../../../../app/javascript/testing/test.css" />
14
    <script type="text/javascript"
15
            src="../../../../app/javascript/testing/testrunner.js"></script>
16
17
    <!-- The module under test -->
18
    <script type="text/javascript" src="../TESTLIBRARY.js"></script>
19
20
    <!-- The test suite -->
21
    <script type="text/javascript" src="test_TESTLIBRARY.js"></script>
22
  </head>
23
  <body class="yui-skin-sam">
24
25
    <!-- The example markup required by the script to run -->
26
    <div id="expected-id">
27
      ...
28
    </div>
29
  </body>
13885.3.4 by Graham Binns
Added standard_test_template.(js|html) to help people not have to cargo-cult boilerplate.
30
</html>
13885.3.6 by Graham Binns
Updated the test templates to make them match the wiki.
31