[
https://issues.apache.org/jira/browse/DIRSERVER-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785430#action_12785430
]
Emmanuel Lecharny commented on DIRSERVER-1428:
----------------------------------------------
Also we should test that :
- a valid OC is accepted (obviously !)
- an OC is accepted even if some AT in the MAY or MUST are duplicated (ie, we
have twice the same AT in MAY)
- an OC is accepted even if some AT is duplicated in MAY or MUST, but defined
with different names (as 'cn' and CommonName' in MAY)
- an OC is accepted even if an AT is present in the MAY and MUST at the same
time (even if different names are used)
> Implement tests for ObjectClass additions in SchemaManager
> ----------------------------------------------------------
>
> Key: DIRSERVER-1428
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1428
> Project: Directory ApacheDS
> Issue Type: Test
> Affects Versions: 1.5.5
> Reporter: Emmanuel Lecharny
> Assignee: Kiran Ayyagari
> Fix For: 2.0.0-RC1
>
>
> We need tests for the SchemaManager, in shared-ldap-schema-loader project :
> o OC with no superiors
> - All the MAY must exist
> - All the MUST must exist
> o OC with superiors
> - no cycle allowed (cannot be it's own superior)
> - if STRUCTURAL, cannot have an AUXILIARY in its superiors
> - if AUXILIARY, cannot have a STRUCTURAL in its superiors
> - if ABSTRACT, cannot have a STRUCTURAL or an AUXILIARY in its superiors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.