wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java [237:255]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException,
                    TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
        String myPath = "moved.txt";
        String targetPath = "/base.txt";

        getServerFixture()
                .addServlet(
                        "/" + myPath,
                        new RedirectionServlet(HttpServletResponse.SC_MOVED_PERMANENTLY, myPath, targetPath, -1));

        try {
            testSuccessfulGet(myPath);
            fail("Expected failure as a result of too many redirects.");
        } catch (TransferFailedException e) {
            // expected
        }
    }

    @Test
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java [282:304]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException,
                    TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
        String myPath = "moved.txt";
        String targetPath = "/base.txt";

        getServerFixture()
                .addServlet(
                        "/" + myPath,
                        new RedirectionServlet(HttpServletResponse.SC_MOVED_PERMANENTLY, myPath, targetPath, -1));

        try {
            testSuccessfulGet(myPath);
            fail("Expected failure as a result of too many redirects.");
        } catch (TransferFailedException e) {
            // expected
        }
    }

    /**
     * NOTE: This test depends on a {@link WagonTestCaseConfigurator} configuration to limit redirects to 20. In the
     * case of the Sun HTTP implementation, this is the default limit.
     */
    @Test
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



