You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/12/27 00:41:17 UTC

svn commit: r359133 - /directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java

Author: elecharny
Date: Mon Dec 26 15:41:12 2005
New Revision: 359133

URL: http://svn.apache.org/viewcvs?rev=359133&view=rev
Log:
Use StringTools instead of StringUtils

Modified:
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java?rev=359133&r1=359132&r2=359133&view=diff
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java (original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java Mon Dec 26 15:41:12 2005
@@ -23,7 +23,7 @@
 import javax.naming.directory.BasicAttributes;
 import javax.naming.directory.DirContext;
 
-import org.apache.asn1.codec.util.StringUtils;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.unit.AbstractAdminTestCase;
 
 
@@ -73,7 +73,7 @@
         Attribute jpegPhoto = ctx.getAttributes( "" ).get( "jpegPhoto" );
         value = jpegPhoto.get();
         assertTrue( value instanceof byte[] );
-        assertEquals( "0x45 0x23 0x7D 0x7F ", StringUtils.dumpBytes( (byte[])value ) );
+        assertEquals( "0x45 0x23 0x7D 0x7F ", StringTools.dumpBytes( (byte[])value ) );
 
         // try jpegPhoto which should be binary automatically but use String to
         // create so we should still get back a byte[] - use ou as control