directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r161411 - directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
Date Fri, 15 Apr 2005 05:59:15 GMT
Author: elecharny
Date: Thu Apr 14 22:59:14 2005
New Revision: 161411

URL: http://svn.apache.org/viewcvs?view=rev&rev=161411
Log:
Changed the code to deal with the underlying changes
cleanded the incubator references

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java?view=diff&r1=161410&r2=161411
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
Thu Apr 14 22:59:14 2005
@@ -18,7 +18,6 @@
 
 import java.nio.ByteBuffer;
 
-import org.apache.ans1.ber.LdapDecoderPerf;
 import org.apache.asn1.ber.Asn1Decoder;
 import org.apache.asn1.ber.containers.IAsn1Container;
 import org.apache.asn1.ldap.pojo.BindRequestPOJO;
@@ -38,7 +37,7 @@
 public class LdapDecoderTest extends TestCase {
 	
     /** Logger */
-    protected static Logger log = Logger.getLogger( LdapDecoderPerf.class );
+    protected static Logger log = Logger.getLogger( LdapDecoderTest.class );
 
     static
     {
@@ -81,10 +80,9 @@
         }
         catch ( PoolException pe )
         {
-            Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
+            Assert.fail("Cannot allocate a LdapMessageContainer : " + pe.getMessage());
         }
 
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         try
@@ -146,7 +144,6 @@
             Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
         }
 
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         try
@@ -207,7 +204,6 @@
             Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
         }
 
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         // First block of data
@@ -300,7 +296,6 @@
             Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
         }
         
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         try
@@ -357,7 +352,6 @@
             Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
         }
         
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         try
@@ -414,7 +408,6 @@
             Assert.fail("Cannot allocat a LdapMessageContainer : " + pe.getMessage());
         }
         
-        ldapMessageContainer.setGrammar( LdapMessageGrammar.getInstance() );
         ldapMessageContainer.setPoolManager( ldapDecoder.getPoolManager() );
 
         try



Mime
View raw message