[ http://jira.codehaus.org/browse/SCM-120?page=comments#action_54812 ]
mike perham commented on SCM-120:
---------------------------------
This fixes the problem:
Index:
src/test/java/org/apache/maven/scm/provider/clearcase/command/changelog/ClearCaseChangeLogCommandTest.java
===================================================================
---
src/test/java/org/apache/maven/scm/provider/clearcase/command/changelog/ClearCaseChangeLogCommandTest.java
(revision 365748)
+++
src/test/java/org/apache/maven/scm/provider/clearcase/command/changelog/ClearCaseChangeLogCommandTest.java
(working copy)
@@ -62,7 +62,7 @@
{
String tag = null;
- Date startDate = getDate( 2003, 8, 10, GMT_TIME_ZONE );
+ Date startDate = getDate( 2003, 8, 10 );
Date endDate = null;
@@ -75,7 +75,7 @@
{
String tag = "myBranch";
- Date startDate = getDate( 2003, 8, 10, GMT_TIME_ZONE );
+ Date startDate = getDate( 2003, 8, 10 );
Date endDate = null;
> ClearCase Changelog test failure
> --------------------------------
>
> Key: SCM-120
> URL: http://jira.codehaus.org/browse/SCM-120
> Project: Maven SCM
> Type: Bug
> Components: maven-scm-provider-clearcase
> Versions: 1.0-beta-3
> Reporter: mike perham
> Fix For: 1.0-beta-3
>
>
> junit.framework.ComparisonFailure: expected:<...10...> but was:<...09...>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at junit.framework.Assert.assertEquals(Assert.java:87)
> at
> org.apache.maven.scm.provider.clearcase.command.changelog.ClearCaseChangeLogCommandTest.testCommandLine(ClearCaseChangeLogCommandTest.java:97)
> at
> org.apache.maven.scm.provider.clearcase.command.changelog.ClearCaseChangeLogCommandTest.testGetCommandLineWithStartDate(ClearCaseChangeLogCommandTest.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira