Skip to content

Commit

Permalink
Uncommented tests covering newly introduced functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
derek committed Aug 23, 2013
1 parent f481da9 commit 72122b4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/widget/tests/unit/widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -1214,11 +1214,7 @@
},
*/

// FIXME: Include after this is fixed: http://yuilibrary.com/projects/yui3/ticket/2530076, 2530311.
"testSrcNode" : null,

/*
function() {
"testSrcNode" : function() {

var container = Y.one("#widgetRenderContainer");
container.append("<div id='srcNode'><div id='foo'></div></div>");
Expand All @@ -1235,11 +1231,10 @@
Y.Assert.isTrue(w.get("boundingBox").compareTo(sn), "cb !== bb !== sn");
Y.Assert.isTrue(w.get("boundingBox").get("parentNode").compareTo(container), "srcNode moved from it's place in the DOM");

// Y.Assert.isNotNull(w.get("contentBox").one("#foo"), "contents of srcNode not maintained");
Y.Assert.isNotNull(w.get("contentBox").one("#foo"), "contents of srcNode not maintained");

w.destroy(true);
}
*/
},

// CONSCIOUSLY NOT TESTED - CAN'T PASS 2 BOXES TO A SINGLE BOX WIDGET
"testBoundingBoxContentBox" : null,
Expand Down

0 comments on commit 72122b4

Please sign in to comment.