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