directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r729622 - in /directory/apacheds/trunk: core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java
Date Sat, 27 Dec 2008 11:01:04 GMT
Author: elecharny
Date: Sat Dec 27 03:01:03 2008
New Revision: 729622

URL: http://svn.apache.org/viewvc?rev=729622&view=rev
Log:
Used ApacheSchemaConstants.APACHE_N_DN_AT instead of the 'apacheDnd' string

Modified:
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java
    directory/apacheds/trunk/schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java

Modified: directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java?rev=729622&r1=729621&r2=729622&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java
(original)
+++ directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/schema/bootstrap/BootstrapSchemaLoaderTest.java
Sat Dec 27 03:01:03 2008
@@ -28,6 +28,7 @@
 
 import junit.framework.TestCase;
 
+import org.apache.directory.server.constants.ApacheSchemaConstants;
 import org.apache.directory.server.schema.bootstrap.ApacheSchema;
 import org.apache.directory.server.schema.bootstrap.BootstrapSchemaLoader;
 import org.apache.directory.server.schema.bootstrap.CoreSchema;
@@ -112,7 +113,7 @@
         loader.load( apacheSchema, registries, false );
 
         AttributeType type;
-        type = registries.getAttributeTypeRegistry().lookup( "apacheNdn" );
+        type = registries.getAttributeTypeRegistry().lookup( ApacheSchemaConstants.APACHE_N_DN_AT
);
         assertNotNull( type );
 
         type = registries.getAttributeTypeRegistry().lookup( "apacheAlias" );
@@ -131,7 +132,7 @@
 
         loader.loadWithDependencies( schemas, registries );
         AttributeType type;
-        type = registries.getAttributeTypeRegistry().lookup( "apacheNdn" );
+        type = registries.getAttributeTypeRegistry().lookup( ApacheSchemaConstants.APACHE_N_DN_AT
);
         assertNotNull( type );
 
         type = registries.getAttributeTypeRegistry().lookup( "apacheAlias" );

Modified: directory/apacheds/trunk/schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java?rev=729622&r1=729621&r2=729622&view=diff
==============================================================================
--- directory/apacheds/trunk/schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java
(original)
+++ directory/apacheds/trunk/schema-extras/src/test/java/org/apache/directory/server/schema/bootstrap/ExtraSchemaLoadTest.java
Sat Dec 27 03:01:03 2008
@@ -30,6 +30,7 @@
 
 import junit.framework.TestCase;
 
+import org.apache.directory.server.constants.ApacheSchemaConstants;
 import org.apache.directory.server.schema.bootstrap.ApacheSchema;
 import org.apache.directory.server.schema.bootstrap.BootstrapSchemaLoader;
 import org.apache.directory.server.schema.bootstrap.CoreSchema;
@@ -138,7 +139,7 @@
         loader.load( apacheSchema, registries, false );
 
         AttributeType type;
-        type = registries.getAttributeTypeRegistry().lookup( "apacheNdn" );
+        type = registries.getAttributeTypeRegistry().lookup( ApacheSchemaConstants.APACHE_N_DN_AT
);
         assertNotNull( type );
 
         type = registries.getAttributeTypeRegistry().lookup( "apacheAlias" );
@@ -159,7 +160,7 @@
 
         loader.loadWithDependencies( schemas, registries );
         AttributeType type;
-        type = registries.getAttributeTypeRegistry().lookup( "apacheNdn" );
+        type = registries.getAttributeTypeRegistry().lookup( ApacheSchemaConstants.APACHE_N_DN_AT
);
         assertNotNull( type );
 
         type = registries.getAttributeTypeRegistry().lookup( "apacheAlias" );
@@ -246,7 +247,7 @@
         type = registries.getAttributeTypeRegistry().lookup( "apacheAlias" );
         assertNotNull( type );
 
-        type = registries.getAttributeTypeRegistry().lookup( "apacheNdn" );
+        type = registries.getAttributeTypeRegistry().lookup( ApacheSchemaConstants.APACHE_N_DN_AT
);
         assertNotNull( type );
 
         type = registries.getAttributeTypeRegistry().lookup( "apacheUpdn" );



Mime
View raw message