You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/07/07 13:39:30 UTC

svn commit: r1143771 - /poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java

Author: sergey
Date: Thu Jul  7 11:39:30 2011
New Revision: 1143771

URL: http://svn.apache.org/viewvc?rev=1143771&view=rev
Log:
fail() shall throw Error, not AssertionError (which is ignored)

Modified:
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java

Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java?rev=1143771&r1=1143770&r2=1143771&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java Thu Jul  7 11:39:30 2011
@@ -429,9 +429,8 @@ public final class TestProblems extends 
    }
 
     static void fixed(String bugzillaId) {
-        fail("Bug " + bugzillaId + " seems to be fixed. " +
+        throw new Error("Bug " + bugzillaId + " seems to be fixed. " +
                 "Please resolve the issue in Bugzilla and remove fail() from the test");
-
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org