[ 
https://issues.apache.org/jira/browse/CMIS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789433#action_12789433
 ] 

Florent Guillaume commented on CMIS-73:
---------------------------------------

I've committed a testcase as of r889742

But the tests don't pass today (and are disabled in the POM), because 
folder/document doesn't seem to work.
In JcrNewFolder for instance, save() tries to do a:
            node.addMixin("mix:unstructured");
which doesn't work as this mixin is not defined.
The creation/mapping model of CMIS to JCR has to be defined clearly and 
implemented, because I think today only the read case has been taken into 
account.

I'm closing this issue, new issues should be opened when someone works on the 
JCR code itself.


> Initial test unit for JCR sub-project
> -------------------------------------
>
>                 Key: CMIS-73
>                 URL: https://issues.apache.org/jira/browse/CMIS-73
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Serge Huber
>         Attachments: Initial_test_unit_for_JCR_mapping.patch
>
>
> Here is a patch proposition for an initial test unit for the Chemistry JCR 
> project. Unfortunately I am not an expert in cross-project sharing of test 
> units so I had to duplicate some of the code in the Atompub-server test unit. 
> This patch could be improved to avoid this.
> Also, currently the tests do not complete because the current implementation 
> of the jcr mapping has a lot of unsupported operations.
> Nevertheless, I think it would be good to have a starting point to implement 
> these tests, and I hope this will contribute to it.
> Best regards,
>   Serge Huber.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to