directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r267473 - in /directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec: ./ utils/
Date Sat, 03 Sep 2005 15:25:26 GMT
Author: elecharny
Date: Sat Sep  3 08:25:07 2005
New Revision: 267473

URL: http://svn.apache.org/viewcvs?rev=267473&view=rev
Log:
Deleted log4j initialization for the tests. No need for logs for tests.

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/LdapDecoderTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyResponseTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultDoneTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultEntryTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultReferenceTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/UnBindRequestTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/DNUtilsTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapDNTest.java
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapUrlTest.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AbandonRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.AbandonRequest;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -38,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AbandonRequestTest extends TestCase {
-    /** Logger */
-    private static Logger log = LoggerFactory.getLogger( AbandonRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a AbandonRequest with no controls
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -33,9 +33,6 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -46,14 +43,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AddRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( AddRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a AddRequest
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/AddResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.AddResponse;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -36,14 +33,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AddResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( AddResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a AddResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.SaslCredentials;
 import org.apache.asn1new.ldap.pojo.SimpleAuthentication;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -38,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class BindRequestTest extends TestCase {
-    /** Logger */
-    private static Logger log = LoggerFactory.getLogger( BindRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a BindRequest with Simple authentication
      * and no controls

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/BindResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.BindResponse;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -36,14 +33,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class BindResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( BindResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a BindResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.CompareRequest;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -40,13 +37,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class CompareRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( CompareRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
 
     /**
      * Test the decoding of a full CompareRequest
@@ -157,7 +147,6 @@
         }
         catch ( DecoderException de )
         {
-            log.error( de.getMessage() );
             Assert.assertTrue( true );
         }
     }

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/CompareResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.CompareResponse;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -38,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class CompareResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( CompareResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a CompareResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.DelRequest;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -40,14 +37,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class DelRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( DelRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a full DelRequest
      */
@@ -146,7 +135,6 @@
         }
         catch ( DecoderException de )
         {
-            log.error( de.getMessage() );
             Assert.assertTrue( true );
         }
     }

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/DelResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.DelResponse;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -38,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class DelResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( DelResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a DelResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.ExtendedRequest;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -40,14 +37,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ExtendedRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ExtendedRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a full ExtendedRequest
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ExtendedResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.ExtendedResponse;
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -40,14 +37,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ExtendedResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ExtendedResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a full ExtendedResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/LdapDecoderTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/LdapDecoderTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/LdapDecoderTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/LdapDecoderTest.java
Sat Sep  3 08:25:07 2005
@@ -27,10 +27,6 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.ldap.pojo.SimpleAuthentication;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import java.nio.ByteBuffer;
 
 
@@ -42,16 +38,6 @@
  */
 public class LdapDecoderTest extends TestCase
 {
-    //~ Static fields/initializers -----------------------------------------------------------------
-
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( LdapDecoderTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     //~ Methods ------------------------------------------------------------------------------------
 
     /**

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -27,9 +27,6 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.ldap.pojo.ModifyDNRequest;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -40,14 +37,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyDNRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ModifyDNRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a full ModifyDNRequest
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyDNResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -25,9 +25,6 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.ldap.pojo.ModifyDNResponse;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -38,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyDNResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ModifyDNResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a ModifyDNResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -34,9 +34,6 @@
 import org.apache.asn1new.ldap.pojo.ModifyRequest;
 import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.StringUtils;
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import junit.framework.Assert;
 import junit.framework.TestCase;
@@ -47,14 +44,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyRequestTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ModifyRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a ModifyRequest
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyResponseTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyResponseTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/ModifyResponseTest.java
Sat Sep  3 08:25:07 2005
@@ -26,10 +26,6 @@
 import org.apache.asn1new.ldap.pojo.ModifyResponse;
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -39,14 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyResponseTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( ModifyResponseTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a ModifyResponse
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -37,9 +37,6 @@
 import org.apache.asn1new.ldap.pojo.filters.SubstringFilter;
 import org.apache.asn1new.util.StringUtils;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -49,9 +46,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class SearchRequestTest extends TestCase {
-    /** Logger */
-    private static Logger log = LoggerFactory.getLogger( SearchRequestTest.class );
-
     /**
      * Test the decoding of a SearchRequest with no controls.
      * The search filter is : 

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultDoneTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultDoneTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultDoneTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultDoneTest.java
Sat Sep  3 08:25:07 2005
@@ -26,10 +26,6 @@
 import org.apache.asn1new.ldap.pojo.SearchResultDone;
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -39,13 +35,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class SearchResultDoneTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( SearchResultDoneTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
 
     /**
      * Test the decoding of a SearchResultDone

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultEntryTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultEntryTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultEntryTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultEntryTest.java
Sat Sep  3 08:25:07 2005
@@ -33,10 +33,6 @@
 import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -46,14 +42,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class SearchResultEntryTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( SearchResultEntryTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a SearchResultEntry
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultReferenceTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultReferenceTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultReferenceTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/SearchResultReferenceTest.java
Sat Sep  3 08:25:07 2005
@@ -31,10 +31,6 @@
 import org.apache.asn1new.ldap.pojo.SearchResultReference;
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -44,14 +40,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class SearchResultReferenceTest extends TestCase {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( SearchResultReferenceTest.class
);
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a SearchResultReference
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/UnBindRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/UnBindRequestTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/UnBindRequestTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/UnBindRequestTest.java
Sat Sep  3 08:25:07 2005
@@ -25,10 +25,6 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
@@ -36,14 +32,6 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class UnBindRequestTest extends TestCase {
-    /** Logger */
-    private static Logger log = LoggerFactory.getLogger( UnBindRequestTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     /**
      * Test the decoding of a UnBindRequest with no controls
      */

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/DNUtilsTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/DNUtilsTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/DNUtilsTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/DNUtilsTest.java
Sat Sep  3 08:25:07 2005
@@ -18,14 +18,9 @@
 
 import org.apache.asn1new.util.StringUtils;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
-
 /**
  * Test the class DNUtils
  * 
@@ -33,14 +28,6 @@
  */
 public class DNUtilsTest extends TestCase
 {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( DNUtilsTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-
     //~ Methods ------------------------------------------------------------------------------------
 
 	/**

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapDNTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapDNTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapDNTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapDNTest.java
Sat Sep  3 08:25:07 2005
@@ -22,11 +22,6 @@
 import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ldap.codec.primitives.LdapDN;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
 /**
  * Test the class LdapDN
  * 
@@ -34,15 +29,6 @@
  */
 public class LdapDNTest extends TestCase
 {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( LdapDNTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-    //~ Instance fields ----------------------------------------------------------------------------
-
     //~ Methods ------------------------------------------------------------------------------------
 
     /**

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapUrlTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapUrlTest.java?rev=267473&r1=267472&r2=267473&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapUrlTest.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/test/org/apache/asn1new/ldap/codec/utils/LdapUrlTest.java
Sat Sep  3 08:25:07 2005
@@ -22,11 +22,6 @@
 import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ldap.codec.primitives.LdapURL;
 
-import org.apache.log4j.PropertyConfigurator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
 /**
  * Test the class LdapURL
  * 
@@ -34,15 +29,6 @@
  */
 public class LdapUrlTest extends TestCase
 {
-    /** Logger */
-    protected static Logger log = LoggerFactory.getLogger( LdapUrlTest.class );
-
-    static
-    {
-        PropertyConfigurator.configure( "../../conf/log4j.conf" );
-    }
-    //~ Instance fields ----------------------------------------------------------------------------
-
     //~ Methods ------------------------------------------------------------------------------------
 
     /**



Mime
View raw message