flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-tlf] [refs/heads/develop] - Added a little more info to the assert in the paddingBottomTest test which sometimes fails on Jenkins to try and figure out why it's failing.
Date Sun, 04 Jan 2015 10:09:24 GMT
Repository: flex-tlf
Updated Branches:
  refs/heads/develop 5c3414418 -> 5415cb32d


Added a little more info to the assert in the paddingBottomTest test which sometimes fails
on Jenkins to try and figure out why it's failing.


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

Branch: refs/heads/develop
Commit: 5415cb32d729d41541d66fd3ae8317a98ddf695f
Parents: 5c34144
Author: Harbs <harbs@in-tools.com>
Authored: Sun Jan 4 12:07:32 2015 +0200
Committer: Harbs <harbs@in-tools.com>
Committed: Sun Jan 4 12:07:32 2015 +0200

----------------------------------------------------------------------
 automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/5415cb32/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as
----------------------------------------------------------------------
diff --git a/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as b/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as
index e1ecb96..74c7c30 100644
--- a/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as
+++ b/automation_tests/src/UnitTest/Tests/ContainerAttributeTest.as
@@ -1801,7 +1801,7 @@ package UnitTest.Tests
             var textFlowLine:TextFlowLine = SelManager.textFlow.flowComposer.getLineAt(2);
             var canvas:Canvas = Canvas(testApp.getDisplayObject());
             var textLineBounds:Rectangle = textFlowLine.getTextLine().getBounds(canvas);
-            assertTrue("Paragraph3's top value should be 87.55.", Math.abs(textLineBounds.top
- 87.55) < 0.001);
+            assertTrue("Paragraph3's top value should be 87.55, but was " + textLineBounds.top,
Math.abs(textLineBounds.top - 87.55) < 0.001);
         }
 
         //Fix bug 2869747  using TextFlow.flowComposer and ContainerController, displayed
text is incorrectly masked


Mime
View raw message