jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r772603 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
Date Thu, 07 May 2009 10:46:09 GMT
Author: reschke
Date: Thu May  7 10:46:08 2009
New Revision: 772603

URL: http://svn.apache.org/viewvc?rev=772603&view=rev
Log:
JCR-2058: add TCK test for getAllLinearFrozenNodes

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java?rev=772603&r1=772602&r2=772603&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionHistoryTest.java
Thu May  7 10:46:08 2009
@@ -130,9 +130,12 @@
     public void testInitialNumberOfLinearVersions() throws RepositoryException {
         long initialSize = getNumberOfVersions(vHistory);
         long initialLinearSize = getSize(vHistory.getAllLinearVersions());
+        long initialLinearFrozenSize = getSize(vHistory.getAllLinearFrozenNodes());
 
         assertEquals("VersionHistory.getAllVersions() and .getAllLinearVersions should return
the same number of versions for a purely linear version history.",
                 initialSize, initialLinearSize);
+        assertEquals("VersionHistory.getAllVersions() and .getAllLinearFrozenNodes should
return the same number of nodes for a purely linear version history.",
+                initialSize, initialLinearFrozenSize);
     }
 
     /**



Mime
View raw message