[Nice-commit] Nice/src/nice/tools/ant TestListener.nice,1.2,1.3
Brought to you by:
bonniot
|
From: Daniel B. <bo...@us...> - 2005-02-25 03:12:04
|
Update of /cvsroot/nice/Nice/src/nice/tools/ant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23223/src/nice/tools/ant Modified Files: TestListener.nice Log Message: Print correct source file and line numbers in niceunit (#1096734). Index: TestListener.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/ant/TestListener.nice,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestListener.nice 18 Feb 2004 17:45:10 -0000 1.2 --- TestListener.nice 25 Feb 2005 03:11:39 -0000 1.3 *************** *** 42,46 **** } ! failure(test, cause) { failures++; --- 42,46 ---- } ! failure(test, cause, loader) { failures++; *************** *** 50,55 **** let couldPrint = iterLocations (test, cause, (?String file, String method, int line) => ! println("Location: " + file + " method " + method + ! (line < 0 ? "" : " line " + line))); if (! couldPrint) --- 50,56 ---- let couldPrint = iterLocations (test, cause, (?String file, String method, int line) => ! println("Location: " + file + " method " + method + ! (line < 0 ? "" : " line " + line)), ! loader); if (! couldPrint) *************** *** 62,66 **** throw new BuildException(""failures" tests failed", task.getLocation); ! task.log("Unit testing done: "tests" tests successful", Project.MSG_INFO); } --- 63,67 ---- throw new BuildException(""failures" tests failed", task.getLocation); ! task.log("Unit testing done: "tests" tests successful", Project.MSG_INFO); } |