jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770276 - /jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java
Date Thu, 30 Apr 2009 15:09:58 GMT
Author: jukka
Date: Thu Apr 30 15:09:58 2009
New Revision: 770276

URL: http://svn.apache.org/viewvc?rev=770276&view=rev
Log:
JCR-1104: JSR 283 support

Add dummy session methods

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java?rev=770276&r1=770275&r2=770276&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/test/java/org/apache/jackrabbit/server/remoting/davex/JsonDiffHandlerTest.java
Thu Apr 30 15:09:58 2009
@@ -18,6 +18,7 @@
 
 import junit.framework.TestCase;
 
+import javax.jcr.Property;
 import javax.jcr.Session;
 import javax.jcr.Repository;
 import javax.jcr.Workspace;
@@ -38,6 +39,8 @@
 import javax.jcr.lock.LockException;
 import javax.jcr.nodetype.ConstraintViolationException;
 import javax.jcr.nodetype.NoSuchNodeTypeException;
+import javax.jcr.retention.RetentionManager;
+import javax.jcr.security.AccessControlManager;
 import javax.jcr.version.VersionException;
 import java.util.Map;
 import java.util.HashMap;
@@ -198,5 +201,66 @@
 
         public void removeLockToken(String lt) {
         }
+
+        public AccessControlManager getAccessControlManager()
+                throws UnsupportedRepositoryOperationException,
+                RepositoryException {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
+        public Node getNode(String arg0) throws PathNotFoundException,
+                RepositoryException {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
+        public Node getNodeByIdentifier(String arg0)
+                throws ItemNotFoundException, RepositoryException {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
+        public Property getProperty(String arg0) throws PathNotFoundException,
+                RepositoryException {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
+        public RetentionManager getRetentionManager()
+                throws UnsupportedRepositoryOperationException,
+                RepositoryException {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
+        public boolean hasCapability(String arg0, Object arg1, Map arg2)
+                throws RepositoryException {
+            // TODO Auto-generated method stub
+            return false;
+        }
+
+        public boolean hasPermission(String arg0, String arg1)
+                throws RepositoryException {
+            // TODO Auto-generated method stub
+            return false;
+        }
+
+        public boolean nodeExists(String arg0) throws RepositoryException {
+            // TODO Auto-generated method stub
+            return false;
+        }
+
+        public boolean propertyExists(String arg0) throws RepositoryException {
+            // TODO Auto-generated method stub
+            return false;
+        }
+
+        public void removeItem(String arg0) throws VersionException,
+                LockException, ConstraintViolationException,
+                PathNotFoundException, RepositoryException {
+            // TODO Auto-generated method stub
+            
+        }
     }
 }
\ No newline at end of file



Mime
View raw message