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