org.apache.maven.it
Class MavenITmng3652UserAgentHeaderTest

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

public class MavenITmng3652UserAgentHeaderTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-3652.

Version:
$Id: MavenITmng3652UserAgentHeaderTest.java 1213229 2011-12-12 13:24:30Z olamy $

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng3652UserAgentHeaderTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testmng3652_AdditionnalHttpHeaderConfiguredInSettings()
           
 void testmng3652_ConfigurationInSettingsWithoutUserAgent()
           
 void testmng3652_UnConfiguredDAV()
           
 void testmng3652_UnConfiguredHttp()
          Test that the user agent header is configured in the wagon manager.
 void testmng3652_UserAgentConfiguredInSettings()
           
 
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

MavenITmng3652UserAgentHeaderTest

public MavenITmng3652UserAgentHeaderTest()
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

testmng3652_UnConfiguredHttp

public void testmng3652_UnConfiguredHttp()
                                  throws Exception
Test that the user agent header is configured in the wagon manager.

Throws:
Exception

testmng3652_UnConfiguredDAV

public void testmng3652_UnConfiguredDAV()
                                 throws Exception
Throws:
Exception

testmng3652_ConfigurationInSettingsWithoutUserAgent

public void testmng3652_ConfigurationInSettingsWithoutUserAgent()
                                                         throws Exception
Throws:
Exception

testmng3652_UserAgentConfiguredInSettings

public void testmng3652_UserAgentConfiguredInSettings()
                                               throws Exception
Throws:
Exception

testmng3652_AdditionnalHttpHeaderConfiguredInSettings

public void testmng3652_AdditionnalHttpHeaderConfiguredInSettings()
                                                           throws Exception
Throws:
Exception


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