org.apache.maven.shared.release.phase
Class CheckDependencySnapshotsPhaseTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.release.phase.AbstractReleaseTestCase
                  extended by org.apache.maven.shared.release.phase.CheckDependencySnapshotsPhaseTest
All Implemented Interfaces:
Test

public class CheckDependencySnapshotsPhaseTest
extends AbstractReleaseTestCase

Test the dependency snapshot check phase.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
localRepository, phase, projectBuilder
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
CheckDependencySnapshotsPhaseTest()
           
 
Method Summary
protected  void setUp()
           
 void testAllowTimestampedSnapshots()
           
 void testNoSnapshotDependencies()
           
 void testNoSnapshotPlugins()
           
 void testNoSnapshotRangeDependencies()
           
 void testNoSnapshotReportPlugins()
           
 void testRangeSnapshotDependenciesOutsideProjectOnlyNonInteractive()
           
 void testReleaseExternalExtension()
           
 void testReleaseExternalParent()
           
 void testSnapshotDependenciesInProjectOnly()
           
 void testSnapshotDependenciesInProjectOnlyMismatchedVersion()
           
 void testSnapshotDependenciesInsideAndOutsideProject()
           
 void testSnapshotDependenciesOutsideMultimoduleProjectOnlyInteractiveWithSnapshotsResolved()
           
 void testSnapshotDependenciesOutsideProjectOnlyInteractiveWithSnapshotsResolved()
           
 void testSnapshotDependenciesOutsideProjectOnlyNonInteractive()
           
 void testSnapshotDependenciesSelectDefaults()
           
 void testSnapshotDependenciesSelectOlderRelease()
           
 void testSnapshotDependenciesUpdateAll()
           
 void testSnapshotDependenciesUpdateAllOnlyDependenciesNeeded()
           
 void testSnapshotExternalExtension()
           
 void testSnapshotExternalManagedDependency()
           
 void testSnapshotExternalManagedPlugin()
           
 void testSnapshotExternalParent()
           
 void testSnapshotExternalParentAdjusted()
           
 void testSnapshotInternalExtension()
           
 void testSnapshotManagedDependenciesInProjectOnly()
           
 void testSnapshotManagedPluginInProjectOnly()
           
 void testSnapshotPluginsInProjectOnly()
           
 void testSnapshotPluginsInsideAndOutsideProject()
           
 void testSnapshotPluginsOutsideProjectOnly()
           
 void testSnapshotReleasePluginInteractiveAcceptedForExecution()
           
 void testSnapshotReleasePluginInteractiveAcceptedForSimulation()
           
 void testSnapshotReleasePluginInteractiveDeclined()
           
 void testSnapshotReleasePluginInteractiveException()
           
 void testSnapshotReleasePluginInteractiveInvalid()
           
 void testSnapshotReleasePluginNonInteractive()
           
 void testSnapshotReportPluginsInProjectOnly()
           
 void testSnapshotReportPluginsInsideAndOutsideProject()
           
 void testSnapshotReportPluginsOutsideProjectOnly()
           
 void testSnapshotUnusedExternalManagedDependency()
           
 void testSnapshotUnusedExternalManagedPlugin()
           
 void testSnapshotUnusedInternalManagedDependency()
           
 void testSnapshotUnusedInternalManagedPlugin()
           
 
Methods inherited from class org.apache.maven.shared.release.phase.AbstractReleaseTestCase
comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, comparePomFiles, createReactorProjects, createReactorProjects, getPath, getProjectsAsMap, tearDown
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckDependencySnapshotsPhaseTest

public CheckDependencySnapshotsPhaseTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractReleaseTestCase
Throws:
Exception

testNoSnapshotDependencies

public void testNoSnapshotDependencies()
                                throws Exception
Throws:
Exception

testNoSnapshotRangeDependencies

public void testNoSnapshotRangeDependencies()
                                     throws Exception
Throws:
Exception

testSnapshotDependenciesInProjectOnly

public void testSnapshotDependenciesInProjectOnly()
                                           throws Exception
Throws:
Exception

testSnapshotReleasePluginNonInteractive

public void testSnapshotReleasePluginNonInteractive()
                                             throws Exception
Throws:
Exception

testSnapshotReleasePluginInteractiveDeclined

public void testSnapshotReleasePluginInteractiveDeclined()
                                                  throws Exception
Throws:
Exception

testSnapshotReleasePluginInteractiveAcceptedForExecution

public void testSnapshotReleasePluginInteractiveAcceptedForExecution()
                                                              throws Exception
Throws:
Exception

testSnapshotReleasePluginInteractiveAcceptedForSimulation

public void testSnapshotReleasePluginInteractiveAcceptedForSimulation()
                                                               throws Exception
Throws:
Exception

testSnapshotReleasePluginInteractiveInvalid

public void testSnapshotReleasePluginInteractiveInvalid()
                                                 throws Exception
Throws:
Exception

testSnapshotReleasePluginInteractiveException

public void testSnapshotReleasePluginInteractiveException()
                                                   throws Exception
Throws:
Exception

testSnapshotDependenciesInProjectOnlyMismatchedVersion

