FLEX-18746 Renamed the main test function and increased the timeout a bit.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/cd060ca2 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/cd060ca2 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/cd060ca2 Branch: refs/heads/master Commit: cd060ca27b7f9c1cad1e3c9045cfbc64614d01e3 Parents: f804380 Author: Mihai Chira <mih...@apache.org> Authored: Tue Aug 15 11:02:24 2017 +0200 Committer: Mihai Chira <mih...@apache.org> Committed: Tue Aug 15 11:02:24 2017 +0200 ---------------------------------------------------------------------- .../projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/cd060ca2/frameworks/projects/mx/tests/mx/controls/Tree_FLEX_18746_Tests.as ---------------------------------------------------------------------- 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 @@ package mx.controls { //-------------------------------------------------------------------------- [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 @@ package mx.controls { //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); }