Package org.apache.ldap.server.schema.bootstrap

Examples of org.apache.ldap.server.schema.bootstrap.AbstractBootstrapSchema


public class DirectorySchemaToolTest extends TestCase
{
    public void testEveSchemaTool() throws Exception
    {
        DirectorySchemaTool tool = new DirectorySchemaTool();
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
                "cn=admin,ou=system", "core", null, new String[] { "system", "dep2" }
        ){};
        tool.setSchema( schema );
        tool.generate();
    }
View Full Code Here


{


    public void testCoreAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "core", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testJavaAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "java", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testCorbaAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "corba", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testCosineAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "cosine", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testInetorgpersonAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "inetorgperson", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testMiscAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "misc", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

    }


    public void testNisAttributeTypeGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "nis", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateAttributeTypeProducer( schema );
    }
View Full Code Here

TOP

Related Classes of org.apache.ldap.server.schema.bootstrap.AbstractBootstrapSchema

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.