jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r226972 - /incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/ValueFactoryTest.java
Date Tue, 02 Aug 2005 08:46:15 GMT
Author: stefan
Date: Tue Aug  2 01:46:13 2005
New Revision: 226972

URL: http://svn.apache.org/viewcvs?rev=226972&view=rev
Log:
fixed incorrect message in ValueFactoryTest.testValueFormatException 

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

Modified: incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/ValueFactoryTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/ValueFactoryTest.java?rev=226972&r1=226971&r2=226972&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/ValueFactoryTest.java
(original)
+++ incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/ValueFactoryTest.java
Tue Aug  2 01:46:13 2005
@@ -251,7 +251,8 @@
                     try {
                         value = valueFactory.createValue(dateValueFail,PropertyType.DATE);
                         fail("Conversion from String " + dateValueFail
-                                + " to a Date value should throw ValueFormatException.");
+                                + " to a " + PropertyType.nameFromValue(types[i])
+                                + " value should throw ValueFormatException.");
                     } catch (ValueFormatException vfe) {
                         //ok
                     }
@@ -261,7 +262,8 @@
                     try {
                         value = valueFactory.createValue(doubleValueFail,PropertyType.DOUBLE);
                         fail("Conversion from String " + doubleValueFail
-                            + " to a Date value should throw ValueFormatException.");
+                                + " to a " + PropertyType.nameFromValue(types[i])
+                                + " value should throw ValueFormatException.");
                     } catch (ValueFormatException vfe) {
                         //ok
                     }
@@ -271,7 +273,8 @@
                     try {
                         value = valueFactory.createValue(longValueFail,PropertyType.LONG);
                         fail("Conversion from String " + longValueFail
-                            + " to a Date value should throw ValueFormatException.");
+                                + " to a " + PropertyType.nameFromValue(types[i])
+                                + " value should throw ValueFormatException.");
                     } catch (ValueFormatException vfe) {
                         //ok
                     }
@@ -281,7 +284,8 @@
                     try {
                         value = valueFactory.createValue(nameValueFail,PropertyType.NAME);
                         fail("Conversion from String " + nameValueFail
-                            + " to a Date value should throw ValueFormatException.");
+                                + " to a " + PropertyType.nameFromValue(types[i])
+                                + " value should throw ValueFormatException.");
                     } catch (ValueFormatException vfe) {
                         //ok
                     }
@@ -291,7 +295,8 @@
                     try {
                         value = valueFactory.createValue(pathValueFail,PropertyType.PATH);
                         fail("Conversion from String " + pathValueFail
-                            + " to a Date value should throw ValueFormatException.");
+                                + " to a " + PropertyType.nameFromValue(types[i])
+                                + " value should throw ValueFormatException.");
                     } catch (ValueFormatException vfe) {
                         //ok
                     }



Mime
View raw message