org.apache.maven.artifact.versioning
Class VersionRangeTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.artifact.versioning.VersionRangeTest
- All Implemented Interfaces:
- Test
public class VersionRangeTest
- extends TestCase
Tests version range construction.
- Author:
- Brett Porter
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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 |
VersionRangeTest
public VersionRangeTest()
testRange
public void testRange()
throws InvalidVersionSpecificationException,
OverConstrainedVersionException
- Throws:
InvalidVersionSpecificationException
OverConstrainedVersionException
testInvalidRanges
public void testInvalidRanges()
testIntersections
public void testIntersections()
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
testReleaseRangeBoundsContainsSnapshots
public void testReleaseRangeBoundsContainsSnapshots()
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
testSnapshotRangeBoundsCanContainSnapshots
public void testSnapshotRangeBoundsCanContainSnapshots()
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
testSnapshotSoftVersionCanContainSnapshot
public void testSnapshotSoftVersionCanContainSnapshot()
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
testContains
public void testContains()
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
enforceVersion
public boolean enforceVersion(String requiredVersionRange,
ArtifactVersion actualVersion)
throws InvalidVersionSpecificationException
- Throws:
InvalidVersionSpecificationException
testOrder0
public void testOrder0()
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.