You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/06/08 08:47:00 UTC

git commit: [flex-sdk] [refs/heads/develop] - expand tolerance on some tests

Updated Branches:
  refs/heads/develop 1cb7c3608 -> 3777b5ff0


expand tolerance on some tests


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

Branch: refs/heads/develop
Commit: 3777b5ff07ca24639d4daca42f87b8423fa7eb17
Parents: 1cb7c36
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jun 7 23:46:32 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jun 7 23:46:32 2013 -0700

----------------------------------------------------------------------
 .../test/CatalystMatrixSequences_test.mxml         |    4 ++--
 .../BetterAutoCenter/Resize_SpaceInvaders.mxml     |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3777b5ff/mustella/tests/spark/effects/Regression/test/CatalystMatrixSequences_test.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/spark/effects/Regression/test/CatalystMatrixSequences_test.mxml b/mustella/tests/spark/effects/Regression/test/CatalystMatrixSequences_test.mxml
index e158f09..38978bc 100644
--- a/mustella/tests/spark/effects/Regression/test/CatalystMatrixSequences_test.mxml
+++ b/mustella/tests/spark/effects/Regression/test/CatalystMatrixSequences_test.mxml
@@ -156,7 +156,7 @@
                 <RunCode code="application.updateTestStatus('Running CatalystMatrixSequences_12...')" />
 				<RunCode code="application.button_clickHandler_12()" waitTarget="Sequence12" waitEvent="effectEnd" />
 				
-                <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'width,height,x,y,z', '127,431,643,281.5,0|127,99,0,0,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0|127,313,-103,118,0|24,99,0,108,0|24,99,103,108,0|24,99,51,108,0|59,313,34,0,0|127,99,0,226,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0', 1)" value="PASS" />
+                <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'width,height,x,y,z', '127,431,643,281.5,0|127,99,0,0,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0|127,313,-103,118,0|24,99,0,108,0|24,99,103,108,0|24,99,51,108,0|59,313,34,0,0|127,99,0,226,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0', 5)" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'rotation,rotationX,rotationY,rotationZ', '90,0,0,90|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0')" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'scaleX,scaleY,scaleZ', '1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1')" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPostLayoutPropertySet(application.group1, 'x,y,z,rotationX,rotationY,rotationZ,scaleX,scaleY,scaleZ', '0,0,0,0,0,0,1,1,1|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null',0.01)" value="PASS" />
@@ -175,7 +175,7 @@
                 <RunCode code="application.updateTestStatus('Running CatalystMatrixSequences_14...')" />
 				<RunCode code="application.button_clickHandler_14()" waitTarget="Sequence14" waitEvent="effectEnd" />
 				
-                <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'width,height,x,y,z', '128,325,666.5,210,0|127,99,0,0,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0|127,313,127,319,0|24,99,0,108,0|24,99,103,108,0|24,99,51,108,0|59,313,34,0,0|127,99,0,226,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0', 1)" value="PASS" />
+                <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'width,height,x,y,z', '128,325,666.5,210,0|127,99,0,0,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0|127,313,127,319,0|24,99,0,108,0|24,99,103,108,0|24,99,51,108,0|59,313,34,0,0|127,99,0,226,0|24,99,0,0,0|24,99,103,0,0|24,99,50,0,0', 5)" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'rotation,rotationX,rotationY,rotationZ', '90,0,0,90|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|-180,0,0,-180|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0|0,0,0,0')" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPropertySet(application.group1, 'scaleX,scaleY,scaleZ', '1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1|1,1,1')" value="PASS" />
                 <AssertMethodValue method="value=EffectTesting.assertPostLayoutPropertySet(application.group1, 'x,y,z,rotationX,rotationY,rotationZ,scaleX,scaleY,scaleZ', '0,0,0,0,0,0,1,1,1|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|0,0,0,0,0,0,1,1,1|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null|null,null,null,null,null,null,null,null,null',0.01)" value="PASS" />

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3777b5ff/mustella/tests/spark/effects/Resize/BetterAutoCenter/Resize_SpaceInvaders.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/spark/effects/Resize/BetterAutoCenter/Resize_SpaceInvaders.mxml b/mustella/tests/spark/effects/Resize/BetterAutoCenter/Resize_SpaceInvaders.mxml
index 3ff32e9..75a3b12 100644
--- a/mustella/tests/spark/effects/Resize/BetterAutoCenter/Resize_SpaceInvaders.mxml
+++ b/mustella/tests/spark/effects/Resize/BetterAutoCenter/Resize_SpaceInvaders.mxml
@@ -75,11 +75,11 @@
 				<RunCode code="application.p_rm_act_acpl.play();" waitTarget="p_rm_act_acpl" waitEvent="effectEnd" timeout="{timeout}" />
 				<AssertPropertyValue target="invader1" propertyName="width" value="200"/>
 				<AssertPropertyValue target="invader1" propertyName="height" value="100"/>
-				<AssertMethodValue method="value=(application.invader1.x &gt; 249)" value="true"/>
-				<AssertMethodValue method="value=(application.invader1.x &lt; 251)" value="true"/>
+				<AssertMethodValue method="value=(application.invader1.x &gt; 247)" value="true"/>
+				<AssertMethodValue method="value=(application.invader1.x &lt; 253)" value="true"/>
 				<AssertPropertyValue target="invader1" propertyName="y" value="0"/>
-				<AssertMethodValue method="value=(application.invader1.postLayoutTransformOffsets.x &gt; -51)" value="true"/>
-				<AssertMethodValue method="value=(application.invader1.postLayoutTransformOffsets.x &lt; -49)" value="true"/>
+				<AssertMethodValue method="value=(application.invader1.postLayoutTransformOffsets.x &gt; -53)" value="true"/>
+				<AssertMethodValue method="value=(application.invader1.postLayoutTransformOffsets.x &lt; -47)" value="true"/>
 			</body>
 		</TestCase>