com.atlassian.plugin.util
Class TestVersionStringComparator

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.util.TestVersionStringComparator
All Implemented Interfaces:
junit.framework.Test

public class TestVersionStringComparator
extends junit.framework.TestCase


Constructor Summary
TestVersionStringComparator()
           
 
Method Summary
 void testBetas()
           
 void testDates()
           
 void testIntegers()
           
 void testInvalidVersions()
           
 void testLetters()
           
 void testLongString()
           
 void testMoreDots()
           
 void testOneDot()
           
 void testSnapshots()
           
 void testTwoDots()
           
 void testUnintuitiveCases()
          Unfortunate side-effects of the implementation that can't be avoided
 void testValidVersions()
           
 
Methods inherited from class junit.framework.TestCase
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestVersionStringComparator

public TestVersionStringComparator()
Method Detail

testIntegers

public void testIntegers()

testOneDot

public void testOneDot()

testLongString

public void testLongString()

testTwoDots

public void testTwoDots()

testMoreDots

public void testMoreDots()

testLetters

public void testLetters()

testBetas

public void testBetas()

testDates

public void testDates()

testUnintuitiveCases

public void testUnintuitiveCases()
Unfortunate side-effects of the implementation that can't be avoided


testValidVersions

public void testValidVersions()

testInvalidVersions

public void testInvalidVersions()

testSnapshots

public void testSnapshots()


Copyright © 2015 Atlassian. All rights reserved.