org.apache.maven.it
Class MavenITmng4554PluginPrefixMappingUpdateTest

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

public class MavenITmng4554PluginPrefixMappingUpdateTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4554.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4554PluginPrefixMappingUpdateTest()
           
 
Method Summary
 void testitCached()
          Test that the metadata holding the plugin prefix mapping is cached and not redownloaded upon each Maven invocation.
 void testitForcedUpdate()
          Test that the local metadata holding the plugin prefix mapping can be forcefully updated via the command line flag -U.
 void testitRefetched()
          Test that the local metadata holding the plugin prefix mapping is automatically refetched from the remote repositories if the local metadata fails to resolve a new/other plugin prefix.
 
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

MavenITmng4554PluginPrefixMappingUpdateTest

public MavenITmng4554PluginPrefixMappingUpdateTest()
Method Detail

testitCached

public void testitCached()
                  throws Exception
Test that the metadata holding the plugin prefix mapping is cached and not redownloaded upon each Maven invocation.

Throws:
Exception

testitForcedUpdate

public void testitForcedUpdate()
                        throws Exception
Test that the local metadata holding the plugin prefix mapping can be forcefully updated via the command line flag -U.

Throws:
Exception

testitRefetched

public void testitRefetched()
                     throws Exception
Test that the local metadata holding the plugin prefix mapping is automatically refetched from the remote repositories if the local metadata fails to resolve a new/other plugin prefix.

Throws:
Exception


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