public void testSnapshotDependenciesInProjectOnlyMismatchedVersion()
                                                            throws Exception
Throws:
Exception

testSnapshotManagedDependenciesInProjectOnly

public void testSnapshotManagedDependenciesInProjectOnly()
                                                  throws Exception
Throws:
Exception

testSnapshotUnusedInternalManagedDependency

public void testSnapshotUnusedInternalManagedDependency()
                                                 throws Exception
Throws:
Exception

testSnapshotUnusedExternalManagedDependency

public void testSnapshotUnusedExternalManagedDependency()
                                                 throws Exception
Throws:
Exception

testSnapshotExternalManagedDependency

public void testSnapshotExternalManagedDependency()
                                           throws Exception
Throws:
Exception

testSnapshotDependenciesOutsideProjectOnlyNonInteractive

public void testSnapshotDependenciesOutsideProjectOnlyNonInteractive()
                                                              throws Exception
Throws:
Exception

testRangeSnapshotDependenciesOutsideProjectOnlyNonInteractive

public void testRangeSnapshotDependenciesOutsideProjectOnlyNonInteractive()
                                                                   throws Exception
Throws:
Exception

testSnapshotDependenciesOutsideProjectOnlyInteractiveWithSnapshotsResolved

public void testSnapshotDependenciesOutsideProjectOnlyInteractiveWithSnapshotsResolved()
                                                                                throws Exception
Throws:
Exception

testSnapshotDependenciesSelectOlderRelease

public void testSnapshotDependenciesSelectOlderRelease()
                                                throws Exception
Throws:
Exception

testSnapshotDependenciesSelectDefaults

public void testSnapshotDependenciesSelectDefaults()
                                            throws Exception
Throws:
Exception

testSnapshotDependenciesUpdateAllOnlyDependenciesNeeded

public void testSnapshotDependenciesUpdateAllOnlyDependenciesNeeded()
                                                             throws Exception
Throws:
Exception

testSnapshotDependenciesUpdateAll

public void testSnapshotDependenciesUpdateAll()
                                       throws Exception
Throws:
Exception

testSnapshotDependenciesOutsideMultimoduleProjectOnlyInteractiveWithSnapshotsResolved

public void testSnapshotDependenciesOutsideMultimoduleProjectOnlyInteractiveWithSnapshotsResolved()
                                                                                           throws Exception
Throws:
Exception

testSnapshotDependenciesInsideAndOutsideProject

public void testSnapshotDependenciesInsideAndOutsideProject()
                                                     throws Exception
Throws:
Exception

testNoSnapshotReportPlugins

public void testNoSnapshotReportPlugins()
                                 throws Exception
Throws:
Exception

testSnapshotReportPluginsInProjectOnly

public void testSnapshotReportPluginsInProjectOnly()
                                            throws Exception
Throws:
Exception

testSnapshotReportPluginsOutsideProjectOnly

public void testSnapshotReportPluginsOutsideProjectOnly()
                                                 throws Exception
Throws:
Exception

testSnapshotReportPluginsInsideAndOutsideProject

public void testSnapshotReportPluginsInsideAndOutsideProject()
                                                      throws Exception
Throws:
Exception

testNoSnapshotPlugins

public void testNoSnapshotPlugins()
                           throws Exception
Throws:
Exception

testSnapshotPluginsInProjectOnly

public void testSnapshotPluginsInProjectOnly()
                                      throws Exception
Throws:
Exception

testSnapshotManagedPluginInProjectOnly

public void testSnapshotManagedPluginInProjectOnly()
                                            throws Exception
Throws:
Exception

testSnapshotUnusedInternalManagedPlugin

public void testSnapshotUnusedInternalManagedPlugin()
                                             throws Exception
Throws:
Exception

testSnapshotUnusedExternalManagedPlugin

public void testSnapshotUnusedExternalManagedPlugin()
                                             throws Exception
Throws:
Exception

testSnapshotExternalManagedPlugin

public void testSnapshotExternalManagedPlugin()
                                       throws Exception
Throws:
Exception

testSnapshotPluginsOutsideProjectOnly

public void testSnapshotPluginsOutsideProjectOnly()
                                           throws Exception
Throws:
Exception

testSnapshotPluginsInsideAndOutsideProject

public void testSnapshotPluginsInsideAndOutsideProject()
                                                throws Exception
Throws:
Exception

testSnapshotExternalParent

public void testSnapshotExternalParent()
                                throws Exception
Throws:
Exception

testSnapshotExternalParentAdjusted

public void testSnapshotExternalParentAdjusted()
                                        throws Exception
Throws:
Exception

testReleaseExternalParent

public void testReleaseExternalParent()
                               throws Exception
Throws:
Exception

testSnapshotExternalExtension

public void testSnapshotExternalExtension()
                                   throws Exception
Throws:
Exception

testSnapshotInternalExtension

public void testSnapshotInternalExtension()
                                   throws Exception
Throws:
Exception

testReleaseExternalExtension

public void testReleaseExternalExtension()
                                  throws Exception
Throws:
Exception

testAllowTimestampedSnapshots

public void testAllowTimestampedSnapshots()
                                   throws Exception
Throws:
Exception


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