~smagoun/whoopsie/whoopsie-lp1017637

« back to all changes in this revision

Viewing changes to backend/stats/static/js/yui/tests/loader/tests/index.html

  • Committer: Evan Dandrea
  • Date: 2012-05-09 05:53:45 UTC
  • Revision ID: evan.dandrea@canonical.com-20120509055345-z2j41tmcbf4as5uf
The backend now lives in lp:daisy and the website (errors.ubuntu.com) now lives in lp:errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
 
<html>
3
 
<head>
4
 
    <!-- These link tags are required for the css-stamp tests DO NOT REMOVE -->
5
 
    <link type="text/css" rel="stylesheet" href="../../../build/cssgrids/cssgrids.css">
6
 
    <link type="text/css" rel="stylesheet" href="../../../build/widget-base/assets/skins/sam/widget-base.css">
7
 
    <link type="text/css" rel="stylesheet" href="../../../build/dial/assets/skins/sam/dial.css">    
8
 
    <title>Loader Automated Tests</title>
9
 
</head>
10
 
<body class="yui3-skin-sam">
11
 
 
12
 
<div id="log"></div>
13
 
 
14
 
<!-- This is the main test file, notice it's using the `yui-base` seed file 
15
 
without Loader on the page, so Loader is fetched before tests are executed. -->
16
 
<script type="text/javascript" src="../../../build/yui-base/yui-base.js"></script>
17
 
<script type="text/javascript">
18
 
 
19
 
var YUI_config = {
20
 
    loaderPath: 'loader/loader.js',
21
 
    gconfig: true,
22
 
    gfilter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
23
 
};
24
 
 
25
 
 
26
 
YUI({
27
 
    allowRollup: false,
28
 
    logExclude: {Dom: true, Selector: true, Node: true, attribute: true, base: true, widget: true },    
29
 
    filter: YUI_config.gfilter,
30
 
    modules: {
31
 
        'loader-tests': {
32
 
            fullpath: './loader-tests.js',
33
 
            requires: [ 'test']
34
 
        }
35
 
    }
36
 
}).use('loader-tests', 'test-console', 'test', function(Y) {
37
 
    new Y.Test.Console().render('#log');
38
 
 
39
 
    //This is a YUITest hack to rename this test for reporting
40
 
    Y.Test.Runner.setName('Loader Main Seed Test Suite (fetch loader)');
41
 
    Y.Test.Runner.run();
42
 
});
43
 
 
44
 
</script>
45
 
</body>
46
 
</html>