13885.3.4
by Graham Binns
Added standard_test_template.(js|html) to help people not have to cargo-cult boilerplate. |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<title>Standard JS test template</title> |
|
5 |
||
6 |
<!-- YUI and test setup -->
|
|
7 |
<script type="text/javascript" |
|
8 |
src="../../../../canonical/launchpad/icing/yui/yui/yui.js"> |
|
9 |
</script> |
|
10 |
<link rel="stylesheet" href="../../../app/javascript/testing/test.css" /> |
|
11 |
<script type="text/javascript" |
|
12 |
src="../../../app/javascript/testing/testrunner.js"></script> |
|
13 |
||
14 |
<!-- Dependency -->
|
|
15 |
<script type="text/javascript" |
|
16 |
src="../../../../canonical/launchpad/icing/yui/attribute/attribute.js"> |
|
17 |
</script> |
|
18 |
<script type="text/javascript" |
|
19 |
src="../../../../canonical/launchpad/icing/yui/event-custom/event-custom.js"> |
|
20 |
</script> |
|
21 |
<script type="text/javascript" |
|
22 |
src="../../../../canonical/launchpad/icing/yui/oop/oop.js"> |
|
23 |
</script> |
|
24 |
<script type="text/javascript" |
|
25 |
src="../../../app/javascript/client.js"></script> |
|
26 |
<!-- ADD ANY DEPENDENCIES HERE -->
|
|
27 |
||
28 |
<!-- The module under test -->
|
|
29 |
<script type="text/javascript" src="../$MODULE_UNDER_TEST.js"></script> |
|
30 |
||
31 |
<!-- The test suite -->
|
|
32 |
<script type="text/javascript" src="$YOUR_TEST_SUITE.JS"></script> |
|
33 |
||
34 |
<!-- Test layout -->
|
|
35 |
<link rel="stylesheet" |
|
36 |
href="../../../../canonical/launchpad/javascript/test.css" /> |
|
37 |
<style type="text/css"> |
|
38 |
/* CSS classes specific to this test */
|
|
39 |
.unseen { display: none; } |
|
40 |
</style> |
|
41 |
</head> |
|
42 |
<body class="yui3-skin-sam"> |
|
43 |
</body> |
|
44 |
</html> |