You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by "kwin (via GitHub)" <gi...@apache.org> on 2025/07/02 08:07:51 UTC
Re: [PR] JCR-5137: Update JCR commons to implement current jackrabbit-api [jackrabbit]
kwin commented on code in PR #231:
URL: https://github.com/apache/jackrabbit/pull/231#discussion_r2179402602
##########
jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserImporterTest.java:
##########
@@ -1671,6 +1671,16 @@ public Node getNodeOrNull(String absPath) throws RepositoryException {
return null;
}
+ @Override
+ public String getExpandedName(Item item) throws RepositoryException {
+ throw new RepositoryException("see JCR-5137");
Review Comment:
why this? If not necessary rather throw `OperationUnsupportedException`
##########
jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserImporterTest.java:
##########
@@ -1671,6 +1671,16 @@ public Node getNodeOrNull(String absPath) throws RepositoryException {
return null;
}
+ @Override
+ public String getExpandedName(Item item) throws RepositoryException {
+ throw new RepositoryException("see JCR-5137");
+ }
+
+ @Override
+ public String getExpandedPath(Item item) throws RepositoryException {
+ throw new RepositoryException("see JCR-5137");
Review Comment:
same as above
##########
jackrabbit-core/src/test/java/org/apache/jackrabbit/api/JackrabbitSessionTest.java:
##########
@@ -18,16 +18,21 @@
import org.apache.jackrabbit.test.AbstractJCRTest;
import org.apache.jackrabbit.test.NotExecutableException;
-import org.junit.Ignore;
import javax.jcr.GuestCredentials;
import javax.jcr.Item;
+import javax.jcr.NamespaceException;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.RepositoryException;
+import java.util.UUID;
+
import static org.mockito.Mockito.mock;
+// Borrowed from org.apache.jackrabbit.oak.jcr.session.JackrabbitSessionTest.
Review Comment:
Do we have a place for a TCK for Jackrabbit JCR Extensions?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@jackrabbit.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org