org.apache.maven.it
Class MavenITmng4615ValidateRequiredPluginParameterTest

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.MavenITmng4615ValidateRequiredPluginParameterTest
All Implemented Interfaces:
Test

public class MavenITmng4615ValidateRequiredPluginParameterTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4615.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4615ValidateRequiredPluginParameterTest()
           
 
Method Summary
 void testitAllSet()
          Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs).
 void testitExprMissing()
          Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs).
 void testitExprSet()
          Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs).
 void testitPomValMissing()
          Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs).
 void testitPomValSet()
          Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs).
 
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

MavenITmng4615ValidateRequiredPluginParameterTest

public MavenITmng4615ValidateRequiredPluginParameterTest()
Method Detail

testitAllSet

public void testitAllSet()
                  throws Exception
Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs). This scenario checks the case of all required parameters being set via plugin configuration.

Throws:
Exception

testitExprMissing

public void testitExprMissing()
                       throws Exception
Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs). This scenario checks the case of a parameter missing its backing system property.

Throws:
Exception

testitExprSet

public void testitExprSet()
                   throws Exception
Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs). This scenario checks the case of a parameter having its backing system property set.

Throws:
Exception

testitPomValMissing

public void testitPomValMissing()
                         throws Exception
Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs). This scenario checks the case of a parameter missing its backing POM value.

Throws:
Exception

testitPomValSet

public void testitPomValSet()
                     throws Exception
Verify that Maven validates required mojo parameters (and doesn't just have the plugins die with NPEs). This scenario checks the case of a parameter having its backing POM value set.

Throws:
Exception


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