jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r678657 - /jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java
Date Tue, 22 Jul 2008 06:54:19 GMT
Author: angela
Date: Mon Jul 21 23:54:19 2008
New Revision: 678657

URL: http://svn.apache.org/viewvc?rev=678657&view=rev
Log:
JCR-1629: Testsuite for the SPI Interfaces

Modified:
    jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java

Modified: jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java?rev=678657&r1=678656&r2=678657&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi/src/test/java/org/apache/jackrabbit/spi/RepositoryServiceTest.java
Mon Jul 21 23:54:19 2008
@@ -55,11 +55,11 @@
     public void testGetWorkspaceNames() throws RepositoryException {
         String[] workspaceNames = service.getWorkspaceNames(sessionInfo);
         assertNotNull("Workspace names must not be null", workspaceNames);
-        assertTrue("Workspace names must contain at least a single workspace", workspaceNames.length
> 1);
+        assertTrue("Workspace names must contain at least a single workspace", workspaceNames.length
> 0);
 
         String wspName = getProperty(RepositoryServiceStub.PROP_WORKSPACE);
         assertTrue("Workspace name used for retrieving the SessionInfo must be included in
the available workspaces.", Arrays.asList(workspaceNames).contains(wspName));
     }
 
-    // TODO: add tests
+    // TODO: add more tests
 }
\ No newline at end of file



Mime
View raw message