You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2013/12/11 10:29:08 UTC
[jira] [Commented] (OAK-884) Add simple randomized test
[ https://issues.apache.org/jira/browse/OAK-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845215#comment-13845215 ]
Antonio Sanso commented on OAK-884:
-----------------------------------
[~anchela] as mentioned above [0]
{code}
jackrabbitRepository = JcrUtils.getRepository();
{code}
requires
{code}
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-core</artifactId>
+ <version>${jackrabbit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-jcr-server</artifactId>
+ <version>${jackrabbit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
{code}
in order to work . :)
[0] https://issues.apache.org/jira/browse/OAK-884?focusedCommentId=13833564&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13833564
> Add simple randomized test
> --------------------------
>
> Key: OAK-884
> URL: https://issues.apache.org/jira/browse/OAK-884
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: run
> Reporter: Antonio Sanso
> Fix For: 0.14
>
> Attachments: OAK-884-patch.txt, OAK-884-patch.txt, OAK-884-patch.txt
>
>
> Taking as example org.apache.jackrabbit.oak.plugins.mongomk.RandomizedTest it would be nice to have some randomized test also for the ACL evaluation.
> The logic for the upcoming test patch is to add/remove randomly read permission entry and traverse the tree evaluation the read permission.
> The result is compared with a Jackrabbit (that is considered as a functional gold implementation) outcome and it is expected to match.
> Should not match then we have a problem...
> Patch to follow
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)