290N/A <
title>Widget Test Suite</
title>
290N/A #console .yui3-console-entry {
290N/A #console .yui3-console-entry-fail .yui3-console-entry-cat {
290N/A #console .yui3-console-entry-pass .yui3-console-entry-cat {
290N/A background-color:green;
2339N/A #console .yui3-console-entry-perf .yui3-console-entry-cat {
290N/A<
body class="yui3-skin-sam">
290N/A<
div id="testbed" class="yui3-skin-foo"></
div>
290N/AYUI({useBrowserConsole:false}).use('test', 'widget', 'console', function (Y) {
290N/A "getSkinName should return null if not rendered" : function () {
2690N/A "getSkinName should return name from BB if available": function () {
2690N/A "getSkinName should return name from body or null": function () {
290N/A "getSkinName should return name from ancestor if both ancestor and body are classed": function () {
290N/A testRenderedDestroy: function() {
290N/A testUnrenderedDestroy: function() {
290N/A testSingleBoxDestroy: function() {
290N/A testWidgetClone : function() {
290N/A testWidgetHashClone : function() {
290N/A // When Widget's are properties of an object it seems to break apart
290N/A // something not passed to the recursive call maybe?
290N/A testBaseClone : function() {
290N/A testBaseHashClone : function() {
290N/A Y.one("#btnRun").set("disabled", false).on("click", function() {
290N/A entryTemplate: '<
pre class="{entry_class} {cat_class} {src_class}">'+
290N/A '<
span class="{entry_cat_class}">{label}</
span>'+
290N/A '<
span class="{entry_content_class}">{message}</
span>'+
290N/A<
p><
input type="button" value="Run Tests" id="btnRun" disabled=true></
p>