Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-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 BD5DD10D03 for ; Fri, 4 Oct 2013 19:44:28 +0000 (UTC) Received: (qmail 4752 invoked by uid 500); 4 Oct 2013 19:44:27 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 4698 invoked by uid 500); 4 Oct 2013 19:44:27 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 4685 invoked by uid 99); 4 Oct 2013 19:44:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 19:44:25 +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 christian.mueller@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 19:44:21 +0000 Received: by mail-wg0-f49.google.com with SMTP id l18so4549625wgh.28 for ; Fri, 04 Oct 2013 12:44:00 -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=gLg8LpH0LAFuAbgxt6HIwzF4l8IjmQD0tut5Nj9pM8I=; b=rrVhHynoLMKR/Uw9XRVRhV+bVBP6tNYW6rlRt64y8yXHQFUEFMMkaavGkPDFhDr5nM OjIxy++q3kRg8AO9TkIQ6OHpp4jpNun7Bn78F2mZ9fGkkoUG/APSbf8DK2Lota2scqph ckL87Gwut0K5ohYegPNQW84yodkXOnkv4MdKIgaULezpq9S5CHjU3Ejd0A5CeN1qfE8b C+ReuKcKeFOO22wTRib379sCU3J6N/M3/WUXHYpnXDcI4cyka8NIb5hNJ/UAUDvxljvR hHHiLschv0/odVYy+HPgJn4N5ur+DBMPcPMBUQTiq9pqQBt9eonxGEq6OQBIUtHxnESJ w0Ew== MIME-Version: 1.0 X-Received: by 10.180.187.51 with SMTP id fp19mr8832701wic.1.1380915840768; Fri, 04 Oct 2013 12:44:00 -0700 (PDT) Received: by 10.217.10.6 with HTTP; Fri, 4 Oct 2013 12:44:00 -0700 (PDT) In-Reply-To: References: <524EC120.7010905@nanthrax.net> <524EC493.2090402@nanthrax.net> <524EC6EE.40509@nanthrax.net> <524EC89B.8090604@nanthrax.net> Date: Fri, 4 Oct 2013 21:44:00 +0200 Message-ID: Subject: Re: [DISCUSS] Mock Objects for Hazelcast Unit Tests... From: =?ISO-8859-1?Q?Christian_M=FCller?= To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=001a11c37ba22760da04e7ef8602 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c37ba22760da04e7ef8602 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cool. We have to have an eye on the build time, because we add new components and tests in each release which is increasing it... Best, Christian ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Oct 4, 2013 at 9:07 PM, James Carman wr= ote: > Agreed, Christian. There are more references to Mockito in the > codebase than there are EasyMock. Given that trend, I'm thinking I'll > write up a patch with Mockito. > > On Fri, Oct 4, 2013 at 3:03 PM, Christian M=FCller > wrote: > > Hy guys, I'm a bit late... > > > > I'm also fine with both, Mockito and EasyMock, but would also prefer if > we > > only use one of both in intermediate-term. I think it's easier to > maintain > > only one over the time... > > > > Best, > > > > Christian > > ----------------- > > > > Software Integration Specialist > > > > Apache Camel committer: https://camel.apache.org/team > > V.P. Apache Camel: https://www.apache.org/foundation/ > > Apache Member: https://www.apache.org/foundation/members.html > > > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > > > > > > On Fri, Oct 4, 2013 at 3:54 PM, Jean-Baptiste Onofr=E9 >wrote: > > > >> Thanks to you ! > >> > >> I will take a look to "replace" Easymock by Mockito in other tests. > >> > >> Regards > >> JB > >> > >> > >> On 10/04/2013 03:52 PM, James Carman wrote: > >> > >>> JIRA created: > >>> > >>> https://issues.apache.org/**jira/browse/CAMEL-6826< > https://issues.apache.org/jira/browse/CAMEL-6826> > >>> > >>> I'll work on a patch this evening and attach it. Thanks for the inpu= t, > >>> JB! > >>> > >>> > >>> On Fri, Oct 4, 2013 at 9:47 AM, Jean-Baptiste Onofr=E9 > >>> wrote: > >>> > >>>> Fair enough, yes. > >>>> > >>>> Regards > >>>> JB > >>>> > >>>> > >>>> On 10/04/2013 03:44 PM, James Carman wrote: > >>>> > >>>>> > >>>>> By the way, I just did a quick search and mockito is found all over > >>>>> the place in the codebase, so I would guess it's okay. > >>>>> > >>>>> > >>>>> On Fri, Oct 4, 2013 at 9:41 AM, James Carman < > >>>>> james@carmanconsulting.com> > >>>>> wrote: > >>>>> > >>>>>> > >>>>>> I agree that we should try to standardize, but it is only a > >>>>>> test-scoped dependency, so it's not like you'll put a burden on us= er > >>>>>> code. Do we really think that in order for one component to use > >>>>>> Mockito that we have to change everyone else? If it's not that > >>>>>> pervasive, it's not a big deal, but could be a nightmare if it is. > >>>>>> > >>>>> > >>>> > >>>> -- > >>>> Jean-Baptiste Onofr=E9 > >>>> jbonofre@apache.org > >>>> http://blog.nanthrax.net > >>>> Talend - http://www.talend.com > >>>> > >>> > >> -- > >> Jean-Baptiste Onofr=E9 > >> jbonofre@apache.org > >> http://blog.nanthrax.net > >> Talend - http://www.talend.com > >> > --001a11c37ba22760da04e7ef8602--