Class InstallMojoTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.testing.AbstractMojoTestCase
org.apache.maven.plugins.install.InstallMojoTest
All Implemented Interfaces:
junit.framework.Test

public class InstallMojoTest extends org.apache.maven.plugin.testing.AbstractMojoTestCase
Author:
Allan Ramirez
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase

    addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject

    Methods inherited from class org.codehaus.plexus.PlexusTestCase

    customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer

    Methods inherited from class junit.framework.TestCase

    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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • InstallMojoTest

      public InstallMojoTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCase
      Throws:
      Exception
    • testInstallTestEnvironment

      public void testInstallTestEnvironment() throws Exception
      Throws:
      Exception
    • testBasicInstall

      public void testBasicInstall() throws Exception
      Throws:
      Exception
    • testBasicInstallWithAttachedArtifacts

      public void testBasicInstallWithAttachedArtifacts() throws Exception
      Throws:
      Exception
    • testUpdateReleaseParamSetToTrue

      public void testUpdateReleaseParamSetToTrue() throws Exception
      Throws:
      Exception
    • testInstallIfArtifactFileIsNull

      public void testInstallIfArtifactFileIsNull() throws Exception
      Throws:
      Exception
    • testInstallIfPackagingIsPom

      public void testInstallIfPackagingIsPom() throws Exception
      Throws:
      Exception
    • testBasicInstallAndCreate

      public void testBasicInstallAndCreate() throws Exception
      Throws:
      Exception
    • testSkip

      public void testSkip() throws Exception
      Throws:
      Exception