Revision: 1991
http://svn.sourceforge.net/vexi/?rev=1991&view=rev
Author: mkpg2
Date: 2007-07-16 09:39:55 -0700 (Mon, 16 Jul 2007)
Log Message:
-----------
Fix. Test failed due to modifications related to the backtracing.
Modified Paths:
--------------
core/trunk/org.vexi.core/src_junit/test/core/stream/TestStream.java
Modified: core/trunk/org.vexi.core/src_junit/test/core/stream/TestStream.java
===================================================================
--- core/trunk/org.vexi.core/src_junit/test/core/stream/TestStream.java
2007-07-16 16:30:25 UTC (rev 1990)
+++ core/trunk/org.vexi.core/src_junit/test/core/stream/TestStream.java
2007-07-16 16:39:55 UTC (rev 1991)
@@ -10,6 +10,8 @@
import org.ibex.js.Scheduler;
import org.ibex.js.Thread;
import org.ibex.util.Callable;
+import org.vexi.core.Box;
+import org.vexi.core.Main;
import org.vexi.core.Vexi;
import test.core.CoreTestCase;
@@ -72,15 +74,12 @@
File save_ = new
File(tmpDir,"save.txt");
TestCase.assertTrue(!save_.exists() ||
save_.delete());
Fountain.File save = new
Fountain.File(save_.getPath(),true);
+ Thread.beforeNonJS();
try{
JS function = Util.getStatic(v,
main, "runtest");
Thread.runInNew(function, new
JS[]{save});
}finally{
- // REMARK - seems to be ok here,
but then
- // we cannot do the same before the
next testcase!?
- File tmpDir2 =
Util.createTmpDir();
- File save_2 = new
File(tmpDir2,"save.txt");
-
TestCase.assertTrue(!save_2.exists() || save_2.delete());
+ Thread.afterNonJS();
}
return null;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn