|
From: <luk...@us...> - 2006-10-23 19:25:14
|
Revision: 131
http://svn.sourceforge.net/asunit/?rev=131&view=rev
Author: lukebayes
Date: 2006-10-23 12:12:48 -0700 (Mon, 23 Oct 2006)
Log Message:
-----------
Added bug fix to prevent multiple dispacthes to an async method from completing test execution more than once
Modified Paths:
--------------
trunk/framework/as3/asunit/framework/TestCase.as
Modified: trunk/framework/as3/asunit/framework/TestCase.as
===================================================================
--- trunk/framework/as3/asunit/framework/TestCase.as 2006-10-19 18:33:04 UTC (rev 130)
+++ trunk/framework/as3/asunit/framework/TestCase.as 2006-10-23 19:12:48 UTC (rev 131)
@@ -174,6 +174,9 @@
* throws Error
*/
public function runBare():void {
+ if(isComplete) {
+ return;
+ }
var name:String;
var itr:Iterator = getMethodIterator();
if(itr.hasNext()) {
@@ -301,6 +304,9 @@
}
protected function runTearDown():void {
+ if(isComplete) {
+ return;
+ }
if(!runSingle) {
tearDown();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|