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

Robby Pelssers commented on COCOON3-114:
----------------------------------------

The unit test only checks if the number of nodes equals the expected output.

1   <calendar:calendar>
5   <calendar:week>
31 <calendar:day>

37 = total nodes so the test passes.  We probably should extra content specific 
tests like checking node values or attribute values

                
> The next year and previous year is incorrect of CalendarGenerator in the 
> cocoon-optional module
> -----------------------------------------------------------------------------------------------
>
>                 Key: COCOON3-114
>                 URL: https://issues.apache.org/jira/browse/COCOON3-114
>             Project: Cocoon 3
>          Issue Type: Bug
>          Components: cocoon-optional
>            Reporter: ZhiQiang,He
>            Priority: Critical
>         Attachments: cocoon-optional-CalendarGenerator.patch
>
>
> The calendar of previous year and next year which cloned from start clendar 
> is same as this year with no adding and substract, but i down known why the 
> test case is passed. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to