public class DefaultVersionInfoTest
extends junit.framework.TestCase
Constructor and Description |
---|
DefaultVersionInfoTest() |
Modifier and Type | Method and Description |
---|---|
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() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public void testParseAnnotationVersion() throws Exception
Exception
public void testParseAnnotationNoVersionButSnapshot() throws Exception
Exception
public void testParseAnnotationVersionWithRevision() throws Exception
Exception
public void testParseAnnotationVersionWithoutRevision() throws Exception
Exception
public void testParseAnnotationRevisionOnly() throws Exception
Exception
public void testNextAnnotationRevision() throws Exception
Exception
public void testCompareToAnnotationRevision() throws Exception
Exception
public void testCompareToBuildSpecifier() throws Exception
Exception
public void testSnapshot() throws VersionParseException
VersionParseException
public void testCaseInsensitiveSnapshot() throws VersionParseException
VersionParseException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.