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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/07/16 13:54:48 UTC
[jira] [Commented] (OAK-901) Test root node type is not reported
correctly
[ https://issues.apache.org/jira/browse/OAK-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709694#comment-13709694 ]
Alex Parvulescu commented on OAK-901:
-------------------------------------
Test (ignored) in with http://svn.apache.org/r1503668
> Test root node type is not reported correctly
> ---------------------------------------------
>
> Key: OAK-901
> URL: https://issues.apache.org/jira/browse/OAK-901
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Reporter: Alex Parvulescu
>
> The test root used in the jcr tests is created as _nt:unstructured_ but calling _testRootNode.getDefinition().getDeclaringNodeType().getName()_ will wrongfully return _rep:root_ (the node type of the repository root)
> This also influences the OAK-900 tests, namely the _ReorderTest_ which will throw an _NotExecutableException_ on account of the wrong node type.
> I'll shortly add a test.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira