public class ComparableVersionTest extends Object
Constructor and Description |
---|
ComparableVersionTest() |
Modifier and Type | Method and Description |
---|---|
void |
testLocaleIndependent() |
void |
testMng5568()
|
void |
testMng6572()
Test MNG-6572 optimization.
|
void |
testMng6964()
Test MNG-6964 edge cases
for qualifiers that start with "-0.", which was showing A == C and B == C but A < B.
|
void |
testReuse() |
void |
testVersionComparing() |
void |
testVersionEqualWithLeadingZeroes()
Test all versions are equal when starting with many leading zeroes regardless of string length
(related to MNG-6572 optimization)
|
void |
testVersionsEqual() |
void |
testVersionsNumber() |
void |
testVersionsQualifier() |
void |
testVersionZeroEqualWithLeadingZeroes()
Test all "0" versions are equal when starting with many leading zeroes regardless of string length
(related to MNG-6572 optimization)
|
@Test public void testVersionsQualifier()
@Test public void testVersionsNumber()
@Test public void testVersionsEqual()
@Test public void testVersionComparing()
@Test public void testMng5568()
@Test public void testMng6572()
@Test public void testVersionEqualWithLeadingZeroes()
@Test public void testVersionZeroEqualWithLeadingZeroes()
@Test public void testMng6964()
@Test public void testLocaleIndependent()
@Test public void testReuse()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.