You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2005/12/17 19:23:05 UTC

[jira] Created: (SCM-120) ClearCase Changelog test failure

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


[jira] Closed: (SCM-120) ClearCase Changelog test failure

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-120?page=all ]
     
Emmanuel Venisse closed SCM-120:
--------------------------------


> 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
>     Assignee: 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


[jira] Commented: (SCM-120) ClearCase Changelog test failure

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ 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


[jira] Resolved: (SCM-120) ClearCase Changelog test failure

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-120?page=all ]
     
mike perham resolved SCM-120:
-----------------------------

    Resolution: Fixed

Patch applied.

> 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
>     Assignee: 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


[jira] Assigned: (SCM-120) ClearCase Changelog test failure

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-120?page=all ]

mike perham reassigned SCM-120:
-------------------------------

    Assign To: mike perham

> 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
>     Assignee: 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


[jira] Commented: (SCM-120) ClearCase Changelog test failure

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-120?page=comments#action_54811 ] 

mike perham commented on SCM-120:
---------------------------------

I believe this issue is due to timezones.  10-Sep-03 GMT is 09-Sep-03 in my timezone (US Central time).  Can you update the test to be a little more forgiving of this?

> 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


[jira] Commented: (SCM-120) ClearCase Changelog test failure

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-120?page=comments#action_54867 ] 

Emmanuel Venisse commented on SCM-120:
--------------------------------------

mike,
you can apply your patch and close this issue

> 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