FLEX-35039 Ignoring failing tests until we decide to work on this bug. Also renamed the functions to point to the relevant ticket.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/951d8d2b Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/951d8d2b Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/951d8d2b Branch: refs/heads/develop Commit: 951d8d2b1cdc9fdcf9e56c6a50ccd0766a8f5bcf Parents: 45e6164 Author: Mihai Chira <[email protected]> Authored: Wed Mar 2 13:10:04 2016 +0100 Committer: Mihai Chira <[email protected]> Committed: Wed Mar 2 13:10:04 2016 +0100 ---------------------------------------------------------------------- .../ArrayCollection_FilterNumbers_Tests.as | 20 ++++++++++---------- .../ArrayCollection_FilterStrings_Tests.as | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/951d8d2b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterNumbers_Tests.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterNumbers_Tests.as b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterNumbers_Tests.as index af6d036..5bacfb9 100644 --- a/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterNumbers_Tests.as +++ b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterNumbers_Tests.as @@ -40,18 +40,18 @@ package mx.collections { _sut.addItem(1); _sut.addItem(2); } - - protected function allIn(object:Object):Boolean + + private static function allIn(object:Object):Boolean { return true; } - - protected function allOut(object:Object):Boolean + + private static function allOut(object:Object):Boolean { return false; } - - protected function isOne(object:Object):Boolean + + private static function isOne(object:Object):Boolean { return object == 1; } @@ -200,10 +200,10 @@ package mx.collections { assertEquals("First element not correct", 1, _sut[0]); assertEquals("Second element not correct", 1, _sut[1]); } - - //Fails in Apache Flex 4.9.1. See FLEX-35039 - [Test] - public function swapItemsTwoThenOne():void + + [Ignore] + [Test] //See FLEX-35039 + public function swapItemsTwoThenOne_reproduces_FLEX_35039():void { //given addNumbers(); http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/951d8d2b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterStrings_Tests.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterStrings_Tests.as b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterStrings_Tests.as index d82371c..f61d3ec 100644 --- a/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterStrings_Tests.as +++ b/frameworks/projects/framework/tests/mx/collections/ArrayCollection_FilterStrings_Tests.as @@ -43,17 +43,17 @@ package mx.collections { _sut.addItem("C"); } - protected function allIn(object:Object):Boolean + private static function allIn(object:Object):Boolean { return true; } - - protected function allOut(object:Object):Boolean + + private static function allOut(object:Object):Boolean { return false; } - - protected function isA(object:Object):Boolean + + private static function isA(object:Object):Boolean { return object == "A"; } @@ -218,10 +218,10 @@ package mx.collections { assertEquals("First element not correct", "A", _sut[0]); assertEquals("Second element not correct", "A", _sut[1]); } - - //Fails in Apache Flex 4.9.1. See FLEX-35039 - [Test] - public function swapItemsTwoThenOne():void + + [Ignore] + [Test] //See FLEX-35039 + public function swapItemsTwoThenOne_reproduces_FLEX_35039():void { //given addStrings();
