[ 
https://issues.apache.org/jira/browse/HADOOP-9122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186020#comment-16186020
 ] 

Eric Yang commented on HADOOP-9122:
-----------------------------------

It turns out that commons-io 2.5 is not required as an upgrade.  It was used by 
my own test code.  In addition, commons-io 2.5 was a bad release.  
Org.apache.commons.io.Java7Support has been removed from commons-io 2.5, but 
the complete fix isn't ready until commons-io 2.6 from 
[IO-514|https://issues.apache.org/jira/browse/IO-514].  Hadoop can not upgrade 
to commons-io 2.5 because isSymlink method is broken in commons-io 2.5.

The proposed patch on upgrade mockito and powermock which will minimize the 
changes required for better unit test cases.

> Add powermock library for writing better unit tests
> ---------------------------------------------------
>
>                 Key: HADOOP-9122
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9122
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Radim Kolar
>            Assignee: Eric Yang
>            Priority: Critical
>         Attachments: HADOOP-9122.001.patch, powermock.txt
>
>
> This library is extension of mockito and easymock libraries. It allows 
> testing of private methods, private variables and other otherwise untestable 
> stuff.
> http://code.google.com/p/powermock/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to