slider.html revision b40f5113b5f28daabc29b6ad49c905f290cf6cb7
110N/A<!doctype html>
110N/A<html>
110N/A<head>
110N/A <title>Test Page</title>
110N/A <link type="text/css" rel="stylesheet" href="assets/test.css">
110N/A</head>
110N/A<body class="yui3-skin-sam">
110N/A
110N/A<div id="log"></div>
110N/A<script src="/build/yui/yui.js"></script>
110N/A<script>
110N/AYUI({
110N/A filter: 'raw',
110N/A modules: {
110N/A 'slider-test': {
110N/A fullpath: 'testsuite.js',
110N/A requires: ['slider','test']
110N/A }
110N/A },
110N/A useBrowserConsole: false
844N/A}).use('console-filters', 'slider-test', function (Y) {
110N/A
110N/A new Y.Console({
110N/A style: 'block',
110N/A width: 'inherit',
1303N/A entryTemplate: '<div class="{entry_class} {cat_class} {src_class}">'+
110N/A '<pre class="{entry_content_class}">{message}</pre>'+
110N/A '</div>',
110N/A on: {
1303N/A entry: function (e) {
1303N/A var m = e.message,
110N/A node;
1258N/A
110N/A if (m.category === 'info' &&
110N/A /\s(?:case|suite)\s|yuitests\d+|began/.test(m.message)) {
110N/A m.category = 'status';
110N/A } else if (m.category === 'fail') {
110N/A this.printBuffer();
110N/A m.category = 'error';
110N/A }
110N/A }
181N/A },
110N/A after: {
110N/A render: function () {
110N/A this.get('contentBox').insertBefore( this._foot, this._body );
110N/A }
110N/A }
110N/A }).plug(Y.Plugin.ConsoleFilters, {
110N/A category: {
110N/A pass: false,
110N/A status: false
110N/A }
110N/A })
110N/A .render( "#log" );
110N/A
110N/A Y.Test.Runner.run();
110N/A});
110N/A</script>
110N/A</body>
110N/A</html>
110N/A