Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-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 71F24106CC for ; Thu, 16 Jan 2014 08:35:32 +0000 (UTC) Received: (qmail 35899 invoked by uid 500); 16 Jan 2014 08:35:32 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 35575 invoked by uid 500); 16 Jan 2014 08:35:25 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 35263 invoked by uid 500); 16 Jan 2014 08:35:21 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 35244 invoked by uid 99); 16 Jan 2014 08:35:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 08:35:21 +0000 Date: Thu, 16 Jan 2014 08:35:21 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-322) StoreLastEmitter Should Be Part of crunch-test 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/CRUNCH-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Wills updated CRUNCH-322: ------------------------------ Attachment: CRUNCH-322.patch Patch to remove StoreLastEmitter and replace it with InMemoryEmitter. > StoreLastEmitter Should Be Part of crunch-test > ---------------------------------------------- > > Key: CRUNCH-322 > URL: https://issues.apache.org/jira/browse/CRUNCH-322 > Project: Crunch > Issue Type: Improvement > Components: Core > Affects Versions: 0.9.0 > Reporter: Jesse Anderson > Assignee: Josh Wills > Attachments: CRUNCH-322.patch > > > There aren't many ways of unit testing Crunch that are built in. I'm using crunch-core/src/test/java/org/apache/crunch/fn/StoreLastEmitter.java to test outputs from DoFN classes. > This class is not distributed with the crunch-core JAR because it is in the test package. This class should be moved to the non-test source for crunch-test. -- This message was sent by Atlassian JIRA (v6.1.5#6160)