[ 
http://jira.codehaus.org/browse/MVERSIONS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183939#action_183939
 ] 

Stephen Connolly commented on MVERSIONS-51:
-------------------------------------------

These are a work in progress....

FYI, each implementation will behave differently, as each implementation has a 
different set of parser rules.

I'm rejecting this bug as code I am currently working on will superceed this

> Common tests for version comparators
> ------------------------------------
>
>                 Key: MVERSIONS-51
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-51
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Test
>            Reporter: Benoit Lafontaine
>            Priority: Minor
>         Attachments: version-comparators-test.patch
>
>
> I tried to apply NumericVersionComparatorTest unit tests to other 
> implementation to see differences between implementations.
> Should this test work ?
> assertEquals( new DefaultArtifactVersion( "6" ).toString(),
>                      new MavenVersionComparator().incrementSegment( new 
> DefaultArtifactVersion( "5" ), 0 ).toString() );
> I attach a patch including some unit test that fail to illustrate my question.
> Thanks for this plugin

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to