You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/01/24 10:59:13 UTC

[jira] [Created] (JCR-3499) Test cases should not rely on equality of node types

Michael Dürig created JCR-3499:
----------------------------------

             Summary: Test cases should not rely on equality of node types
                 Key: JCR-3499
                 URL: https://issues.apache.org/jira/browse/JCR-3499
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
            Reporter: Michael Dürig


Currently some TCK tests rely on node type equality. See NodeMixinUtil#getNotAssignedMixinName. This can cause the NodeRemoveMixinTest#testNotAssigned to fail if NodeType implementation do not implement equals the way expected by the test case. 

I suggest to change the test case to not rely on node type equality but rather compare the node type names.



--
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