index-loader.html revision b0fb3f7185bd8c3423ff3f5e7d62d0a396919582
<!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 loader test file, notice it's using the `yui-base` seed file & including loader so it is NOT fetched. -->
<script type="text/javascript" src="/build/yui-base/yui-base.js"></script>
<script type="text/javascript" src="/build/loader/loader.js"></script>
<script type="text/javascript">
var YUI_config = {
gconfig: true,
gfilter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
};
YUI({
allowRollup: false,
loaderPath: 'loader/loader.js',
logExclude: {Dom: true, Selector: true, Node: true, attribute: true, base: true, event: true, widget: true },
filter: YUI_config.gfilter,
modules: {
'loader-tests': {
fullpath: '/loader-tests.js',
requires: [ 'test']
},
'test-console': {
fullpath : '/common/tests/assets/test-console.js',
requires : ['console-filters'],
skinnable: true
},
'skin-sam-test-console': {
fullpath: '/common/tests/assets/test-console.css',
type : 'css'
}
}
}).use('loader-tests', 'test-console', 'test', function(Y) {
//This is a YUITest hack to rename this test for reporting
Y.Test.Runner.masterSuite.name = 'Loader Included Static Test Suite';
Y.Test.Runner.masterSuite.items[0].name = 'Loader Included Static Test Suite';
Y.Test.Runner.run();
});
</script>
</body>
</html>