Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0696818A8D for ; Wed, 27 May 2015 22:52:18 +0000 (UTC) Received: (qmail 39180 invoked by uid 500); 27 May 2015 22:52:17 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 39144 invoked by uid 500); 27 May 2015 22:52:17 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 39129 invoked by uid 99); 27 May 2015 22:52:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 22:52:17 +0000 Date: Wed, 27 May 2015 22:52:17 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2603) Create test-friendly way to get Configuration objects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561911#comment-14561911 ] Christopher Tubbs commented on ACCUMULO-2603: --------------------------------------------- This has been marked "In Progress" for over a year. What's the status of this? > Create test-friendly way to get Configuration objects > ----------------------------------------------------- > > Key: ACCUMULO-2603 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2603 > Project: Accumulo > Issue Type: Improvement > Reporter: Bill Havanki > Assignee: Bill Havanki > Priority: Minor > Fix For: 1.6.3, 1.8.0, 1.7.1 > > > It's difficult to unit test code that retrieves configuration objects using static method calls, like those in {{SiteConfiguration}} and {{ServerConfiguration}}. We should have a different, similarly easy way to get those objects that makes it easier to swap in / inject mock objects. > The work here would only be scoped to creating that alternative, and some accompanying low-impact uses of it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)