jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r480930 - in /jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api: ReferencePropertyTest.java version/VersionTest.java
Date Thu, 30 Nov 2006 14:05:48 GMT
Author: mreutegg
Date: Thu Nov 30 06:05:45 2006
New Revision: 480930

URL: http://svn.apache.org/viewvc?view=rev&rev=480930
Log:
Typos in test cases

Modified:
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/ReferencePropertyTest.java
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/version/VersionTest.java

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/ReferencePropertyTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/ReferencePropertyTest.java?view=diff&rev=480930&r1=480929&r2=480930
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/ReferencePropertyTest.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/ReferencePropertyTest.java
Thu Nov 30 06:05:45 2006
@@ -82,7 +82,7 @@
                 }
             }
             assertTrue("Referencing property of node " + referenced.getName() +
-                    " nof found.", found);
+                    " not found.", found);
             assertTrue("Referenced node retrieved with getNode is different " +
                     "from the node retrieved with getNodeByUUID",
                     referenced.isSame(referencedNode));
@@ -174,4 +174,4 @@
         assertTrue("Incorrect equals method of Reference value.",
                 PropertyUtil.equalValues(prop2.getValue(), prop.getValue()));
     }
-}
\ No newline at end of file
+}

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/version/VersionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/version/VersionTest.java?view=diff&rev=480930&r1=480929&r2=480930
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/version/VersionTest.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/version/VersionTest.java
Thu Nov 30 06:05:45 2006
@@ -562,7 +562,7 @@
         }
         try {
             version.restore(version2, "abc", true);
-            fail("Version.restore(Version,String,boolean) did not throw an UnsupportedRepositoryOperationException");
+            fail("Version.restore(Version,String,boolean) did not throw an ConstraintViolationException");
         } catch (ConstraintViolationException success) {
         }
     }
@@ -717,4 +717,4 @@
         Property p = version.getNode(jcrFrozenNode).getProperty(jcrFrozenUuid);
         assertEquals("jcr:fronzenUuid should be of type string", PropertyType.TYPENAME_STRING,
PropertyType.nameFromValue(p.getType()));
     }
-}
\ No newline at end of file
+}



Mime
View raw message