public class ComparableVersionTest
extends junit.framework.TestCase
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)
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public void testVersionsQualifier()
public void testVersionsNumber()
public void testVersionsEqual()
public void testVersionComparing()
public void testMng5568()
public void testMng6572()
public void testVersionEqualWithLeadingZeroes()
public void testVersionZeroEqualWithLeadingZeroes()
public void testMng6964()
public void testLocaleIndependent()
public void testReuse()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.