Class VersionTest

java.lang.Object
org.codehaus.gmavenplus.model.internal.VersionTest

public class VersionTest extends Object
Unit tests for the Version class.
Author:
Keegan Witt
  • Constructor Details

    • VersionTest

      public VersionTest()
  • Method Details

    • testCompare

      public void testCompare()
    • testCompareWithTag

      public void testCompareWithTag()
    • testCompareWithTwoTags

      public void testCompareWithTwoTags()
    • testCompareWithTwoTagsDifferentStartUppercase

      public void testCompareWithTwoTagsDifferentStartUppercase()
    • testCompareWithTwoTagsDifferentStartLowercase

      public void testCompareWithTwoTagsDifferentStartLowercase()
    • testCompareWithSnapshotTag

      public void testCompareWithSnapshotTag()
    • testCompareWithSnapshotTagOtherHasRevision

      public void testCompareWithSnapshotTagOtherHasRevision()
    • testCompareWithTwoTagsOneSnapshot

      public void testCompareWithTwoTagsOneSnapshot()
    • testSort

      public void testSort()
    • testConstructorWithNegatives

      public void testConstructorWithNegatives()
    • testNotEqualsWithNonVersion

      public void testNotEqualsWithNonVersion()
    • testParseFromStringMajorIsNotInteger

      public void testParseFromStringMajorIsNotInteger()
    • testParseFromStringMinorIsNotInteger

      public void testParseFromStringMinorIsNotInteger()
    • testParseFromStringNull

      public void testParseFromStringNull()
    • testParseFromStringEmpty

      public void testParseFromStringEmpty()
    • testParseFromStringAndToStringWithMultiPartTag

      public void testParseFromStringAndToStringWithMultiPartTag()
    • testParsingJavaVersion

      public void testParsingJavaVersion()
    • testGettersAndSetters

      public void testGettersAndSetters()
    • testHashCodeSame

      public void testHashCodeSame()
    • testBetaIsNewerThanAlpha

      public void testBetaIsNewerThanAlpha()
    • testDotSeparatingQualifierAndVersion

      public void testDotSeparatingQualifierAndVersion()