[Nice-commit] Nice/src/nice/tools/testsuite TestCase.java,1.27,1.28
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-20 03:02:49
|
Update of /cvsroot/nice/Nice/src/nice/tools/testsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1598/src/nice/tools/testsuite Modified Files: TestCase.java Log Message: Make the nicec ant task report messages through the ant framework. Index: TestCase.java =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/TestCase.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** TestCase.java 8 Dec 2003 18:37:11 -0000 1.27 --- TestCase.java 20 Feb 2004 02:51:57 -0000 1.28 *************** *** 295,305 **** int retval = compilePackage(packageName); switch (retval) { ! case nice.tools.compiler.console.fun.ERROR: showMessages = true; throw new TestSuiteException(ERROR_MSG); ! case nice.tools.compiler.console.fun.BUG: showMessages = true; throw new CompilerBugException(BUG_MSG); ! case nice.tools.compiler.console.fun.WARNING: showMessages = true; break; --- 295,305 ---- int retval = compilePackage(packageName); switch (retval) { ! case nice.tools.compiler.fun.ERROR: showMessages = true; throw new TestSuiteException(ERROR_MSG); ! case nice.tools.compiler.fun.BUG: showMessages = true; throw new CompilerBugException(BUG_MSG); ! case nice.tools.compiler.fun.WARNING: showMessages = true; break; |