directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r494166 - /directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java
Date Mon, 08 Jan 2007 19:40:06 GMT
Author: elecharny
Date: Mon Jan  8 11:40:05 2007
New Revision: 494166

URL: http://svn.apache.org/viewvc?view=rev&rev=494166
Log:
Patch for DIRSERVER-783.
- No more BasicAttribute and BasicAttributes. Use AttributeImpl and AttributesImpl now.
- No more ModificationItem. use ModificationItemImpl now
- lot of refactoring of imports : no more import xxx.*;

Modified:
    directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java

Modified: directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java?view=diff&rev=494166&r1=494165&r2=494166
==============================================================================
--- directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java
(original)
+++ directory/trunks/apacheds/server-ssl/src/test/java/org/apache/directory/server/ssl/LdapsITest.java
Mon Jan  8 11:40:05 2007
@@ -27,13 +27,13 @@
 import javax.naming.NamingException;
 import javax.naming.directory.Attribute;
 import javax.naming.directory.Attributes;
-import javax.naming.directory.BasicAttribute;
-import javax.naming.directory.BasicAttributes;
 import javax.naming.directory.DirContext;
 import javax.naming.directory.InitialDirContext;
 
 import org.apache.directory.server.ssl.support.SSLSocketFactory;
 import org.apache.directory.server.unit.AbstractServerTest;
+import org.apache.directory.shared.ldap.message.AttributeImpl;
+import org.apache.directory.shared.ldap.message.AttributesImpl;
 import org.apache.mina.util.AvailablePortFinder;
 
 
@@ -115,8 +115,8 @@
     public void testSetUpTearDown() throws NamingException
     {
         // Create a person
-        Attributes attributes = new BasicAttributes( true );
-        Attribute attribute = new BasicAttribute( "objectClass" );
+        Attributes attributes = new AttributesImpl( true );
+        Attribute attribute = new AttributeImpl( "objectClass" );
         attribute.add( "top" );
         attribute.add( "person" );
         attributes.put( attribute );



Mime
View raw message