jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r164764 - /incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java
Date Tue, 26 Apr 2005 07:51:46 GMT
Author: mreutegg
Date: Tue Apr 26 00:51:45 2005
New Revision: 164764

URL: http://svn.apache.org/viewcvs?rev=164764&view=rev
Log:
Fix truncated exception messages in test cases.

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java?rev=164764&r1=164763&r2=164764&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/SetPropertyAssumeTypeTest.java
Tue Apr 26 00:51:45 2005
@@ -444,7 +444,8 @@
             testNode.setProperty(testPropName, stringValue, PropertyType.DATE);
             testRootNode.save();
             fail("Node.setProperty(String, Value, int) must throw a " +
-                 "ConstraintViolationExcpetion if" );
+                 "ConstraintViolationExcpetion if the type parameter and the " +
+                 "type of the property do not match." );
         }
         catch (ConstraintViolationException e) {
             // success
@@ -477,7 +478,8 @@
             testNode.setProperty(testPropName, "abc", PropertyType.DATE);
             testRootNode.save();
             fail("Node.setProperty(String, Value, int) must throw a " +
-                 "ConstraintViolationExcpetion if" );
+                 "ConstraintViolationExcpetion if the type parameter and the " +
+                 "type of the property do not match." );
         }
         catch (ConstraintViolationException e) {
             // success
@@ -510,7 +512,8 @@
             testNode.setProperty(testPropName, stringValues, PropertyType.DATE);
             testRootNode.save();
             fail("Node.setProperty(String, Value, int) must throw a " +
-                 "ConstraintViolationExcpetion if" );
+                 "ConstraintViolationExcpetion if the type parameter and the " +
+                 "type of the property do not match." );
         }
         catch (ConstraintViolationException e) {
             // success



Mime
View raw message