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

Bruno P. Kinoshita commented on FUNCTOR-12:
-------------------------------------------

Author: kinow
Date: Mon Jul 23 19:36:08 2012
New Revision: 1364767

URL: http://svn.apache.org/viewvc?rev=1364767&view=rev
Log:
[FUNCTOR-12] Tests for functor core. RightIdentity wasn't using the prodedure() 
method, but duplicating the code for this method in two places. This commit 
fixes it too. LeftIdentity had the right code, so no change was necessary.

Tests using try/catch + fail() were updated to use 
@Test(expected=SomeException.class).

Modified:
    
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestConstant.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsEqual.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsNotEqual.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsNotSame.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsSame.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestLeftIdentity.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestLimit.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestOffset.java
    
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/core/TestRightIdentity.java
                
> improve test coverage
> ---------------------
>
>                 Key: FUNCTOR-12
>                 URL: https://issues.apache.org/jira/browse/FUNCTOR-12
>             Project: Commons Functor
>          Issue Type: Improvement
>            Reporter: Emmanuel Bourg
>            Assignee: Bruno P. Kinoshita
>
> Specifically the composite package contains untested classes, per 
> http://markmail.org/message/ythw55yad5lrvqrj

--
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

        

Reply via email to