org.apache.maven.it
Class MavenITmng4068AuthenticatedMirrorTest

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

public class MavenITmng4068AuthenticatedMirrorTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4068.

Version:
$Id: MavenITmng4068AuthenticatedMirrorTest.java 981712 2010-08-03 00:36:19Z bentmann $
Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4068AuthenticatedMirrorTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testit()
          Test that downloading of release/snapshot artifacts from an authenticated mirror works.
 
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, 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

MavenITmng4068AuthenticatedMirrorTest

public MavenITmng4068AuthenticatedMirrorTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class TestCase
Throws:
Exception

testit

public void testit()
            throws Exception
Test that downloading of release/snapshot artifacts from an authenticated mirror works. This basically boils down to using the proper id for the mirrored repository when looking up the credentials.

Throws:
Exception


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