Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93A452009FB for ; Fri, 6 May 2016 23:58:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92323160A0C; Fri, 6 May 2016 21:58:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA6B41608F8 for ; Fri, 6 May 2016 23:58:21 +0200 (CEST) Received: (qmail 82076 invoked by uid 500); 6 May 2016 21:58:20 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 82064 invoked by uid 99); 6 May 2016 21:58:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 21:58:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B2E0FC0089 for ; Fri, 6 May 2016 21:58:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=findologic-com.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id K1sUg3FskasK for ; Fri, 6 May 2016 21:58:17 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id BE2DC5F2F0 for ; Fri, 6 May 2016 21:58:16 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id u64so146163608lff.3 for ; Fri, 06 May 2016 14:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=findologic-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZeuZi4FmvwdQVMw6razhRKRqeCcSa7eCoRISXAPXYAQ=; b=NcY37PJnrgYnttLU1ZeF/rCzUSVpVKF9WT9asBH5SeUyn2yMzla9cXlOhA/LGYFszW 9GGo6f9Ts5n62bsHXCaaZwKi2/9GHkaTudhV96mWiB2SiAXYsjAIairR9jBXjlYlxRYk uPW813hUDygJcviw2FR1Z/+HpJ6313Rvkj+jasPSBLlHtIHgkkk1np7IgsWaVxHWQSK2 nYGQ3gvANAoMvOoEobs0MQRWXlg8auQCMgas7Kv9yDhrh29U12S1D/MdR4TiUSu5BlXx O3ISsW+oUMZBLOfxeBW9DcCLjJAzaESbs4QleLl3Iz0ffMktRmt+me3P1XMpevvpiyUr f/7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZeuZi4FmvwdQVMw6razhRKRqeCcSa7eCoRISXAPXYAQ=; b=XPmFV2gH2Y8bjIcxw2ULEuLTuo0RvpnDwAzHD7l5tz8YnkwZpPrpTw3JaeBOvtiCEr jQDf25qJKGlRyDWPQtVSMPGl7gp96HrbEUXjD2sNxW05IXbi9DdBiVrYOnKVtGft1Mxl +032T/2zoMh6vK4nxZXmYmMt5Fay0/idgNHkWpVby+vxXQGhVrRy0YPJ/r6GOgev5E5I blu65Zwa7wvBj6YtrPBaiJTjr0dump5MzUeMQXBovmPNgi35ZTeaRY1J/xlymm/8ZgqF 1cHduCs4Sl/Ex91/vtnP2i7HUe0LoYAHJzaphtDQ+T8DcVd/Xjbr/JpXd+dt0DwCOO7V sGig== X-Gm-Message-State: AOPr4FV1kMrpiFjxEkDn7DO59qazOl0ZQzRp9jUxHWHFY9f8ChKhZW1NXF6gBbAi5XnIXO2Y/kVLm4m6tId/XnZq X-Received: by 10.25.43.203 with SMTP id r194mr10762795lfr.80.1462571895984; Fri, 06 May 2016 14:58:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Georg Sorst Date: Fri, 06 May 2016 21:58:06 +0000 Message-ID: Subject: Re: Mockito issues with private SolrTestCaseJ4.beforeClass To: "solr-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=001a11411da051aa6c0532338e95 archived-at: Fri, 06 May 2016 21:58:22 -0000 --001a11411da051aa6c0532338e95 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Anyway, this is now SOLR-9081. Best, Georg Georg Sorst schrieb am So., 24. Apr. 2016 um 17:34 Uhr: > Hi list, > > I just ran into some issues with Mockito and SolrTestCaseJ4. It looks lik= e > this: > > * Mockito requires all @BeforeClass methods in the class hierarchy to be > "public static void" > * SolrTestCaseJ4.beforeClass (which is @BeforeClass) is "private static > void" > * So I cannot use Mockito as a test runner when my tests are derived from > SolrTestCaseJ4 > > Is there a specific reason why it is private? Am I missing something? I'l= l > gladly open a JIRA issue if someone can confirm that there is no good > reason for it. > > Best, > Georg > -- > *Georg M. Sorst I CTO* > FINDOLOGIC GmbH > > > > Jakob-Haringer-Str. 5a | 5020 Salzburg I T.: +43 662 456708 > E.: g.sorst@findologic.com > www.findologic.com Folgen Sie uns auf: XING > facebook > Twitter > > > Wir sehen uns auf dem *Shopware Community Day in Ahaus am 20.05.2016!* > Hier Termin > vereinbaren! > Wir sehen uns auf der* dmexco in K=C3=B6ln am 14.09. und 15.09.2016!* Hie= r > Termin > vereinbaren! > --=20 *Georg M. Sorst I CTO* FINDOLOGIC GmbH Jakob-Haringer-Str. 5a | 5020 Salzburg I T.: +43 662 456708 E.: g.sorst@findologic.com www.findologic.com Folgen Sie uns auf: XING facebook Twitter Wir sehen uns auf dem *Shopware Community Day in Ahaus am 20.05.2016!* Hier Termin vereinbaren! Wir sehen uns auf der* dmexco in K=C3=B6ln am 14.09. und 15.09.2016!* Hier Termin vereinbaren! --001a11411da051aa6c0532338e95--