Nice/src/nice/tools/testsuite FailTestCase.java,1.12,1.13
Daniel Bonniot <[email protected]> Sat, 12 Mar 2005 10:41:40 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/nice/tools/testsuite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12332/src/nice/tools/testsuite
Modified Files:
FailTestCase.java
Log Message:
Report warnings for fail testcases that do not specify the error location.
Index: FailTestCase.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/FailTestCase.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** FailTestCase.java 19 Feb 2003 18:30:29 -0000 1.12
--- FailTestCase.java 12 Mar 2005 10:41:37 -0000 1.13
***************
*** 43,46 ****
--- 43,51 ----
compilePackages();
} catch(TestSuiteException e) {
+ if (getFailPositions().isEmpty()) {
+ TestNice.getOutput().log("warning", "Failure position not checked");
+ warning();
+ return;
+ }
checkFailPositions();
if (getFailPositions().isEmpty())
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click