You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2014/12/31 20:51:05 UTC

git commit: [flex-tlf] [refs/heads/develop] - Tests were failing because the width and height were NaN. I randomly set the width and height to 100 and it now passes.

Repository: flex-tlf
Updated Branches:
  refs/heads/develop 31f281ef6 -> 3b3f3d9ae


Tests were failing because the width and height were NaN. I randomly set the width and height to 100 and it now passes.


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

Branch: refs/heads/develop
Commit: 3b3f3d9ae4466f28575d03c46e34ddf093d2fe0c
Parents: 31f281e
Author: Harbs <ha...@in-tools.com>
Authored: Wed Dec 31 21:50:58 2014 +0200
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Dec 31 21:50:58 2014 +0200

----------------------------------------------------------------------
 .../src/UnitTest/Tests/BoundsAndAlignmentTest.as          | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/3b3f3d9a/automation_tests/src/UnitTest/Tests/BoundsAndAlignmentTest.as
----------------------------------------------------------------------
diff --git a/automation_tests/src/UnitTest/Tests/BoundsAndAlignmentTest.as b/automation_tests/src/UnitTest/Tests/BoundsAndAlignmentTest.as
index 026ba5f..2c7a7bf 100644
--- a/automation_tests/src/UnitTest/Tests/BoundsAndAlignmentTest.as
+++ b/automation_tests/src/UnitTest/Tests/BoundsAndAlignmentTest.as
@@ -104,8 +104,8 @@ package UnitTest.Tests
             ]
         ];
 
-        private var width:Number;
-        private var height:Number;
+        private var width:Number = 100;
+        private var height:Number = 100;
 
         private var _blockProgression:String;
         private var _direction:String;
@@ -192,7 +192,6 @@ package UnitTest.Tests
         /********************** Tests Start Here ***************************/
 
         [Test]
-        [Ignore]
         public function simpleMultiParagraph():void
         {
             // This is a subset of simple.xml
@@ -206,7 +205,6 @@ package UnitTest.Tests
         }
 
         [Test]
-        [Ignore]
         public function simpleMultiParagraphNoTextIndent():void
         {
             // This is a subset of simple.xml, and has NO first line indent applied to the paragraphs.
@@ -219,7 +217,6 @@ package UnitTest.Tests
         }
 
         [Test]
-        [Ignore]
         public function longSimpleMultiParagraph():void
         {
             // This is a longer version of simple.xml, so the text overflows the visible area and scrolls
@@ -238,7 +235,6 @@ package UnitTest.Tests
         }
 
         [Test]
-        [Ignore]
         public function simpleMultiParagraphNegTextIndent():void
         {
             // This is a subset of simple.xml, and has NO first line indent applied to the paragraphs.
@@ -251,7 +247,6 @@ package UnitTest.Tests
         }
 
         [Test]
-        [Ignore]
         public function simpleWithPaddingTopLeft():void
         {
             // This is a subset of simple.xml, and has NO first line indent applied to the paragraphs.
@@ -264,7 +259,6 @@ package UnitTest.Tests
         }
 
         [Test]
-        [Ignore]
         public function simpleWithPaddingBottomRight():void
         {
             // This is a subset of simple.xml, and has NO first line indent applied to the paragraphs.