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:
junit.framework.Test

public class ArtifactUtilsTest
extends junit.framework.TestCase

Tests ArtifactUtils.

Version:
$Id: ArtifactUtilsTest.java 742050 2009-02-08 11:03:25Z bentmann $
Author:
Benjamin Bentmann

Constructor Summary
ArtifactUtilsTest()
           
 
Method Summary
 void testArtifactMapByArtifactIdOrdering()
          Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
 void testArtifactMapByVersionlessIdOrdering()
          Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactUtilsTest

public ArtifactUtilsTest()
Method Detail

testArtifactMapByArtifactIdOrdering

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

Throws:
Exception

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-2009 The Apache Software Foundation. All Rights Reserved.