Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 32255 invoked from network); 14 Dec 2010 19:24:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 19:24:50 -0000 Received: (qmail 3826 invoked by uid 500); 14 Dec 2010 19:24:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 3780 invoked by uid 500); 14 Dec 2010 19:24:49 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 3773 invoked by uid 99); 14 Dec 2010 19:24:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 19:24:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 19:24:43 +0000 Received: by wwa36 with SMTP id 36so838743wwa.1 for ; Tue, 14 Dec 2010 11:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=sL7gWXzNDBS/Le3PFdOpSLsdgnpiWjB59LSDby85HiI=; b=NCxxzWSQbQFKcg+LJSlqe862gRDkLTfplqYmuqIESCNB0rXUmEIE9MTYBomPQeJMeE 5SbZ0WioWpwNFK1gPY4vFzI17AB1d8bDYq6KyFN7vtPStD1pee881C+qRicesLmwp2EH tvDYVG7uzWxowDNyjxeuQXm3BzlocwjLFZVm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=svzYgZ2V2/sY98OW9oaDY3HTszGArtJYnf1qnHO/fjaIAspHxBnQ68pREQMOViJRkt wuKg76qfHDtMLH7F3W+t8U2hHHMJ6q6Gfmqxlkch9JGnIYFEYT19Fe7yfSuTSRLlu5HZ JVk2rziM0tfkg9bl8Ow9wRyUb/znnObxj8b+Y= MIME-Version: 1.0 Received: by 10.216.7.205 with SMTP id 55mr5008702wep.96.1292354662695; Tue, 14 Dec 2010 11:24:22 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.216.180.140 with HTTP; Tue, 14 Dec 2010 11:24:22 -0800 (PST) In-Reply-To: <8704_1292354204_oBEJGU6O008840_OF97CC1C6D.416F6560-ON852577F9.00691188-852577F9.0069BB69@gdls.com> References: <8912617.113081292330401972.JavaMail.jira@thor> <8704_1292354204_oBEJGU6O008840_OF97CC1C6D.416F6560-ON852577F9.00691188-852577F9.0069BB69@gdls.com> Date: Tue, 14 Dec 2010 21:24:22 +0200 X-Google-Sender-Auth: Hf7PT1aYeOlrsDKLCUl08uWqmxA Message-ID: Subject: Re: GenericIndexTest testSetGetWrkDirPath failing on Windows XP From: Kiran Ayyagari To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Dec 14, 2010 at 9:14 PM, wrote: > > In "org.apache.directory.server.xdbm.GenericIndexTest" =A0the test > "testSetGetWrkDirPath" is failing on the AssertEquals at line 116 > > zzzDir.getPath() =3D "C:\DOCUME~1\feezelr\LOCALS~1\Temp\zzz" > index.getWkDirPath().getPath() =3D "/C:/DOCUME~1/feezelr/LOCALS~1/Temp/zz= z" > > Clearly these are the same, yet they don't match. can you test by replacing the assertion with the below one assertEquals( URI.create( zzzDir.getPath() ).toString(), index.getWkDirPath().getPath() ); the index.getWkDirPath().getPath() is returning a URI now using the File.getPath() on windows has issues cause it has this :\XXX syntax This is an e-mail from > General Dynamics Land Systems. It is for the intended recipient only and = may > contain confidential and privileged information. No one else may read, > print, store, copy, forward or act in reliance on it or its attachments. = If > you are not the intended recipient, please return this message to the sen= der > and delete the message and any attachments from your computer. Your > cooperation is appreciated. --=20 Kiran Ayyagari