org.apache.directory.server.core.schema.bootstrap
Class BootstrapSchemaLoaderTest

java.lang.Object
  extended by TestCase
      extended by org.apache.directory.server.core.schema.bootstrap.BootstrapSchemaLoaderTest

public class BootstrapSchemaLoaderTest
extends TestCase

A unit test case for the BootstrapSchemaLoader class.


Field Summary
(package private)  BootstrapRegistries registries
           
 
Constructor Summary
BootstrapSchemaLoaderTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testApacheSchemaLoad()
           
 void testCoreDepsSchemaLoad()
           
 void testCoreSchemaLoad()
           
 void testEveAndJavaDepsSchemaLoad()
           
 void testEveDepsSchemaLoad()
           
 void testJavaDepsSchemaLoad()
           
 void testJavaSchemaLoad()
           
 void testLoadAll()
           
 void testReferentialIntegrity()
          Attempts to resolve the dependent schema objects of all entities that refer to other objects within the registries.
 void testSystemSchemaLoad()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registries

BootstrapRegistries registries
Constructor Detail

BootstrapSchemaLoaderTest

public BootstrapSchemaLoaderTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testLoadAll

public void testLoadAll()
                 throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testSystemSchemaLoad

public void testSystemSchemaLoad()
                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testApacheSchemaLoad

public void testApacheSchemaLoad()
                          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testEveDepsSchemaLoad

public void testEveDepsSchemaLoad()
                           throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testCoreSchemaLoad

public void testCoreSchemaLoad()
                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testCoreDepsSchemaLoad

public void testCoreDepsSchemaLoad()
                            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testJavaSchemaLoad

public void testJavaSchemaLoad()
                        throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testJavaDepsSchemaLoad

public void testJavaDepsSchemaLoad()
                            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testEveAndJavaDepsSchemaLoad

public void testEveAndJavaDepsSchemaLoad()
                                  throws javax.naming.NamingException
Throws:
javax.naming.NamingException

testReferentialIntegrity

public void testReferentialIntegrity()
                              throws javax.naming.NamingException
Attempts to resolve the dependent schema objects of all entities that refer to other objects within the registries.

Throws:
javax.naming.NamingException - if there are problems.