Revision: 3235 http://vexi.svn.sourceforge.net/vexi/?rev=3235&view=rev Author: clrg Date: 2008-12-04 00:54:40 +0000 (Thu, 04 Dec 2008)
Log Message: ----------- Tests do not need scar Modified Paths: -------------- trunk/core/org.vexi.core/src_junit/test/core/CoreTestCase.java Modified: trunk/core/org.vexi.core/src_junit/test/core/CoreTestCase.java =================================================================== --- trunk/core/org.vexi.core/src_junit/test/core/CoreTestCase.java 2008-12-02 15:47:09 UTC (rev 3234) +++ trunk/core/org.vexi.core/src_junit/test/core/CoreTestCase.java 2008-12-04 00:54:40 UTC (rev 3235) @@ -32,27 +32,7 @@ protected void runTest() throws Throwable { Platform.forceLoad(); final Vexi v = DevUtil.createVexi(resourceDirs); - - /* picture callback is only called if image is not already loaded...*/ - if(org.vexi.core.Surface.scarImage==null){ - Scheduler.forceActive ++; - Scheduler.add(new Callable(){ - public Object run(Object o) throws Exception { - org.vexi.core.Surface.scarImage = Picture.load(Main.scar, new Callable() { public Object run(Object o) throws JSExn { - schedule(v); - Scheduler.decForceActive(); - return null; - } }); - return null; - } - }); - }else{ - schedule(v); - } - - - - + schedule(v); Main.SCHEDULER = new Platform.Scheduler(true); // Start scheduler try{ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn