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

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


    }


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


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

        {
            lastFault = new BuildException( "Failed to create schema tool", e );
            throw lastFault;
        }

        AbstractBootstrapSchema schema =
                new AbstractBootstrapSchema( owner, name, pkg, dependencies ){};
        tool.setSchema( schema );

        if ( javaSrc != null )
        {
            tool.setJavaSrcDir( javaSrc );
View Full Code Here

{


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

    }


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

    }


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

    }


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

    }


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

    }


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

    }


    public void testNisObjectClassGeneration() throws Exception
    {
        AbstractBootstrapSchema schema = new AbstractBootstrapSchema(
            "uid=admin,ou=system", "nis", "dummy.test",
            new String[] { "dep1", "dep2" }) {};
        generateObjectClassProducer( 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.