|
From: <luk...@us...> - 2006-08-18 18:18:19
|
Revision: 67 Author: lukebayes Date: 2006-08-18 11:18:11 -0700 (Fri, 18 Aug 2006) ViewCVS: http://svn.sourceforge.net/asunit/?rev=67&view=rev Log Message: ----------- added removeChild support to the FlexTestRunner Modified Paths: -------------- trunk/framework/as3/asunit/textui/FlexTestRunner.as Modified: trunk/framework/as3/asunit/textui/FlexTestRunner.as =================================================================== --- trunk/framework/as3/asunit/textui/FlexTestRunner.as 2006-08-18 18:08:49 UTC (rev 66) +++ trunk/framework/as3/asunit/textui/FlexTestRunner.as 2006-08-18 18:18:11 UTC (rev 67) @@ -44,5 +44,14 @@ return super.addChild(child); } } + + public override function removeChild(child:DisplayObject):DisplayObject { + if(child is IUIComponent) { + return parent.removeChild(child); + } + else { + return super.removeChild(child); + } + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |