Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0643113C0 for ; Mon, 11 Aug 2014 11:41:44 +0000 (UTC) Received: (qmail 14826 invoked by uid 500); 11 Aug 2014 11:41:44 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 14750 invoked by uid 500); 11 Aug 2014 11:41:44 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 14445 invoked by uid 99); 11 Aug 2014 11:41:44 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 11:41:44 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 193759AADB9; Mon, 11 Aug 2014 11:41:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mihaic@apache.org To: commits@flex.apache.org Date: Mon, 11 Aug 2014 11:41:46 -0000 Message-Id: <864d1e25463b42fe98a598b030ac26e8@git.apache.org> In-Reply-To: <1b7fd77a36684c4ab831418c9f9ef643@git.apache.org> References: <1b7fd77a36684c4ab831418c9f9ef643@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Tue Jul 22 11:24:48 2014 +0100 Committer: Mihai Chira 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 {