You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2014/08/11 13:41:46 UTC

[04/19] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34119 Adding some explanations on the main unit test.

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/develop
Commit: 75e8db42470094f75c04a68254a7165c28bb065f
Parents: 4cb80bf
Author: Mihai Chira <mi...@gmail.com>
Authored: Tue Jul 22 11:24:48 2014 +0100
Committer: Mihai Chira <mi...@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
 	{