|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.maven.artifact.versioning.VersionRangeTest
public class VersionRangeTest
Tests version range construction.
Constructor Summary | |
---|---|
VersionRangeTest()
|
Method Summary | |
---|---|
boolean |
enforceVersion(String requiredVersionRange,
ArtifactVersion actualVersion)
|
void |
testContains()
|
void |
testIntersections()
|
void |
testInvalidRanges()
|
void |
testOrder0()
|
void |
testRange()
|
void |
testReleaseRangeBoundsContainsSnapshots()
|
void |
testSnapshotRangeBoundsCanContainSnapshots()
|
void |
testSnapshotSoftVersionCanContainSnapshot()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionRangeTest()
Method Detail |
---|
public void testRange() throws InvalidVersionSpecificationException, OverConstrainedVersionException
InvalidVersionSpecificationException
OverConstrainedVersionException
public void testInvalidRanges()
public void testIntersections() throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public void testReleaseRangeBoundsContainsSnapshots() throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public void testSnapshotRangeBoundsCanContainSnapshots() throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public void testSnapshotSoftVersionCanContainSnapshot() throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public void testContains() throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public boolean enforceVersion(String requiredVersionRange, ArtifactVersion actualVersion) throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
public void testOrder0()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |