public class VersionRangeTest extends junit.framework.TestCase
Constructor and Description |
---|
VersionRangeTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
enforceVersion(String requiredVersionRange,
ArtifactVersion actualVersion) |
void |
testContains() |
void |
testIntersections() |
void |
testInvalidRanges() |
void |
testOrder0() |
void |
testRange() |
void |
testReleaseRangeBoundsContainsSnapshots() |
void |
testSnapshotRangeBoundsCanContainSnapshots() |
void |
testSnapshotSoftVersionCanContainSnapshot() |
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
public VersionRangeTest()
public void testRange() throws InvalidVersionSpecificationException, OverConstrainedVersionException
public void testInvalidRanges()
public void testIntersections() throws InvalidVersionSpecificationException
public void testReleaseRangeBoundsContainsSnapshots() throws InvalidVersionSpecificationException
public void testSnapshotRangeBoundsCanContainSnapshots() throws InvalidVersionSpecificationException
public void testSnapshotSoftVersionCanContainSnapshot() throws InvalidVersionSpecificationException
public void testContains() throws InvalidVersionSpecificationException
public boolean enforceVersion(String requiredVersionRange, ArtifactVersion actualVersion) throws InvalidVersionSpecificationException
public void testOrder0()
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.