jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Changelog Plugin
  • Maven 2.x Changelog Plugin
  • MCHANGELOG-36

Tests fail on build

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Labels:
    None
  • Environment:
    osx 10.4.6, java 1.4.2_06
  • Testcase included:
    yes
  • Number of attachments :
    2

Description

The date test assertions all fail:

junit.framework.AssertionFailedError: Test changelog 1 set 1 date/time expected:<239635800000> but was:< 239715000000 >
at org.apache.maven.changelog.ChangeLogTest.testReadFile(ChangeLogTest.java:50)

assertEquals( "Test changelog 1 set 1 date/time", 239635800000L, changeSet.getDate().getTime() );

They just have the wrong date, and they are offset by the timezone ( 7 hours, in my case - I'm MST -0700)

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MCHANGELOG-36.patch
    05/May/06 3:11 PM
    3 kB
    Julian Wood
  2. Text File
    MCHANGELOG-36a.patch
    29/May/06 5:46 PM
    4 kB
    Julian Wood

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MCHANGELOG-68 testReadFile unit test timebased comparisons fail

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
No work has yet been logged on this issue.

People

  • Assignee:
    Edwin Punzalan
    Reporter:
    Julian Wood
Vote (0)
Watch (0)

Dates

  • Created:
    05/May/06 3:04 PM
    Updated:
    09/Feb/12 5:09 AM
    Resolved:
    29/May/06 9:52 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.