widget.html revision 4a5f24116202d9475862e022628fa2919d990842
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney <link type="text/css" rel="stylesheet" href="/build/test/assets/test-console.css">
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney font: normal 125%/1.4 Arial, sans-serif;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney .yui3-skin-sam .yui3-console .yui3-console-content {
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney font-size: 10px;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney .yui3-skin-sam .yui3-console-entry-pass .yui3-console-entry-cat {
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney background: #070;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney color: #fff;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney .yui3-skin-sam .yui3-console-entry-fail .yui3-console-entry-cat {
1dac070d5991af1a83315be5c43374921abe4aeaMatt Sweeney background: #700;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney color: #fff;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney .yui3-skin-sam .yui3-console-entry-time {
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney display: none;
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney filter : 'raw'
1a86e336ee9746646cf1c0c426cef659a14d3b57Matt Sweeney}).use('test','console',function (Y) {
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeneyvar suite = new Y.Test.Suite("Widget Tests");
c7a0918bf9dc49db2a98ee5ec43a5e139e938f1cMatt Sweeney name : "getSkinName",
var w = new Y.Widget();
cb = bb.one( 'div' ),
w = new Y.Widget( {
var w = new Y.Widget().render(),
body = Y.one( 'body' );
body.removeClass( "yui3-skin-sam" );
body.addClass( "yui3-skin-sam" );
var w = new Y.Widget().render( '#testbed' ),
body = Y.one( 'body' );
body.addClass( "yui3-skin-sam" );
var w = new Y.Widget();
w.destroy();
new Y.Console({
Y.Test.Runner.add(suite);