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.

Author:
Brett Porter

Constructor Summary
ProjectSorterTest()
           
 
Method Summary
 void testDependencyPrecedesProjectThatUsesSpecificDependencyVersion()
           
 void testDependencyPrecedesProjectThatUsesUnresolvedDependencyVersion()
           
 void testMatchingArtifactIdsDifferentGroupIds()
           
 void testMatchingGroupIdsDifferentArtifactIds()
           
 void testMatchingIdsAndDifferentVersions()
           
 void testMatchingIdsAndVersions()
           
 void testPluginDependenciesInfluenceSorting_DeclarationInParent()
           
 void testPluginDependenciesInfluenceSorting()
           
 void testPluginVersionsAreConsidered()
           
 void testShouldNotFailWhenManagedPluginDepReferencesCurrentProject()
           
 void testShouldNotFailWhenPluginDepReferencesCurrentProject()
           
 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectSorterTest

public ProjectSorterTest()
Method Detail

testShouldNotFailWhenPluginDepReferencesCurrentProject

public void testShouldNotFailWhenPluginDepReferencesCurrentProject()
                                                            throws CycleDetectedException,
                                                                   DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testShouldNotFailWhenManagedPluginDepReferencesCurrentProject

public void testShouldNotFailWhenManagedPluginDepReferencesCurrentProject()
                                                                   throws CycleDetectedException,
                                                                          DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testShouldNotFailWhenProjectReferencesNonExistentProject

public void testShouldNotFailWhenProjectReferencesNonExistentProject()
                                                              throws CycleDetectedException,
                                                                     DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testMatchingArtifactIdsDifferentGroupIds

public void testMatchingArtifactIdsDifferentGroupIds()
                                              throws CycleDetectedException,
                                                     DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testMatchingGroupIdsDifferentArtifactIds

public void testMatchingGroupIdsDifferentArtifactIds()
                                              throws CycleDetectedException,
                                                     DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testMatchingIdsAndVersions

public void testMatchingIdsAndVersions()
                                throws CycleDetectedException
Throws:
CycleDetectedException

testMatchingIdsAndDifferentVersions

public void testMatchingIdsAndDifferentVersions()
                                         throws CycleDetectedException,
                                                DuplicateProjectException
Throws:
CycleDetectedException
DuplicateProjectException

testPluginDependenciesInfluenceSorting

public void testPluginDependenciesInfluenceSorting()
                                            throws Exception
Throws:
Exception

testPluginDependenciesInfluenceSorting_DeclarationInParent

public void testPluginDependenciesInfluenceSorting_DeclarationInParent()
                                                                throws Exception
Throws:
Exception

testPluginVersionsAreConsidered

public void testPluginVersionsAreConsidered()
                                     throws Exception
Throws:
Exception

testDependencyPrecedesProjectThatUsesSpecificDependencyVersion

public void testDependencyPrecedesProjectThatUsesSpecificDependencyVersion()
                                                                    throws Exception
Throws:
Exception

testDependencyPrecedesProjectThatUsesUnresolvedDependencyVersion

public void testDependencyPrecedesProjectThatUsesUnresolvedDependencyVersion()
                                                                      throws Exception
Throws:
Exception


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.