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, toStringassertEquals, 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, formatpublic void testParseAnnotationVersion()
throws Exception
Exceptionpublic void testParseAnnotationNoVersionButSnapshot()
throws Exception
Exceptionpublic void testParseAnnotationVersionWithRevision()
throws Exception
Exceptionpublic void testParseAnnotationVersionWithoutRevision()
throws Exception
Exceptionpublic void testParseAnnotationRevisionOnly()
throws Exception
Exceptionpublic void testNextAnnotationRevision()
throws Exception
Exceptionpublic void testCompareToAnnotationRevision()
throws Exception
Exceptionpublic void testCompareToBuildSpecifier()
throws Exception
Exceptionpublic void testSnapshot()
throws VersionParseException
VersionParseExceptionpublic void testCaseInsensitiveSnapshot()
throws VersionParseException
VersionParseExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.