jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r209052 - /incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java
Date Mon, 04 Jul 2005 10:12:36 GMT
Author: mreutegg
Date: Mon Jul  4 03:12:34 2005
New Revision: 209052

URL: http://svn.apache.org/viewcvs?rev=209052&view=rev
Log:
JCR-156: Review test cases and cross check with 1.0 specification
- More verbose failure message

Modified:
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java

Modified: incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java?rev=209052&r1=209051&r2=209052&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java
(original)
+++ incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/PropertyDefTest.java
Mon Jul  4 03:12:34 2005
@@ -389,7 +389,8 @@
                 foundMandatoryProperty = true;
                 String name = propDef.getName();
 
-                assertTrue("Node instance does not contain value for mandatory property.",
node.hasProperty(name));
+                assertTrue("Node " + node.getPath() + " does not contain " +
+                        "value for mandatory property: " + name, node.hasProperty(name));
                 // todo check back with latest spec!
                 /*
                 try {



Mime
View raw message