directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1645519 - /directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java
Date Sun, 14 Dec 2014 20:17:52 GMT
Author: seelmann
Date: Sun Dec 14 20:17:51 2014
New Revision: 1645519

URL: http://svn.apache.org/r1645519
Log:
Test registries and access to OID

Modified:
    directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java

Modified: directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java?rev=1645519&r1=1645518&r2=1645519&view=diff
==============================================================================
--- directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java
(original)
+++ directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapModelOsgiTest.java
Sun Dec 14 20:17:51 2014
@@ -26,7 +26,10 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.filter.EqualityNode;
 import org.apache.directory.api.ldap.model.message.BindRequestImpl;
 import org.apache.directory.api.ldap.model.name.Dn;
+import org.apache.directory.api.ldap.model.schema.LdapSyntax;
+import org.apache.directory.api.ldap.model.schema.SchemaObject;
 import org.apache.directory.api.ldap.model.schema.parsers.ObjectClassDescriptionSchemaParser;
+import org.apache.directory.api.ldap.model.schema.registries.Registries;
 import org.apache.directory.api.ldap.model.url.LdapUrl;
 
 
@@ -57,6 +60,9 @@ public class ApiLdapModelOsgiTest extend
 
         new ObjectClassDescriptionSchemaParser()
             .parse( "( 2.5.6.0 NAME 'top' DESC 'top of the superclass chain' ABSTRACT MUST
objectClass )" );
+        
+        SchemaObject schemaObject = new LdapSyntax( "1.2.3" );
+        new Registries().getGlobalOidRegistry().register( schemaObject );
     }
 
 }



Mime
View raw message