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