Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 15121 invoked from network); 1 Jul 2006 04:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2006 04:06:35 -0000 Received: (qmail 25897 invoked by uid 500); 1 Jul 2006 04:06:35 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 25876 invoked by uid 500); 1 Jul 2006 04:06:34 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 25865 invoked by uid 99); 1 Jul 2006 04:06:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 21:06:34 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carlin.rogers@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO nz-out-0102.google.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 21:06:33 -0700 Received: by nz-out-0102.google.com with SMTP id m7so267663nzf for ; Fri, 30 Jun 2006 21:06:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RCbvwIm2xhdCx34oRbmhG2W5Ib70Mj0WUVTntjhKzNWx+nYUeYhoE80WhJqhsNjdFNIBpWrRbyf35UhPaaCnoJco2n0klOe4xh/4KxZiXiCEFAkVa1DwtyLiuO9UgrRV3f8i6zJ564m1fCQJAflzI+EZ6o/QatkBxR+q/rU3mHU= Received: by 10.36.159.15 with SMTP id h15mr1510445nze; Fri, 30 Jun 2006 21:06:13 -0700 (PDT) Received: by 10.37.12.65 with HTTP; Fri, 30 Jun 2006 21:06:12 -0700 (PDT) Message-ID: Date: Fri, 30 Jun 2006 22:06:12 -0600 From: "Carlin Rogers" To: "Beehive Developers" Subject: Re: Netui compiler bvts In-Reply-To: <2fd2f0570606301834u445457f3s8fbd10903e776d81@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10939_6579036.1151726772977" References: <2fd2f0570606301834u445457f3s8fbd10903e776d81@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_10939_6579036.1151726772977 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for looking at this Andrew! Appreciate your contributions. My vote would be to always diff the generated page flow validation files. Carlin On 6/30/06, Andrew McCulloch wrote: > > I am working on a patch for BEEHIVE-1118 which involves the order that > form validations are performed. The bug looks like it comes down to the > way > the pageflow-validation-*.xml file is generated. In addition to the three > testRecorder drts that need to change with this fix I am writing a new > compiler bvt test case. > > Currently the compiler bvts only diff the struts-config*.xml files > against expected results. I have a patch to the JUnit class that performs > the file comparisons to make diffing the generated validation files > mandatory (like he struts config files are), however, I wanted to know if > this is the best choice. It would also be easy to modify the test to only > diff the file if an expected result file is present. This would only miss > the case where a validation file is generated unnecessarily. It would > however avoid changing the other compiler bvts that may use Jpf validation > annotations already. Alternatively I could add some sort of flag or > properties file to trigger the diffing of the validation files only when > desired. This choice would be extensible and be easily adjusted to > handled > any other generated files. > > If this seems like a worthwhile change to the netui compiler bvts I > would like to hear how others think it would be best to handle this. My > initial thought is that it would be best to always diff the pageflow > validation files. > > --Andrew > > ------=_Part_10939_6579036.1151726772977--