org.apache.maven.it
Class MavenITmng4235HttpAuthDeploymentChecksumsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.it.AbstractMavenIntegrationTestCase
org.apache.maven.it.MavenITmng4235HttpAuthDeploymentChecksumsTest
- All Implemented Interfaces:
- Test
public class MavenITmng4235HttpAuthDeploymentChecksumsTest
- extends AbstractMavenIntegrationTestCase
This is a test set for MNG-4235.
- Version:
- $Id: MavenITmng4235HttpAuthDeploymentChecksumsTest.java 1214687 2011-12-15 10:19:47Z olamy $
- Author:
- Benjamin Bentmann
Method Summary |
void |
setUp()
|
protected void |
tearDown()
|
void |
testit()
Test the creation of proper checksums during deployment to a secured HTTP repo. |
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 |
MavenITmng4235HttpAuthDeploymentChecksumsTest
public MavenITmng4235HttpAuthDeploymentChecksumsTest()
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 the creation of proper checksums during deployment to a secured HTTP repo. The pitfall with HTTP auth is
that it might require double submission of the data, first during an initial PUT without credentials and second
during a retried PUT with credentials in response to the auth challenge by the server. The checksum must
nevertheless only be calculated on the non-doubled data stream.
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.