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