Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 E05BC73E5 for ; Tue, 6 Sep 2011 15:34:36 +0000 (UTC) Received: (qmail 97949 invoked by uid 500); 6 Sep 2011 15:34:35 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 97494 invoked by uid 500); 6 Sep 2011 15:34:34 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 97267 invoked by uid 99); 6 Sep 2011 15:34:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 15:34:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 15:34:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23AFC83352 for ; Tue, 6 Sep 2011 15:34:12 +0000 (UTC) Date: Tue, 6 Sep 2011 15:34:12 +0000 (UTC) From: "Kihwal Lee (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <157945748.20837.1315323252138.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1316103491.29334.1313087427557.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HADOOP-7537) Add PowerMock for the development of better tests 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/HADOOP-7537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kihwal Lee resolved HADOOP-7537. -------------------------------- Resolution: Won't Fix > Add PowerMock for the development of better tests > ------------------------------------------------- > > Key: HADOOP-7537 > URL: https://issues.apache.org/jira/browse/HADOOP-7537 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 0.23.0 > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Priority: Minor > Fix For: 0.23.0 > > Attachments: powermock.patch > > > We already have Mockito, but PowerMock extends its capabilties so that we can mock constructors and static methods. I find that it is extremely difficult, if not impossible, to properly test some of the low-level features without this. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira