public class VersionRangeTest extends Object
| Constructor and Description |
|---|
VersionRangeTest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enforceVersion(String requiredVersionRange,
ArtifactVersion actualVersion) |
void |
testCache() |
void |
testContains() |
void |
testIntersections() |
void |
testInvalidRanges() |
void |
testOrder0() |
void |
testRange() |
void |
testReleaseRangeBoundsContainsSnapshots() |
void |
testSameUpperAndLowerBoundRoundtrip() |
void |
testSnapshotRangeBoundsCanContainSnapshots() |
void |
testSnapshotSoftVersionCanContainSnapshot() |
@Test
public void testRange()
throws InvalidVersionSpecificationException,
OverConstrainedVersionException
@Test
public void testSameUpperAndLowerBoundRoundtrip()
throws InvalidVersionSpecificationException
@Test public void testInvalidRanges()
@Test
public void testIntersections()
throws InvalidVersionSpecificationException
@Test
public void testReleaseRangeBoundsContainsSnapshots()
throws InvalidVersionSpecificationException
@Test
public void testSnapshotRangeBoundsCanContainSnapshots()
throws InvalidVersionSpecificationException
@Test
public void testSnapshotSoftVersionCanContainSnapshot()
throws InvalidVersionSpecificationException
@Test
public void testContains()
throws InvalidVersionSpecificationException
public boolean enforceVersion(String requiredVersionRange, ArtifactVersion actualVersion) throws InvalidVersionSpecificationException
@Test public void testOrder0()
@Test
public void testCache()
throws InvalidVersionSpecificationException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.