From df0db46e678eee3f23ba8c1bbb9150787ee49f37 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 20 Sep 2006 22:04:03 +0000
Subject: [PATCH] Added unit tests for some protocol.ldap classes. Removed messageToBindOperation method since it was NYI.

---
 opends/src/server/org/opends/server/protocols/ldap/AddRequestProtocolOp.java |   31 -------------------------------
 1 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/ldap/AddRequestProtocolOp.java b/opends/src/server/org/opends/server/protocols/ldap/AddRequestProtocolOp.java
index e49bc85..c23dfdc 100644
--- a/opends/src/server/org/opends/server/protocols/ldap/AddRequestProtocolOp.java
+++ b/opends/src/server/org/opends/server/protocols/ldap/AddRequestProtocolOp.java
@@ -32,8 +32,6 @@
 import java.util.Iterator;
 import java.util.List;
 
-import org.opends.server.core.AddOperation;
-import org.opends.server.core.DirectoryException;
 import org.opends.server.protocols.asn1.ASN1Element;
 import org.opends.server.protocols.asn1.ASN1OctetString;
 import org.opends.server.protocols.asn1.ASN1Sequence;
@@ -296,35 +294,6 @@
 
 
   /**
-   * Converts the provided LDAP message containing an add request protocol op to
-   * an <CODE>AddOperation</CODE> object that may be processed by the core
-   * server.
-   *
-   * @param  requestMessage    The LDAP message containing the add request
-   *                           protocol op.
-   * @param  clientConnection  The client connection from which the request was
-   *                           read.
-   *
-   * @return  The add operation created from the provided request message.
-   *
-   * @throws  DirectoryException  If the provided LDAP message cannot be decoded
-   *                              as an add operation.
-   */
-  public static AddOperation messageToAddOperation(LDAPMessage requestMessage,
-                                  LDAPClientConnection clientConnection)
-         throws DirectoryException
-  {
-    assert debugEnter(CLASS_NAME, "messageToAddOperation",
-                      String.valueOf(requestMessage),
-                      String.valueOf(clientConnection));
-
-    // NYI
-    return null;
-  }
-
-
-
-  /**
    * Appends a string representation of this LDAP protocol op to the provided
    * buffer.
    *

--
Gitblit v1.10.0