org.apache.maven.it
Class MavenITmng5019StringBasedCompLookupFromChildPluginRealmTest

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

public class MavenITmng5019StringBasedCompLookupFromChildPluginRealmTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-5019.


Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng5019StringBasedCompLookupFromChildPluginRealmTest()
           
 
Method Summary
 void testit()
          Verify that plugins executed by other plugins (like reports executed by the maven-site-plugin) can successfully lookup components via string-based roles from their plugin realm as denoted by the thread context class loader, even if those components are also contained in the parent plugin realm.
 
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

MavenITmng5019StringBasedCompLookupFromChildPluginRealmTest

public MavenITmng5019StringBasedCompLookupFromChildPluginRealmTest()
Method Detail

testit

public void testit()
            throws Exception
Verify that plugins executed by other plugins (like reports executed by the maven-site-plugin) can successfully lookup components via string-based roles from their plugin realm as denoted by the thread context class loader, even if those components are also contained in the parent plugin realm.

Throws:
Exception


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