flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mih...@apache.org
Subject [3/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-35043 FLEX-34879 Avoiding the use of the deprecated setter. All tests still pass.
Date Thu, 31 Mar 2016 13:22:53 GMT
FLEX-35043 FLEX-34879
Avoiding the use of the deprecated setter. All tests still pass.


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

Branch: refs/heads/develop
Commit: c7e77bbedd8778eb6d54aa4bcab4bf9006c60ce2
Parents: 2c14851
Author: Mihai Chira <mihaic@apache.org>
Authored: Thu Mar 31 15:21:31 2016 +0200
Committer: Mihai Chira <mihaic@apache.org>
Committed: Thu Mar 31 15:21:31 2016 +0200

----------------------------------------------------------------------
 .../collections/ListCollectionView_PropertyChangeEvent_Tests.as   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c7e77bbe/frameworks/projects/framework/tests/mx/collections/ListCollectionView_PropertyChangeEvent_Tests.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/tests/mx/collections/ListCollectionView_PropertyChangeEvent_Tests.as
b/frameworks/projects/framework/tests/mx/collections/ListCollectionView_PropertyChangeEvent_Tests.as
index a51827a..012b9de 100644
--- a/frameworks/projects/framework/tests/mx/collections/ListCollectionView_PropertyChangeEvent_Tests.as
+++ b/frameworks/projects/framework/tests/mx/collections/ListCollectionView_PropertyChangeEvent_Tests.as
@@ -389,8 +389,7 @@ package mx.collections {
             _sut.removeAll();
             _sut.addAll(new ArrayList([testWorkout, {duration:20}, {duration:5}]));
 
-            var sortField:SortField = new SortField("duration");
-            sortField.sortCompareType = SortFieldCompareTypes.NUMERIC;
+            var sortField:SortField = new SortField("duration", false, false, null, SortFieldCompareTypes.NUMERIC);
             var sort:InspectableSort = new InspectableSort([sortField]);
             _sut.sort = sort;
             _sut.refresh();


Mime
View raw message