You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Jim Donofrio (JIRA)" <ji...@apache.org> on 2012/05/10 10:08:52 UTC

[jira] [Commented] (MRUNIT-101) allow use of real OutputFormats such as TextOutputFormat instead of the MockOutputCollector/MockContextWrapper classes

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

Jim Donofrio commented on MRUNIT-101:
-------------------------------------

initial checkin in 1336519, still need to cleanup the javadoc
                
> allow use of real OutputFormats such as TextOutputFormat instead of the MockOutputCollector/MockContextWrapper classes
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRUNIT-101
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-101
>             Project: MRUnit
>          Issue Type: New Feature
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>            Assignee: Jim Donofrio
>              Labels: output_format
>             Fix For: 1.0.0
>
>
> Currently we only use the MockOutputCollector/MockContextWrapper which just copy the output key, value into a list. This prevents users from testing the outputformat for classes such as TextOutputFormat which should compare the toString versions of objects for equality not the objects themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira