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