org.apache.directory.shared.ldap.codec
Class LdapMessageTest

java.lang.Object
  extended by TestCase
      extended by org.apache.directory.shared.ldap.codec.LdapMessageTest

public class LdapMessageTest
extends TestCase

A global Ldap Decoder test


Constructor Summary
LdapMessageTest()
           
 
Method Summary
 void testDecodeMessageIdLengthNull()
          Test the decoding of null length messageId
 void testDecodeMessageIdMaxInt()
          Test the decoding of messageId which value is -1
 void testDecodeMessageIdMinusOne()
          Test the decoding of null length messageId
 void testDecodeMessageLengthNull()
          Test the decoding of null length messageId
 void testDecodeUnBindRequestNoControls()
          Test the decoding of a LdapMessage with a large MessageId
 void testDecodeWrongProtocolOpMaxInt()
          Test the decoding of a message with a wrong protocol operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapMessageTest

public LdapMessageTest()
Method Detail

testDecodeMessageLengthNull

public void testDecodeMessageLengthNull()
Test the decoding of null length messageId


testDecodeMessageIdLengthNull

public void testDecodeMessageIdLengthNull()
Test the decoding of null length messageId


testDecodeMessageIdMinusOne

public void testDecodeMessageIdMinusOne()
Test the decoding of null length messageId


testDecodeMessageIdMaxInt

public void testDecodeMessageIdMaxInt()
Test the decoding of messageId which value is -1


testDecodeWrongProtocolOpMaxInt

public void testDecodeWrongProtocolOpMaxInt()
Test the decoding of a message with a wrong protocol operation


testDecodeUnBindRequestNoControls

public void testDecodeUnBindRequestNoControls()
Test the decoding of a LdapMessage with a large MessageId