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 EB2DE200CA8 for ; Wed, 31 May 2017 23:18:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E9B48160BC2; Wed, 31 May 2017 21:18:10 +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 3A0BA160BCB for ; Wed, 31 May 2017 23:18:10 +0200 (CEST) Received: (qmail 21380 invoked by uid 500); 31 May 2017 21:18:09 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 21185 invoked by uid 99); 31 May 2017 21:18:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 21:18:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B83051A032E for ; Wed, 31 May 2017 21:18:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2x5d4hJ6-tHY for ; Wed, 31 May 2017 21:18:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8E9965F5B4 for ; Wed, 31 May 2017 21:18:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CD7C9E0D3C for ; Wed, 31 May 2017 21:18:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 997D821B5D for ; Wed, 31 May 2017 21:18:04 +0000 (UTC) Date: Wed, 31 May 2017 21:18:04 +0000 (UTC) From: "Alfonso Nishikawa (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GORA-255) Remove deprecated methods from DataStoreTestBase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 31 May 2017 21:18:11 -0000 [ https://issues.apache.org/jira/browse/GORA-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031977#comment-16031977 ] Alfonso Nishikawa commented on GORA-255: ---------------------------------------- Hi, my guess is that we need a MemStoreTestDriver before removing those two deprecated methods. All datastores except MemStore create employeeStore and webPageStore through an especific TestDriver for each module at this line [1]. The particular TestDriver is configured statically in Test*Store. For example, here in TestHBaseStore [2], where it configures GoraHBaseTestDriver to be used. @[~nishadi]: My suggestion is that we would need a MemStoreTestDriver, which will be configured at MemStoreTest (as in HBase). What do you think? I am only talking theoretically. I never dig that deep on this. Thank you! Gora 0.7 source code links: [1] https://github.com/apache/gora/blob/apache-gora-0.7/gora-core/src/test/java/org/apache/gora/store/DataStoreTestBase.java#L91 [2] https://github.com/apache/gora/blob/apache-gora-0.7/gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java#L53 > Remove deprecated methods from DataStoreTestBase > ------------------------------------------------- > > Key: GORA-255 > URL: https://issues.apache.org/jira/browse/GORA-255 > Project: Apache Gora > Issue Type: Improvement > Components: testing > Affects Versions: 0.4 > Reporter: Apostolos Giannakidis > Assignee: Apostolos Giannakidis > Priority: Minor > Labels: test > Fix For: 0.8 > > > The abstract class DataStoreTestBase contains 2 deprecated methods: > DataStore createEmployeeDataStore() > DataStore createWebPageDataStore() > These methods were useful in the past but they seem not to be useful now. > I believe that they should be removed from the abstract class DataStoreTestBase. Their concrete implementations from the subclasses that extend the DataStoreTestBase should also be removed. -- This message was sent by Atlassian JIRA (v6.3.15#6346)