org.apache.maven.it
Class MavenITmng2690MojoLoadingErrorsTest

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

public class MavenITmng2690MojoLoadingErrorsTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-2690. It checks, at the most basic level possible, that the plugin manager is intercepting things like NoClassDefFoundError and ComponntLookupException, then throwing user-friendly errors when loading and configuring a mojo.

Author:
jdcasey

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng2690MojoLoadingErrorsTest()
           
 
Method Summary
 void testMojoComponentLookupException()
           
 void testMojoRequirementComponentLookupException()
           
 void testNoClassDefFromMojoConfiguration()
           
 void testNoClassDefFromMojoLoad()
           
 
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

MavenITmng2690MojoLoadingErrorsTest

public MavenITmng2690MojoLoadingErrorsTest()
Method Detail

testNoClassDefFromMojoLoad

public void testNoClassDefFromMojoLoad()
                                throws IOException,
                                       VerificationException
Throws:
IOException
VerificationException

testNoClassDefFromMojoConfiguration

public void testNoClassDefFromMojoConfiguration()
                                         throws IOException,
                                                VerificationException
Throws:
IOException
VerificationException

testMojoComponentLookupException

public void testMojoComponentLookupException()
                                      throws IOException,
                                             VerificationException
Throws:
IOException
VerificationException

testMojoRequirementComponentLookupException

public void testMojoRequirementComponentLookupException()
                                                 throws IOException,
                                                        VerificationException
Throws:
IOException
VerificationException


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