You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2014/02/05 19:46:27 UTC

svn commit: r1564876 - /commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java

Author: sebb
Date: Wed Feb  5 18:46:27 2014
New Revision: 1564876

URL: http://svn.apache.org/r1564876
Log:
Identify the assertion failure

Modified:
    commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java

Modified: commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java?rev=1564876&r1=1564875&r2=1564876&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/java/org/apache/commons/logging/security/SecurityAllowedTestCase.java Wed Feb  5 18:46:27 2014
@@ -125,7 +125,7 @@ public class SecurityAllowedTestCase ext
 
             // we better compare that we have no security exception during the call to log
             // IBM JVM tries to load bundles during the invoke call, which increase the count
-            assertEquals(untrustedCodeCount, mySecurityManager.getUntrustedCodeCount());
+            assertEquals("Untrusted code count", untrustedCodeCount, mySecurityManager.getUntrustedCodeCount());
         } catch(Throwable t) {
             // Restore original security manager so output can be generated; the
             // PrintWriter constructor tries to read the line.separator