org.apache.maven.shared.release.versions
Class DefaultVersionInfoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.release.versions.DefaultVersionInfoTest
All Implemented Interfaces:
Test

public class DefaultVersionInfoTest
extends TestCase


Constructor Summary
DefaultVersionInfoTest()
           
 
Method Summary
 void testCaseInsensitiveSnapshot()
           
 void testCompareToAnnotation()
           
 void testCompareToAnnotationRevision()
           
 void testCompareToBuildSpecifier()
           
 void testCompareToDigitsOnly()
           
 void testGetReleaseVersion()
           
 void testGetSnapshotVersion()
           
 void testNextAnnotationRevision()
           
 void testNextVersion()
           
 void testParse()
           
 void testParseAnnotationNoVersionButSnapshot()
           
 void testParseAnnotationRevisionOnly()
           
 void testParseAnnotationVersion()
           
 void testParseAnnotationVersionWithoutRevision()
           
 void testParseAnnotationVersionWithRevision()
           
 void testParseBuildNumber()
           
 void testParseLeadingZeros()
           
 void testParseMultiDigit()
           
 void testParseSeparators()
           
 void testParseSnapshotVersion()
           
 void testParseWithBadVersion()
           
 void testSnapshot()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultVersionInfoTest

public DefaultVersionInfoTest()
Method Detail

testParse

public void testParse()
               throws Exception
Throws:
Exception

testParseWithBadVersion

public void testParseWithBadVersion()
                             throws Exception
Throws:
Exception

testParseMultiDigit

public void testParseMultiDigit()
                         throws Exception
Throws:
Exception

testParseSnapshotVersion

public void testParseSnapshotVersion()
                              throws Exception
Throws:
Exception

testParseAnnotationVersion

public void testParseAnnotationVersion()
                                throws Exception
Throws:
Exception

testParseSeparators

public void testParseSeparators()
                         throws Exception
Throws:
Exception

testParseAnnotationNoVersionButSnapshot

public void testParseAnnotationNoVersionButSnapshot()
                                             throws Exception
Throws:
Exception

testParseAnnotationVersionWithRevision

public void testParseAnnotationVersionWithRevision()
                                            throws Exception
Throws:
Exception

testParseAnnotationVersionWithoutRevision

public void testParseAnnotationVersionWithoutRevision()
                                               throws Exception
Throws:
Exception

testParseAnnotationRevisionOnly

public void testParseAnnotationRevisionOnly()
                                     throws Exception
Throws:
Exception

testParseLeadingZeros

public void testParseLeadingZeros()
                           throws Exception
Throws:
Exception

testParseBuildNumber

public void testParseBuildNumber()
                          throws Exception
Throws:
Exception

testNextVersion

public void testNextVersion()
                     throws Exception
Throws:
Exception

testNextAnnotationRevision

public void testNextAnnotationRevision()
                                throws Exception
Throws:
Exception

testCompareToDigitsOnly

public void testCompareToDigitsOnly()
                             throws Exception
Throws:
Exception

testCompareToAnnotation

public void testCompareToAnnotation()
                             throws Exception
Throws:
Exception

testCompareToAnnotationRevision

public void testCompareToAnnotationRevision()
                                     throws Exception
Throws:
Exception

testCompareToBuildSpecifier

public void testCompareToBuildSpecifier()
                                 throws Exception
Throws:
Exception

testGetReleaseVersion

public void testGetReleaseVersion()
                           throws Exception
Throws:
Exception

testGetSnapshotVersion

public void testGetSnapshotVersion()
                            throws Exception
Throws:
Exception

testSnapshot

public void testSnapshot()
                  throws VersionParseException
Throws:
VersionParseException

testCaseInsensitiveSnapshot

public void testCaseInsensitiveSnapshot()
                                 throws VersionParseException
Throws:
VersionParseException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.