FLEX-34088 Using addChild instead of addElement for FlexUnit to get the test to 
run.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/631b09c6
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/631b09c6
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/631b09c6

Branch: refs/heads/develop
Commit: 631b09c60a49af3dd96990f85ced677f51188d72
Parents: 3d71f1b
Author: Mihai Chira <mih...@apache.org>
Authored: Mon Sep 19 13:32:06 2016 +0200
Committer: Mihai Chira <mih...@apache.org>
Committed: Mon Sep 19 13:32:06 2016 +0200

----------------------------------------------------------------------
 .../components/supportClasses/CalloutButton_FLEX_34088_Tests.as    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/631b09c6/frameworks/projects/spark/tests/spark/components/supportClasses/CalloutButton_FLEX_34088_Tests.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/spark/tests/spark/components/supportClasses/CalloutButton_FLEX_34088_Tests.as
 
b/frameworks/projects/spark/tests/spark/components/supportClasses/CalloutButton_FLEX_34088_Tests.as
index e084124..d1c68b3 100644
--- 
a/frameworks/projects/spark/tests/spark/components/supportClasses/CalloutButton_FLEX_34088_Tests.as
+++ 
b/frameworks/projects/spark/tests/spark/components/supportClasses/CalloutButton_FLEX_34088_Tests.as
@@ -62,7 +62,7 @@ package spark.components.supportClasses {
         public function 
test_dropdown_doesnt_close_when_item_selected_from_DropDownList():void
         {
             //given
-            UIImpersonator.addElement(_sut);
+            UIImpersonator.addChild(_sut);
 
             //when
             _sut.dispatchEvent(new MouseEvent(MouseEvent.ROLL_OVER));

Reply via email to