Package org.apache.directory.shared.ldap.model.name

Examples of org.apache.directory.shared.ldap.model.name.Rdn


     */
    @Test
    public void test62ReverseRenameSimpleCompositeNotOverlappingKeepOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=small" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here


     */
    @Test
    public void test71ReverseRenameSimpleCompositeNotOverlappingDeleteOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=plumber" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test72ReverseRenameSimpleCompositeNotOverlappingDeleteOldRdnExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=small" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test81ReverseRenameSimpleCompositeOverlappingKeepOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=small+cn=test" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test82ReverseRenameSimpleCompositeOverlappingKeepOldRdnExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=small+cn=test+cn=big" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test91ReverseRenameSimpleCompositeOverlappingDeleteOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=small+cn=test" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test92ReverseRenameSimpleCompositeOverlappingDeleteOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=test" );
        Rdn newRdn = new Rdn( "cn=small+cn=test+cn=big" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test101ReverseRenameCompositeCompositeNotOverlappingKeepOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=small+cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=small+cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=plumber" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test102ReverseRenameCompositeCompositeNotOverlappingKeepOldRdnExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=small+cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=small+cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=big" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

     */
    @Test
    public void test111ReverseRenameCompositeCompositeNotOverlappingDeleteOldRdnDontExistInEntry() throws LdapException
    {
        Dn dn = new Dn( "cn=small+cn=test,ou=system" );
        Rdn oldRdn = new Rdn( "cn=small+cn=test" );
        Rdn newRdn = new Rdn( "cn=joe+cn=plumber" );

        Entry entry = new DefaultEntry( dn );
        entry.put( "cn", "test", "big", "small" );
        entry.put( "objectClass", "person", "top" );
        entry.put( "sn", "this is a test" );
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.model.name.Rdn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.