directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r440785 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
Date Wed, 06 Sep 2006 16:43:49 GMT
Author: elecharny
Date: Wed Sep  6 09:43:48 2006
New Revision: 440785

URL: http://svn.apache.org/viewvc?view=rev&rev=440785
Log:
Reflect the renaming of interfaces and classes

Modified:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java?view=diff&rev=440785&r1=440784&r2=440785
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/test/java/org/apache/directory/shared/ldap/codec/asn1ber/messages/bind/BindRequestDecoratorTest.java
Wed Sep  6 09:43:48 2006
@@ -20,9 +20,10 @@
 package org.apache.directory.shared.ldap.codec.asn1ber.messages.bind;
 
 import org.apache.directory.shared.ldap.codec.asn1ber.messages.bind.BindRequestAsn1Ber;
-import org.apache.directory.shared.ldap.messages.bind.BindRequestMessage;
+import org.apache.directory.shared.ldap.messages.Message;
+import org.apache.directory.shared.ldap.messages.bind.ConcreteBindRequest;
 import org.apache.directory.shared.ldap.messages.bind.BindRequest;
-import org.apache.directory.shared.ldap.messages.bind.SimpleAuthentication;
+import org.apache.directory.shared.ldap.messages.bind.ConcreteSimpleAuthentication;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.utils.StringTools;
 
@@ -44,17 +45,17 @@
      */
     public void testBindRequestDecoratorSimple() 
     {
-        BindRequest bindRequest = new BindRequestMessage( 1 );
+        BindRequest bindRequest = new ConcreteBindRequest( 1 );
         
         bindRequest.setName( new LdapDN() );
         bindRequest.setVersion( 3 );
         
-        SimpleAuthentication simpleAuthentication = new SimpleAuthentication();
+        ConcreteSimpleAuthentication simpleAuthentication = new ConcreteSimpleAuthentication();
         simpleAuthentication.setSimple( StringTools.getBytesUtf8( "test" ) );
         
         bindRequest.setAuthentication( simpleAuthentication );
         
-        BindRequestAsn1Ber bindRequestDecorator = new BindRequestAsn1Ber( bindRequest );
+        BindRequestAsn1Ber bindRequestDecorator = new BindRequestAsn1Ber( (Message)bindRequest
);
         
         int length = bindRequestDecorator.computeLength();
         



Mime
View raw message