flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [15/50] git commit: [flex-sdk] [refs/heads/new_android_skins] - FLEX-34119 Adding some explanations on the main unit test.
Date Sun, 17 Aug 2014 07:48:02 GMT
FLEX-34119 Adding some explanations on the main unit test.


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

Branch: refs/heads/new_android_skins
Commit: 75e8db42470094f75c04a68254a7165c28bb065f
Parents: 4cb80bf
Author: Mihai Chira <mihai.chira@gmail.com>
Authored: Tue Jul 22 11:24:48 2014 +0100
Committer: Mihai Chira <mihai.chira@gmail.com>
Committed: Tue Jul 22 11:24:48 2014 +0100

----------------------------------------------------------------------
 .../HierarchicalCollectionViewCursor_FLEX_34119_Test.as  | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/75e8db42/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
index 6f52139..8bc72d7 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34119_Test.as
@@ -19,6 +19,17 @@ package
 	import org.flexunit.asserts.assertTrue;
 	import org.flexunit.runners.Parameterized;
 
+    /**
+     * README
+     *
+     * -This unit test was initially created to test FLEX-34119, and ended up uncovering
FLEX-34424 as well.
+     * -This test builds a hierarchical collection from a string (see HIERARCHY_STRING),
so that it's easy
+     * to edit and change it for specific scenarios.
+     * -This test uses utility functions from HierarchicalCollectionViewTestUtils, and data
objects from DataNode.
+     * -Running the test takes about 3min on my machine. It will vary on yours, of course,
but it shouldn't
+     * be wildly different.
+     * -To speed it up you can decrease the size of the hierarchical collection by editing
HIERARCHY_STRING.
+     */
 	[RunWith("org.flexunit.runners.Parameterized")]
 	public class HierarchicalCollectionViewCursor_FLEX_34119_Test
 	{


Mime
View raw message