Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 90457 invoked from network); 21 Jun 2007 01:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2007 01:05:49 -0000 Received: (qmail 23262 invoked by uid 500); 21 Jun 2007 01:05:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 23088 invoked by uid 500); 21 Jun 2007 01:05:52 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 23018 invoked by uid 99); 21 Jun 2007 01:05:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 18:05:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 18:05:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A98A7141EC for ; Wed, 20 Jun 2007 18:05:27 -0700 (PDT) Message-ID: <18227830.1182387927565.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 18:05:27 -0700 (PDT) From: "Tony Wu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures In-Reply-To: <4025539.1182224366248.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tony Wu closed HARMONY-4226. ---------------------------- Resolution: Won't Fix > [classlib][jndi] Class SortResponseControl has some failures > ------------------------------------------------------------ > > Key: HARMONY-4226 > URL: https://issues.apache.org/jira/browse/HARMONY-4226 > Project: Harmony > Issue Type: Bug > Components: Non-bug differences from RI > Environment: linux and windows > Reporter: Kelvin Ye > Assignee: Tony Wu > Attachments: harmony-4226.diff, harmony-4226.sh > > > Class SortResponseControl will fail in the following test cases, but RI will pass. > String Id="test"; > boolean crit=false; > byte[] ber1={48,1,10,1,0}; > byte[] ber2={48,5,10,1,3}; > byte[] ber3={48,3,10,2,3,3}; > byte[] ber4={48,4,10,1,3,3,3}; > byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'}; > SortResponseControl src=null; > src = new SortResponseControl(Id, crit, ber1); > assertEquals(Id, src.getID()); > assertEquals(src.getResultCode(), 0); > src = new SortResponseControl(Id, crit, ber2); > assertEquals(src.getResultCode(), 3); > src = new SortResponseControl(Id, crit, ber3); > assertEquals(src.getResultCode(), 771); > src = new SortResponseControl(Id, crit, ber4); > assertEquals(src.getResultCode(), 3); > src = new SortResponseControl(Id, crit, ber5); > assertEquals(src.getResultCode(), 3); > assertEquals("Tes", src.getAttributeID()); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.