org.apache.directory.shared.ldap.schema
Class SchemaUtilsTest

java.lang.Object
  extended by TestCase
      extended by org.apache.directory.shared.ldap.schema.SchemaUtilsTest

public class SchemaUtilsTest
extends TestCase

The unit tests for methods on SchemaUtils.


Nested Class Summary
(package private) static class SchemaUtilsTest.AttributeTypeImpl
           
(package private) static class SchemaUtilsTest.MatchingRuleImpl
           
(package private) static class SchemaUtilsTest.SyntaxImpl
           
 
Constructor Summary
SchemaUtilsTest()
           
 
Method Summary
 AttributeType[] getAttributeTypes()
           
static MatchingRule[] getMatchingRules()
           
 ObjectClass[] getObjectClasses()
           
static Syntax[] getSyntaxes()
           
 void testRenderObjectClassArray()
           
 void testRenderQdescrs()
          Tests rendering operations on qdescrs render method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaUtilsTest

public SchemaUtilsTest()
Method Detail

getSyntaxes

public static Syntax[] getSyntaxes()

getMatchingRules

public static MatchingRule[] getMatchingRules()

getAttributeTypes

public AttributeType[] getAttributeTypes()

getObjectClasses

public ObjectClass[] getObjectClasses()

testRenderQdescrs

public void testRenderQdescrs()
Tests rendering operations on qdescrs render method. Both overloaded operations SchemaUtils.render(StringBuffer, String[]) and SchemaUtils.render(String[]) are tested here.


testRenderObjectClassArray

public void testRenderObjectClassArray()