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/01/16 01:44:18 UTC
svn commit: r1433777 -
/flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as
Author: aharui
Date: Wed Jan 16 00:44:17 2013
New Revision: 1433777
URL: http://svn.apache.org/viewvc?rev=1433777&view=rev
Log:
Fix random timeouts in mobile tests that use step_timeout/timeout_plus.
Modified:
flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as
Modified: flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as?rev=1433777&r1=1433776&r2=1433777&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as (original)
+++ flex/sdk/branches/develop/mustella/as3/src/mustella/TestCase.as Wed Jan 16 00:44:17 2013
@@ -119,7 +119,7 @@ public class TestCase extends EventDispa
/**
* If non-zero, the time when we'll give up on waiting
*/
- private var expirationTime:int;
+ public var expirationTime:int;
/**
* the last expected Error thrown by SetProperty
@@ -131,7 +131,7 @@ public class TestCase extends EventDispa
*/
public function setExpirationTime(time:int):void
{
- expirationTime = time + UnitTester.timeout_plus;
+ expirationTime = (time > 0) ? time + UnitTester.timeout_plus : 0;
}
/**