Revision: 1704 http://svn.sourceforge.net/vexi/?rev=1704&view=rev Author: mkpg2 Date: 2007-03-05 00:48:29 -0800 (Mon, 05 Mar 2007)
Log Message: ----------- Test case for exceptions from sub interpreters Added Paths: ----------- core/trunk/org.ibex.js/src_junit/test/js/exceptions/fromsubinterpreter.js core/trunk/org.ibex.js/src_junit/test/js/exceptions/libimportee.js Added: core/trunk/org.ibex.js/src_junit/test/js/exceptions/fromsubinterpreter.js =================================================================== --- core/trunk/org.ibex.js/src_junit/test/js/exceptions/fromsubinterpreter.js (rev 0) +++ core/trunk/org.ibex.js/src_junit/test/js/exceptions/fromsubinterpreter.js 2007-03-05 08:48:29 UTC (rev 1704) @@ -0,0 +1,6 @@ +try{ + sys.import("libimportee"); +}catch(e){ + sys.print(e); + assert(e.stackTrace.length==2); +} Added: core/trunk/org.ibex.js/src_junit/test/js/exceptions/libimportee.js =================================================================== --- core/trunk/org.ibex.js/src_junit/test/js/exceptions/libimportee.js (rev 0) +++ core/trunk/org.ibex.js/src_junit/test/js/exceptions/libimportee.js 2007-03-05 08:48:29 UTC (rev 1704) @@ -0,0 +1 @@ +throw "exception!!"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn