Repository: maven-wagon Updated Branches: refs/heads/master 479f7bea6 -> 5fcf54b96
http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java ---------------------------------------------------------------------- diff --git a/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java b/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java index 9b8967b..4cf8bda 100644 --- a/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java +++ b/wagon-providers/wagon-webdav-jackrabbit/src/main/java/org/apache/maven/wagon/providers/webdav/WebDavWagon.java @@ -19,7 +19,6 @@ package org.apache.maven.wagon.providers.webdav; * under the License. */ -import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.HttpStatus; import org.apache.jackrabbit.webdav.DavConstants; import org.apache.jackrabbit.webdav.DavException; @@ -75,7 +74,7 @@ public class WebDavWagon * <p/> * NOTE: The order of the mapping becomes the search order. */ - private static final String[][] protocolMap = + private static final String[][] PROTOCOL_MAP = new String[][]{ { "dav:http://", "http://" }, /* maven 2.0.x url string format. (violates URI spec) */ { "dav:https://", "https://" }, /* maven 2.0.x url string format. (violates URI spec) */ { "dav+http://", "http://" }, /* URI spec compliant (protocol+transport) */ @@ -99,7 +98,6 @@ public class WebDavWagon * * @param dir path to be created in server from repository basedir * @throws IOException - * @throws HttpException * @throws TransferFailedException */ protected void mkdirs( String dir ) @@ -257,9 +255,9 @@ public class WebDavWagon { if ( i == 0 ) { - //by design jackrabbit webdav sticks parent directory as the first entry + // by design jackrabbit webdav sticks parent directory as the first entry // so we need to ignore this entry - // http://www.nabble.com/Extra-entry-in-get-file-list-with-jackrabbit-webdav-td21262786.html + // http://www.nabble.com/Extra-entry-in-get-file-list-with-jackrabbit-webdav-td21262786.html // http://www.webdav.org/specs/rfc4918.html#rfc.section.9.1 continue; } @@ -306,10 +304,10 @@ public class WebDavWagon String url = repository.getUrl(); // Process mappings first. - for ( String[] entry : protocolMap ) + for ( String[] entry : PROTOCOL_MAP ) { String protocol = entry[0]; - if ( url.startsWith(protocol) ) + if ( url.startsWith( protocol ) ) { return entry[1] + url.substring( protocol.length() ); } http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-providers/wagon-webdav-jackrabbit/src/main/plexus/META-INF/plexus/components.xml ---------------------------------------------------------------------- diff --git a/wagon-providers/wagon-webdav-jackrabbit/src/main/plexus/META-INF/plexus/components.xml b/wagon-providers/wagon-webdav-jackrabbit/src/main/plexus/META-INF/plexus/components.xml index d99532b..9328e67 100644 --- a/wagon-providers/wagon-webdav-jackrabbit/src/main/plexus/META-INF/plexus/components.xml +++ b/wagon-providers/wagon-webdav-jackrabbit/src/main/plexus/META-INF/plexus/components.xml @@ -1,3 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <component-set> <components> <component> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/Checked.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/Checked.png b/wagon-tcks/wagon-tck-http/Test Plan.html/Checked.png deleted file mode 100644 index 54e9f25..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/Checked.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/Collapsed.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/Collapsed.png b/wagon-tcks/wagon-tck-http/Test Plan.html/Collapsed.png deleted file mode 100644 index c339776..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/Collapsed.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/Expanded.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/Expanded.png b/wagon-tcks/wagon-tck-http/Test Plan.html/Expanded.png deleted file mode 100644 index 1000f4b..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/Expanded.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/LeafRowHandle.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/LeafRowHandle.png b/wagon-tcks/wagon-tck-http/Test Plan.html/LeafRowHandle.png deleted file mode 100644 index 6363375..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/LeafRowHandle.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/Mixed.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/Mixed.png b/wagon-tcks/wagon-tck-http/Test Plan.html/Mixed.png deleted file mode 100644 index e330499..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/Mixed.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/Unchecked.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/Unchecked.png b/wagon-tcks/wagon-tck-http/Test Plan.html/Unchecked.png deleted file mode 100644 index aba32d7..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/Unchecked.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/blank.png ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/blank.png b/wagon-tcks/wagon-tck-http/Test Plan.html/blank.png deleted file mode 100644 index 77b838e..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.html/blank.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/index.html ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/index.html b/wagon-tcks/wagon-tck-http/Test Plan.html/index.html deleted file mode 100644 index 8974f76..0000000 --- a/wagon-tcks/wagon-tck-http/Test Plan.html/index.html +++ /dev/null @@ -1,547 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title></title> -<script type="text/javascript" src="outliner.js"></script><style type="text/css"> - - - th { - vertical-align: bottom; - - } - - td { - vertical-align: top; - } - - td,th { - - empty-cells: show; - } - - .top-right-border { - - } - - .no-border { - border-bottom: 0px; - border-left: 0px; - } - - - - - table { - - font-family: Helvetica, sans-serif; - font-size: 12px; - - - } - - - - .wholeDocument { - - - } - - - td.subcell { - border: none; - } - - td.content { - padding-left: 4px; - padding-bottom: 2px; - padding-top: 1px; - padding-right: 3px; - } - - .full { - height: 100%; - } - - .heighthack { - height: 8px; - } - - div.titlepadding { - padding-right:3px; - padding-left:6px; - padding-bottom:3px; - padding-top: 2px; - } - - - .summary_node { - background: rgba(0,0,0,.12); - margin-bottom: 1px; - } - - - div.column { - padding-right: 3px; - padding-left: 4px; - padding-top: 1px; - padding-bottom: 2px; - margin-right: 1px; - } - - .labelpadding { - padding-right: 3px; - padding-top: 1px; - padding-left: 2px; - } - - .indicator { - white-space: nowrap; - text-align:right; - margin-right: 0px; - vertical-align: top; - padding-top: 1px; - padding-left: 0px; - } - - .wholedocgutter { - - } - - div.row { - } - - .expanded { - display: inline; - } - .collapsed { - display: none; - } - - - - - .note { - padding-left: 5px; - padding-right: 3px; - border: none; - color:rgb(84,84,84) ; font-style: italic;font-size: 11px;font-style: italic;font-size: 11px; - } - - /* Total table width is 665 - Adjusted table width is 704 */ - - .wholething { - width: auto; - } - - - table.row { - - width: 665px; - - - } - - - .col_width1 { - width: 665px; /* Actual width is 665 */ - } - - .col1 { - - } - - .colbackground1 { - - } - - - /* Level Styles */ - - - .columntitle { - text-decoration: underline;font-weight: 900; - } - - .ns-Highlight { - } - - .ns-Citation { - text-decoration: underline;} - - .ns-Emphasis { - font-style: italic;} - - .ns-bg-Highlight { - background-color:rgb(253,255,89) ; } - - .ns-bg-Citation { - } - - .ns-bg-Emphasis { - } - - .ns-gutter-Highlight { - } - - .ns-gutter-Citation { - } - - .ns-gutter-Emphasis { - } -</style> -</head> -<body class="wholeDocument"><table cellspacing="0" cellpadding="0" class="top-right-border"><tr><td class="wholething no-border"> -<!--Column Titles--><table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" colbackground1 col_width1"><div class="columntitle titlepadding">jetty wagon test plan<br> -</div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor1"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level1 levelguttercolor1" style="width: 9px;"></td> -<td class=" subcell wholedocgutter indicator level1 levelguttercolor1" style="width: 28px;"> -<img onmousedown="ioSwitch('pdL-2-4CeZ_A', event.shiftKey)" id="idL-2-4CeZ_A" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level1 subcell">Test protocols<br> -</td> -</tr></table></div></td></tr></table> -<div id="pdL-2-4CeZ_A" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">HTTP<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">HTTPS<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor1"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level1 levelguttercolor1" style="width: 9px;"></td> -<td class=" subcell wholedocgutter indicator level1 levelguttercolor1" style="width: 28px;"> -<img onmousedown="ioSwitch('ppKx-EBsHInR', event.shiftKey)" id="ipKx-EBsHInR" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level1 subcell">Test methods<br> -</td> -</tr></table></div></td></tr></table> -<div id="ppKx-EBsHInR" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">GET<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">PUT<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">HEAD / exists<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor1"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level1 levelguttercolor1" style="width: 9px;"></td> -<td class=" subcell wholedocgutter indicator level1 levelguttercolor1" style="width: 28px;"> -<img onmousedown="ioSwitch('pgZguun1qkaq', event.shiftKey)" id="igZguun1qkaq" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="-" src="Mixed.png"> -</td> -<td class=" content level1 subcell">Use cases<br> -</td> -</tr></table></div></td></tr></table> -<div id="pgZguun1qkaq" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">Unknown host<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('paWyO4QxYcZ4', event.shiftKey)" id="iaWyO4QxYcZ4" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="-" src="Mixed.png"> -</td> -<td class=" content level2 subcell">Authentication<br> -</td> -</tr></table></div></td></tr></table> -<div id="paWyO4QxYcZ4" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">Successful auth<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">Unsuccessful auth<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Preemptive auth<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img onmousedown="ioSwitch('pbYkdv0TZhE0', event.shiftKey)" id="ibYkdv0TZhE0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Non-preemptive auth<br> -</td> -</tr></table></div></td></tr></table> -<div id="pbYkdv0TZhE0" class="expanded"><table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor4"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level4 levelguttercolor4" style="width: 57px;"></td> -<td class=" subcell wholedocgutter indicator level4 levelguttercolor4" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level4 subcell">Should not send payload twice, if it can be helped<br> -</td> -</tr></table></div></td></tr></table></div> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('pm7xnl6vfRpr', event.shiftKey)" id="im7xnl6vfRpr" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">Connection latency<br> -</td> -</tr></table></div></td></tr></table> -<div id="pm7xnl6vfRpr" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">High latency, high timeout<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">High latency, low timeout<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">No response<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('pggbym_SYZLf', event.shiftKey)" id="iggbym_SYZLf" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">Common errors<br> -</td> -</tr></table></div></td></tr></table> -<div id="pggbym_SYZLf" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">404<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">500<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">503<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">403<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('pk0GGB8xKMIl', event.shiftKey)" id="ik0GGB8xKMIl" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level2 subcell">Redirection: 301 / 302<br> -</td> -</tr></table></div></td></tr></table> -<div id="pk0GGB8xKMIl" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">Redirection within max count<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">Redirection over max count<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt="X" src="Checked.png"> -</td> -<td class=" content level3 subcell">Infinite redirection<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('pbWXzVsPT3Hp', event.shiftKey)" id="ibWXzVsPT3Hp" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">Proxies<br> -</td> -</tr></table></div></td></tr></table> -<div id="pbWXzVsPT3Hp" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">No authentication<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Authorization failure<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Authentication success<br> -</td> -</tr></table></div></td></tr></table> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('penTOz-jTxgS', event.shiftKey)" id="ienTOz-jTxgS" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">Headers<br> -</td> -</tr></table></div></td></tr></table> -<div id="penTOz-jTxgS" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">User Agent<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">no-cache (Pragma, etc.)<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img onmousedown="ioSwitch('peLJz35zJNnE', event.shiftKey)" id="ieLJz35zJNnE" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Authorization<br> -</td> -</tr></table></div></td></tr></table> -<div id="peLJz35zJNnE" class="expanded"><table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor4"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level4 levelguttercolor4" style="width: 57px;"></td> -<td class=" subcell wholedocgutter indicator level4 levelguttercolor4" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level4 subcell">long (something that will line-wrap Sun's header impl)<br> -</td> -</tr></table></div></td></tr></table></div> -</div> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor2"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level2 levelguttercolor2" style="width: 25px;"></td> -<td class=" subcell wholedocgutter indicator level2 levelguttercolor2" style="width: 28px;"> -<img onmousedown="ioSwitch('piJYOloS6FYo', event.shiftKey)" id="iiJYOloS6FYo" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" border="0" alt="V" src="Expanded.png" title="collapse"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level2 subcell">File listing<br> -</td> -</tr></table></div></td></tr></table> -<div id="piJYOloS6FYo" class="expanded"> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Missing directory<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">normal listing<br> -</td> -</tr></table></div></td></tr></table> -<table cellspacing="0" border="0" cellpadding="0" class="row heighthack"><tr><td class=" col1 colbackground1 col_width1" style=""><div class=" full levelcolor3"><table border="0" cellspacing="0" cellpadding="0" style="height:100%" class=" col_width1 col1"><tr> -<td class=" subcell wholedocgutter level3 levelguttercolor3" style="width: 41px;"></td> -<td class=" subcell wholedocgutter indicator level3 levelguttercolor3" style="width: 28px;"> -<img border="0" style="margin-left: 3px; margin-right:3px; margin-top: 3px;" alt="*" src="LeafRowHandle.png"><img border="0" style="margin-left: 2px; margin-right: 2px; margin-top: 3px;" alt=" " src="Unchecked.png"> -</td> -<td class=" content level3 subcell">Forbidden directory listing<br> -</td> -</tr></table></div></td></tr></table> -</div> -</div> -</td></tr></table></body> -</html> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.html/outliner.js ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.html/outliner.js b/wagon-tcks/wagon-tck-http/Test Plan.html/outliner.js deleted file mode 100644 index 57e57b0..0000000 --- a/wagon-tcks/wagon-tck-http/Test Plan.html/outliner.js +++ /dev/null @@ -1,115 +0,0 @@ -var img_expanded = 'Expanded.png'; -var img_collapsed = 'Collapsed.png'; -var img_blank = 'blank.png'; -var img_leaf = 'LeafRowHandle.png'; - -new Image(9,9),src = img_expanded; // caching -new Image(9,9),src = img_collapsed; // caching -new Image(9,9),src = img_blank; // caching -new Image(9,9),src = img_leaf; // caching - -function hover(iNode, over) { - - if (over) { - t = document.getElementById(iNode).alt; - - if (t == '*') { - document.getElementById(iNode).src=img_leaf; - } else if (t == 'V') { - document.getElementById(iNode).src=img_expanded; - } else { - document.getElementById(iNode).src=img_collapsed; - } - - } else { - document.getElementById(iNode).src=img_blank; - } -} - -function expand(ioNode) { - ioWedge = "i" + ioNode.substr(1); - - if (document.getElementById && document.getElementById(ioNode) != null) { - - document.getElementById(ioNode).className='expanded'; - - if (document.getElementById(ioWedge) != null) { - document.getElementById(ioWedge).src=img_expanded; - document.getElementById(ioWedge).title='collapse'; - document.getElementById(ioWedge).alt='V'; - } - } -} - -function collapse(ioNode) { - ioWedge = "i" + ioNode.substr(1); - - if (document.getElementById && document.getElementById(ioNode) != null) { - - document.getElementById(ioNode).className='collapsed'; - - if (document.getElementById(ioWedge) != null) { - document.getElementById(ioWedge).src=img_collapsed; - document.getElementById(ioWedge).title='expand'; - document.getElementById(ioWedge).alt='>'; - } - } -} - -function ioSwitch(ioNode,fully) { - - if (document.getElementById && document.getElementById(ioNode) != null) { - nodeState = document.getElementById(ioNode).className; - } - - if (nodeState == 'collapsed') { - if (fully) { - expandAll(); - } else { - expand(ioNode); - } - } - - else { - if (fully) { - collapseAll(); - } else { - collapse(ioNode); - } - } -} - -function expandAll() { - - if (document.getElementsByTagName) { - nodeList = document.getElementsByTagName('div'); - - for (var i = 0; i < nodeList.length; i++) { - - if (nodeList.item(i).className == 'expanded' || nodeList.item(i).className == 'collapsed') { - expand(nodeList.item(i).id); - } - } - } - - else { - alert ("Sorry, don't know how to make this run in your browser."); - } -} - function collapseAll() { - - if (document.getElementsByTagName) { - nodeList = document.getElementsByTagName('div'); - - for (var i = 0; i < nodeList.length; i++) { - - if (nodeList.item(i).className == 'expanded' || nodeList.item(i).className == 'collapsed') { - collapse(nodeList.item(i).id); - } - } - } - - else { - alert ("Sorry, don't know how to make this run in your browser."); - } -} http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/Test Plan.oo3/contents.xml ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/Test Plan.oo3/contents.xml b/wagon-tcks/wagon-tck-http/Test Plan.oo3/contents.xml deleted file mode 100644 index 95f0817..0000000 Binary files a/wagon-tcks/wagon-tck-http/Test Plan.oo3/contents.xml and /dev/null differ http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/pom.xml ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/pom.xml b/wagon-tcks/wagon-tck-http/pom.xml index 66e27a9..0a6b8fb 100644 --- a/wagon-tcks/wagon-tck-http/pom.xml +++ b/wagon-tcks/wagon-tck-http/pom.xml @@ -1,4 +1,23 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/sample-tck-consumer/pom.xml ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/sample-tck-consumer/pom.xml b/wagon-tcks/wagon-tck-http/sample-tck-consumer/pom.xml index 1d4f008..8ee8d6e 100644 --- a/wagon-tcks/wagon-tck-http/sample-tck-consumer/pom.xml +++ b/wagon-tcks/wagon-tck-http/sample-tck-consumer/pom.xml @@ -1,5 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.wagon</groupId> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/java/org/apache/maven/wagon/tck/http/consumer/TestSuite.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/java/org/apache/maven/wagon/tck/http/consumer/TestSuite.java b/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/java/org/apache/maven/wagon/tck/http/consumer/TestSuite.java index e6d028d..23bc227 100644 --- a/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/java/org/apache/maven/wagon/tck/http/consumer/TestSuite.java +++ b/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/java/org/apache/maven/wagon/tck/http/consumer/TestSuite.java @@ -1,5 +1,24 @@ package org.apache.maven.wagon.tck.http.consumer; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import org.apache.maven.wagon.tck.http.GetWagonTests; import org.apache.maven.wagon.tck.http.HttpsGetWagonTests; import org.junit.runner.RunWith; http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/resources/META-INF/plexus/components.xml ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/resources/META-INF/plexus/components.xml b/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/resources/META-INF/plexus/components.xml index a7f32a7..967b370 100644 --- a/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/resources/META-INF/plexus/components.xml +++ b/wagon-tcks/wagon-tck-http/sample-tck-consumer/src/test/resources/META-INF/plexus/components.xml @@ -1,3 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> <component-set> <!-- TODO: Split this out into a sample project that shows how to use this TCK. --> <components> http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/Assertions.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/Assertions.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/Assertions.java index 41d3c24..e5cf37d 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/Assertions.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/Assertions.java @@ -28,6 +28,9 @@ import java.io.File; import java.io.IOException; import java.io.InputStream; +/** + * + */ public final class Assertions { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java index 24a1ca7..01152a0 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/GetWagonTests.java @@ -47,9 +47,14 @@ import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.fail; import static org.apache.maven.wagon.tck.http.Assertions.assertFileContentsFromResource; +/** + * + */ public class GetWagonTests extends HttpWagonTests { + private static final int TWO_SECONDS = 2000; + private static final int ONE_MINUTE = 60000; @Test public void basic() @@ -85,7 +90,7 @@ public class GetWagonTests throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException { - getServerFixture().addServlet( "/slow/*", new LatencyServlet( 2000 ) ); + getServerFixture().addServlet( "/slow/*", new LatencyServlet( TWO_SECONDS ) ); testSuccessfulGet( "slow/large.txt", "large.txt" ); } @@ -94,7 +99,7 @@ public class GetWagonTests throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException { - Servlet servlet = new LatencyServlet( 2000 ); + Servlet servlet = new LatencyServlet( TWO_SECONDS ); getServerFixture().addServlet( "/slow/*", servlet ); testSuccessfulGet( "slow/large.txt", "large.txt" ); } @@ -128,7 +133,7 @@ public class GetWagonTests if ( getWagon() instanceof StreamWagon ) { - logger.info( "Connection timeout is: " + getWagon().getTimeout() ); + LOGGER.info( "Connection timeout is: " + getWagon().getTimeout() ); } File target = newTempFile(); @@ -173,15 +178,15 @@ public class GetWagonTests try { - logger.info( "Waiting 60 seconds for wagon timeout." ); - t.join( 30000 ); + LOGGER.info( "Waiting 60 seconds for wagon timeout." ); + t.join( ONE_MINUTE ); } catch ( InterruptedException e ) { e.printStackTrace(); } - logger.info( "Interrupting thread." ); + LOGGER.info( "Interrupting thread." ); t.interrupt(); assertTrue( "TransferFailedException should have been thrown.", holder.getValue() ); @@ -218,7 +223,8 @@ public class GetWagonTests TransferFailedException, ResourceDoesNotExistException, AuthorizationException { getServerFixture().addServlet( "/moved.txt", - new RedirectionServlet( HttpServletResponse.SC_MOVED_PERMANENTLY, "/base.txt" ) ); + new RedirectionServlet( HttpServletResponse.SC_MOVED_PERMANENTLY, + "/base.txt" ) ); testSuccessfulGet( "moved.txt" ); } @@ -229,7 +235,8 @@ public class GetWagonTests TransferFailedException, ResourceDoesNotExistException, AuthorizationException { getServerFixture().addServlet( "/moved.txt", - new RedirectionServlet( HttpServletResponse.SC_MOVED_TEMPORARILY, "/base.txt" ) ); + new RedirectionServlet( HttpServletResponse.SC_MOVED_TEMPORARILY, + "/base.txt" ) ); testSuccessfulGet( "moved.txt" ); } @@ -317,6 +324,7 @@ public class GetWagonTests * case of the Sun HTTP implementation, this is the default limit. */ @Test + @SuppressWarnings( "checkstyle:methodname" ) public void permanentMove_TooManyRedirects_limit20() throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException @@ -345,6 +353,7 @@ public class GetWagonTests * case of the Sun HTTP implementation, this is the default limit. */ @Test + @SuppressWarnings( "checkstyle:methodname" ) public void temporaryMove_TooManyRedirects_limit20() throws ConnectionException, AuthenticationException, ComponentConfigurationException, IOException, ResourceDoesNotExistException, AuthorizationException @@ -510,7 +519,7 @@ public class GetWagonTests if ( getWagon() instanceof StreamWagon ) { - logger.info( "Connection timeout is: " + getWagon().getTimeout() ); + LOGGER.info( "Connection timeout is: " + getWagon().getTimeout() ); } File target = newTempFile(); http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpWagonTests.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpWagonTests.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpWagonTests.java index f165930..bad033c 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpWagonTests.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpWagonTests.java @@ -43,6 +43,9 @@ import org.junit.Before; import org.junit.BeforeClass; import static org.apache.maven.wagon.tck.http.util.TestUtil.getResource; +/** + * + */ public abstract class HttpWagonTests { @@ -56,13 +59,13 @@ public abstract class HttpWagonTests private String baseUrl; - private static final Set<File> tmpFiles = new HashSet<File>(); + private static final Set<File> TMP_FILES = new HashSet<File>(); private Repository repo; private final Set<Object> notificationTargets = new HashSet<Object>(); - protected static Logger logger = Logger.getLogger( HttpWagonTests.class ); + protected static final Logger LOGGER = Logger.getLogger( HttpWagonTests.class ); @Before public void beforeEach() @@ -136,7 +139,7 @@ public abstract class HttpWagonTests @AfterClass public static void afterAll() { - for ( File f : tmpFiles ) + for ( File f : TMP_FILES ) { if ( f.exists() ) { @@ -215,7 +218,7 @@ public abstract class HttpWagonTests if ( testCaseId == null || !configurator.isSupported( testCaseId ) ) { - logger.error( "Cannot run test: " + testCaseId + LOGGER.error( "Cannot run test: " + testCaseId + ". Wagon under test does not support this test case." ); return false; } @@ -250,7 +253,7 @@ public abstract class HttpWagonTests if ( testCaseId == null || !configurator.configureWagonForTest( wagon, testCaseId ) ) { - logger.error( "Cannot run test: " + testCaseId + LOGGER.error( "Cannot run test: " + testCaseId + ". Wagon under test does not support this test case." ); return false; @@ -319,7 +322,7 @@ public abstract class HttpWagonTests protected static Set<File> getTmpfiles() { - return tmpFiles; + return TMP_FILES; } protected Repository getRepo() http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpsGetWagonTests.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpsGetWagonTests.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpsGetWagonTests.java index faf94f9..5fa14ee 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpsGetWagonTests.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/HttpsGetWagonTests.java @@ -19,7 +19,9 @@ package org.apache.maven.wagon.tck.http; * under the License. */ - +/** + * + */ public class HttpsGetWagonTests extends GetWagonTests { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/WagonTestCaseConfigurator.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/WagonTestCaseConfigurator.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/WagonTestCaseConfigurator.java index 9783463..835e222 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/WagonTestCaseConfigurator.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/WagonTestCaseConfigurator.java @@ -32,6 +32,9 @@ import org.codehaus.plexus.context.Context; import org.codehaus.plexus.context.ContextException; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable; +/** + * + */ public class WagonTestCaseConfigurator implements Contextualizable { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/AuthSnoopFilter.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/AuthSnoopFilter.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/AuthSnoopFilter.java index 6fc902f..233fe4d 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/AuthSnoopFilter.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/AuthSnoopFilter.java @@ -32,6 +32,9 @@ import javax.servlet.http.HttpServletRequest; import org.apache.commons.codec.binary.Base64; import org.apache.log4j.Logger; +/** + * + */ public class AuthSnoopFilter implements Filter { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ErrorCodeServlet.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ErrorCodeServlet.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ErrorCodeServlet.java index ee28b8c..7055c1d 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ErrorCodeServlet.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ErrorCodeServlet.java @@ -26,6 +26,9 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +/** + * + */ public class ErrorCodeServlet extends HttpServlet { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/LatencyServlet.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/LatencyServlet.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/LatencyServlet.java index df9487b..7d70075 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/LatencyServlet.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/LatencyServlet.java @@ -32,6 +32,9 @@ import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.codehaus.plexus.util.IOUtil; +/** + * + */ public class LatencyServlet extends HttpServlet { @@ -63,6 +66,7 @@ public class LatencyServlet } catch ( InterruptedException e ) { + // ignore } } http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyAuthenticationFilter.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyAuthenticationFilter.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyAuthenticationFilter.java index 5481f7f..2da6aa4 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyAuthenticationFilter.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyAuthenticationFilter.java @@ -32,6 +32,9 @@ import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +/** + * + */ public class ProxyAuthenticationFilter implements Filter { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyConnectionVerifierFilter.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyConnectionVerifierFilter.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyConnectionVerifierFilter.java index 87fcd39..0c2bc39 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyConnectionVerifierFilter.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ProxyConnectionVerifierFilter.java @@ -33,6 +33,9 @@ import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; +/** + * + */ public class ProxyConnectionVerifierFilter implements Filter { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/RedirectionServlet.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/RedirectionServlet.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/RedirectionServlet.java index 2337e88..0ff5752 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/RedirectionServlet.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/RedirectionServlet.java @@ -25,6 +25,9 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; +/** + * + */ public class RedirectionServlet extends HttpServlet { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServerFixture.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServerFixture.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServerFixture.java index 8e7507f..f73e7e7 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServerFixture.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServerFixture.java @@ -46,6 +46,9 @@ import java.net.URISyntaxException; import static org.apache.maven.wagon.tck.http.util.TestUtil.getResource; +/** + * + */ public class ServerFixture { private static Logger logger = Logger.getLogger( ServerFixture.class ); @@ -189,7 +192,7 @@ public class ServerFixture server.start(); int total = 0; - while ( total < 3000 && !server.isStarted() ) + while ( total < 3 * 1000 && !server.isStarted() ) { server.wait( 10 ); total += 10; http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServletExceptionServlet.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServletExceptionServlet.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServletExceptionServlet.java index 28852c0..10820ef 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServletExceptionServlet.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/fixture/ServletExceptionServlet.java @@ -26,6 +26,9 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +/** + * + */ public class ServletExceptionServlet extends HttpServlet { http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java index 544ddef..ebcf15e 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/TestUtil.java @@ -35,11 +35,14 @@ import java.util.jar.JarFile; import org.apache.log4j.Logger; import org.codehaus.plexus.util.IOUtil; +/** + * + */ public final class TestUtil { - private static Logger logger = Logger.getLogger( TestUtil.class ); + private static final Logger LOGGER = Logger.getLogger( TestUtil.class ); - private static final Map<String, File> bases = new HashMap<String, File>(); + private static final Map<String, File> BASES = new HashMap<String, File>(); private TestUtil() { @@ -64,7 +67,7 @@ public final class TestUtil int endIdx = url.indexOf( "!" ); url = url.substring( startIdx, endIdx ); - File base = bases.get( url ); + File base = BASES.get( url ); if ( base == null ) { File urlFile = new File( url ); @@ -72,7 +75,7 @@ public final class TestUtil base = new File( "target/tck-resources/" + urlFile.getName() ); base.getParentFile().mkdirs(); - logger.info( "unpacking test resources in jar: " + url ); + LOGGER.info( "unpacking test resources in jar: " + url ); JarFile jf = null; try { @@ -108,7 +111,7 @@ public final class TestUtil } } - bases.put( url, base ); + BASES.put( url, base ); } finally { @@ -120,6 +123,7 @@ public final class TestUtil } catch ( Exception e ) { + // ignore } } } http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/5fcf54b9/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/ValueHolder.java ---------------------------------------------------------------------- diff --git a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/ValueHolder.java b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/ValueHolder.java index 7729670..cc303bc 100644 --- a/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/ValueHolder.java +++ b/wagon-tcks/wagon-tck-http/src/main/java/org/apache/maven/wagon/tck/http/util/ValueHolder.java @@ -19,6 +19,10 @@ package org.apache.maven.wagon.tck.http.util; * under the License. */ +/** + * + * @param <T> + */ public class ValueHolder<T> { private T value;
