org.apache.maven.project
Class ProjectSorterTest

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

public class ProjectSorterTest
extends junit.framework.TestCase

Test sorting projects by dependencies.

Version:
$Id: ProjectSorterTest.java 495147 2007-01-11 07:47:53Z jvanzyl $
Author:
Brett Porter

Constructor Summary
ProjectSorterTest()
           
 
Method Summary
 void testMatchingArtifactIdsDifferentGroupIds()
           
 void testMatchingGroupIdsDifferentArtifactIds()
           
 void testMatchingIdsAndDifferentVersions()
           
 void testMatchingIdsAndVersions()
           
 void testShouldNotFailWhenProjectReferencesNonExistentProject()
           
 
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

ProjectSorterTest

public ProjectSorterTest()
Method Detail

testShouldNotFailWhenProjectReferencesNonExistentProject

public void testShouldNotFailWhenProjectReferencesNonExistentProject()
                                                              throws org.codehaus.plexus.util.dag.CycleDetectedException,
                                                                     org.apache.maven.project.DuplicateProjectException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException
org.apache.maven.project.DuplicateProjectException

testMatchingArtifactIdsDifferentGroupIds

public void testMatchingArtifactIdsDifferentGroupIds()
                                              throws org.codehaus.plexus.util.dag.CycleDetectedException,
                                                     org.apache.maven.project.DuplicateProjectException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException
org.apache.maven.project.DuplicateProjectException

testMatchingGroupIdsDifferentArtifactIds

public void testMatchingGroupIdsDifferentArtifactIds()
                                              throws org.codehaus.plexus.util.dag.CycleDetectedException,
                                                     org.apache.maven.project.DuplicateProjectException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException
org.apache.maven.project.DuplicateProjectException

testMatchingIdsAndVersions

public void testMatchingIdsAndVersions()
                                throws org.codehaus.plexus.util.dag.CycleDetectedException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException

testMatchingIdsAndDifferentVersions

public void testMatchingIdsAndDifferentVersions()
                                         throws org.codehaus.plexus.util.dag.CycleDetectedException
Throws:
org.codehaus.plexus.util.dag.CycleDetectedException


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