Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 68061 invoked from network); 26 Dec 2005 23:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Dec 2005 23:41:40 -0000 Received: (qmail 2776 invoked by uid 500); 26 Dec 2005 23:41:40 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 2720 invoked by uid 500); 26 Dec 2005 23:41:39 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 2709 invoked by uid 99); 26 Dec 2005 23:41:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2005 15:41:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Dec 2005 15:41:38 -0800 Received: (qmail 67981 invoked by uid 65534); 26 Dec 2005 23:41:18 -0000 Message-ID: <20051226234118.67980.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r359133 - /directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java Date: Mon, 26 Dec 2005 23:41:17 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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