You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Robby Pelssers (JIRA)" <ji...@apache.org> on 2012/11/28 13:07:00 UTC

[jira] [Comment Edited] (COCOON3-114) The next year and previous year is incorrect of CalendarGenerator in the cocoon-optional module

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

Robby Pelssers edited comment on COCOON3-114 at 11/28/12 12:06 PM:
-------------------------------------------------------------------

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 add extra content specific tests like checking node values or attribute values

                
      was (Author: robbypelssers):
    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
>             Fix For: 3.0.0-beta-1
>
>         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