org.apache.maven.it
Class MavenITmng3401CLIDefaultExecIdTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.it.AbstractMavenIntegrationTestCase
              extended by org.apache.maven.it.MavenITmng3401CLIDefaultExecIdTest
All Implemented Interfaces:
Test

public class MavenITmng3401CLIDefaultExecIdTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-3401.

Author:
Brian Fox, jdcasey

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng3401CLIDefaultExecIdTest()
           
 
Method Summary
 void testitWithoutPluginManagement()
          Test that the configuration of an execution block with the id "default-cli" applies to direct CLI invocations of a goal as well if the plugin is configured under build/plugins.
 void testitWithPluginManagement()
          Test that the configuration of an execution block with the id "default-cli" applies to direct CLI invocations of a goal as well if the plugin is configured under build/pluginManagement/plugins.
 
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenITmng3401CLIDefaultExecIdTest

public MavenITmng3401CLIDefaultExecIdTest()
Method Detail

testitWithoutPluginManagement

public void testitWithoutPluginManagement()
                                   throws Exception
Test that the configuration of an execution block with the id "default-cli" applies to direct CLI invocations of a goal as well if the plugin is configured under build/plugins.

Throws:
Exception

testitWithPluginManagement

public void testitWithPluginManagement()
                                throws Exception
Test that the configuration of an execution block with the id "default-cli" applies to direct CLI invocations of a goal as well if the plugin is configured under build/pluginManagement/plugins.

Throws:
Exception


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