org.apache.maven.plugin.deploy
Class DeployMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.deploy.DeployMojoTest
All Implemented Interfaces:
Test

public class DeployMojoTest
extends AbstractMojoTestCase

Author:
Allan Ramirez

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DeployMojoTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testBasicDeploy()
           
 void testBasicDeployWithPackagingAsPom()
           
 void testBasicDeployWithScpAsProtocol()
           
 void testDeployIfArtifactFileIsNull()
           
 void testDeployTestEnvironment()
           
 void testDeployWithAttachedArtifacts()
           
 void testSkippingDeploy()
           
 void testUpdateReleaseParamSetToTrue()
           
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployMojoTest

public DeployMojoTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractMojoTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testDeployTestEnvironment

public void testDeployTestEnvironment()
                               throws Exception
Throws:
Exception

testBasicDeploy

public void testBasicDeploy()
                     throws Exception
Throws:
Exception

testSkippingDeploy

public void testSkippingDeploy()
                        throws Exception
Throws:
Exception

testBasicDeployWithPackagingAsPom

public void testBasicDeployWithPackagingAsPom()
                                       throws Exception
Throws:
Exception

testUpdateReleaseParamSetToTrue

public void testUpdateReleaseParamSetToTrue()
                                     throws Exception
Throws:
Exception

testDeployIfArtifactFileIsNull

public void testDeployIfArtifactFileIsNull()
                                    throws Exception
Throws:
Exception

testDeployWithAttachedArtifacts

public void testDeployWithAttachedArtifacts()
                                     throws Exception
Throws:
Exception

testBasicDeployWithScpAsProtocol

public void testBasicDeployWithScpAsProtocol()
                                      throws Exception
Throws:
Exception


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.