org.apache.maven.it
Class MavenITmng4428FollowHttpRedirectTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.it.AbstractMavenIntegrationTestCase
org.apache.maven.it.MavenITmng4428FollowHttpRedirectTest
- All Implemented Interfaces:
- Test
public class MavenITmng4428FollowHttpRedirectTest
- extends AbstractMavenIntegrationTestCase
This is a test set for MNG-4428.
- Version:
- $Id: MavenITmng4428FollowHttpRedirectTest.java 981712 2010-08-03 00:36:19Z bentmann $
- Author:
- Benjamin Bentmann
Method Summary |
void |
testitHttpsToHttp()
Verify that redirects from HTTPS to HTTP are getting followed. |
void |
testitHttpsToHttps()
Verify that redirects from HTTPS to HTTPS are getting followed. |
void |
testitHttpToHttp()
Verify that redirects from HTTP to HTTP are getting followed. |
void |
testitHttpToHttps()
Verify that redirects from HTTP to HTTPS are getting followed. |
void |
testitRelativeLocation()
Verify that redirects using a relative location URL are getting followed. |
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 |
MavenITmng4428FollowHttpRedirectTest
public MavenITmng4428FollowHttpRedirectTest()
testitHttpToHttp
public void testitHttpToHttp()
throws Exception
- Verify that redirects from HTTP to HTTP are getting followed.
- Throws:
Exception
testitHttpsToHttps
public void testitHttpsToHttps()
throws Exception
- Verify that redirects from HTTPS to HTTPS are getting followed.
- Throws:
Exception
testitHttpToHttps
public void testitHttpToHttps()
throws Exception
- Verify that redirects from HTTP to HTTPS are getting followed.
- Throws:
Exception
testitHttpsToHttp
public void testitHttpsToHttp()
throws Exception
- Verify that redirects from HTTPS to HTTP are getting followed.
- Throws:
Exception
testitRelativeLocation
public void testitRelativeLocation()
throws Exception
- Verify that redirects using a relative location URL are getting followed. While a relative URL violates the
HTTP spec, popular HTTP clients do support them so we better do, too.
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.