FLEX-18746 Renamed the main test function and increased the timeout a bit.
diff --git a/frameworks/projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as b/frameworks/projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as
index 5d64b06..26568d6 100644
--- a/frameworks/projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as
+++ b/frameworks/projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as
@@ -46,7 +46,7 @@
//--------------------------------------------------------------------------
[Test(async, timeout=1000)]
- public function test_object_removed_from_stage_via_code_is_not_initialized():void
+ public function test_closing_previously_opened_folder_with_0_children_does_not_throw_fatal():void
{
//given
const dataProvider:ArrayCollection = new ArrayCollection();
@@ -59,7 +59,7 @@
//then wait a few frames
noEnterFramesToWait = 2;
UIImpersonator.testDisplay.addEventListener(Event.ENTER_FRAME, onEnterFrame);
- Async.handleEvent(this, _finishNotifier, Event.COMPLETE, then_expand_second_folder, 200);
+ Async.handleEvent(this, _finishNotifier, Event.COMPLETE, then_expand_second_folder, 300);
}