[
https://issues.apache.org/jira/browse/FUNCTOR-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421850#comment-13421850
]
Bruno P. Kinoshita commented on FUNCTOR-12:
-------------------------------------------
Author: kinow
Date: Tue Jul 24 22:40:04 2012
New Revision: 1365330
URL: http://svn.apache.org/viewvc?rev=1365330&view=rev
Log:
[FUNCTOR-12] Added more tests for the generator classes (and util classes).
Also removed unreachable code, as it could not be tested and was immutable and
created/validated during construction. Tests that were using a try/catch +
fail() approach were updated to use @Test(expected=SomeClass.class). Test
classes missing $revision and $data svn tags were updated too.
Modified:
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/FilteredGenerator.java
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/GenerateUntil.java
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/GenerateWhile.java
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/TransformedGenerator.java
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/generator/WhileGenerate.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestFilteredGenerator.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestGenerateUntil.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestGenerateWhile.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestTransformedGenerator.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestUntilGenerate.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestWhileGenerate.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/util/TestEachElement.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/util/TestIntegerRange.java
commons/proper/functor/trunk/src/test/java/org/apache/commons/functor/generator/util/TestLongRange.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