Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 357E2D98E for ; Mon, 17 Sep 2012 18:39:45 +0000 (UTC) Received: (qmail 71608 invoked by uid 500); 17 Sep 2012 18:39:44 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 71255 invoked by uid 500); 17 Sep 2012 18:39:44 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 71246 invoked by uid 99); 17 Sep 2012 18:39:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 18:39:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 209.85.210.43 as permitted sender) Received: from [209.85.210.43] (HELO mail-pz0-f43.google.com) (209.85.210.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2012 18:39:40 +0000 Received: by daku36 with SMTP id u36so2781616dak.30 for ; Mon, 17 Sep 2012 11:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hUC2Cs+q7j/48D0QxdxjjTiexEAptgXS2WS4CaemqPw=; b=QUSnjLng3i+OO0lauIq056bYx9l//2SCeT5hGGeQcFDGozYWYdLONCtMtrnYQaxKDG rhN1ysD5za2kwZ4tr8KV6DyV2a0OLyygMfON+/1lwIWmoAnRgoYQvQB98XOW2yLGOhuW r4s24Haa+cqLnfzsOwpfgZLIk5ZHzwffP20s4GYZTrHKBeVgbrY9I8r4/Ul9cN4jtqsx MOyaYDScjaIX8sX2nhU5z9z+4T+hEOe4S5nNcan0DhMdZmEKxdmMqncuRuFp+nTdflfS 0/aHfcdK8mteyOO3zPkMK0lHBn/aO2xB3qi+OGcClLz8NxdWjByfHzE9sU0D64eYOaR9 j2hw== MIME-Version: 1.0 Received: by 10.68.197.104 with SMTP id it8mr24181199pbc.167.1347907159572; Mon, 17 Sep 2012 11:39:19 -0700 (PDT) Received: by 10.68.25.65 with HTTP; Mon, 17 Sep 2012 11:39:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Sep 2012 14:39:19 -0400 Message-ID: Subject: Re: [lang] Etiquette regarding updating test classes to use JUnit 4 annotations From: Gary Gregory To: Commons Developers List , gudnabrsam@gmail.com Content-Type: multipart/alternative; boundary=e89a8ff1c9a26fc22e04c9ea1765 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c9a26fc22e04c9ea1765 Content-Type: text/plain; charset=UTF-8 On Mon, Sep 17, 2012 at 2:27 PM, Matt Benson wrote: > On Mon, Sep 17, 2012 at 1:19 PM, Duncan Jones > wrote: > > On 17 September 2012 19:13, Duncan Jones wrote: > >> On 17 September 2012 19:07, Gary Gregory > wrote: > >>> On Mon, Sep 17, 2012 at 2:03 PM, Matt Benson > wrote: > >>> > >>>> Hello, > >>>> We'd love to have our whole testsuite updated to JUnit 4, IMO. The > >>>> only thing is that as a rule we'd rather that changeset be separate > >>>> from another, so I'd recommend providing multiple patches, possibly > >>>> submitted in separate JIRA issues. > >>>> > >>> > >>> +1! > >>> > >>> Patch 1: Update to JUnit 4 > >>> Patch 2: the patch > >> > >> No problem, I like that approach. > > > > On second thought, how would I best accomplish this? If I create a > > patch after converting the test case, then create another patch after > > fixing the issue, the latter patch will contain the changes from the > > first patch. Is this ok with everyone? Or is there some patch > > difference tool I should know about? > > > Git can help I suppose... But, I'd rather deal with these patches in two themes in this case, JUnit 4 and then whatever comes next. If we are going to spend time on JUnit 4, let's get in that mode, get it done and then move on to other kinds of patches. I do not plan on spending time teasing out a git patch on top of another that clashes with something in SVN trunk. Gary > > Good point. I haven't played with it yet, but our github clone might > provide some traction here. > > Matt > > > Duncan > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > -- E-Mail: garydgregory@gmail.com | ggregory@apache.org JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 Spring Batch in Action: http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --e89a8ff1c9a26fc22e04c9ea1765--