org.apache.maven.artifact
Class ArtifactUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.artifact.ArtifactUtilsTest
All Implemented Interfaces:
Test

public class ArtifactUtilsTest
extends TestCase

Tests ArtifactUtils.

Author:
Benjamin Bentmann

Constructor Summary
ArtifactUtilsTest()
           
 
Method Summary
 void testArtifactMapByVersionlessIdOrdering()
          Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
 void testIsSnapshot()
           
 void testToSnapshotVersion()
           
 
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

ArtifactUtilsTest

public ArtifactUtilsTest()
Method Detail

testIsSnapshot

public void testIsSnapshot()

testToSnapshotVersion

public void testToSnapshotVersion()

testArtifactMapByVersionlessIdOrdering

public void testArtifactMapByVersionlessIdOrdering()
                                            throws Exception
Tests that the ordering of the map resembles the ordering of the input collection of artifacts.

Throws:
Exception


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.