2008/link-testsuite index.html,NONE,1.1

Update of /sources/public/2008/link-testsuite
In directory hutz:/tmp/cvs-serv12846

Added Files:
	index.html 
Log Message:
test cases index generated with harness/linktest.py -v doc > ../index.htm

--- NEW FILE: index.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Link Check Test Suite Index</title>
	<meta name="author" content="olivier Thereaux">
	<style type="text/css" media="all">
      @import "http://validator.w3.org/style/base.css";
    </style>
    
</head>
<body>
<div id="banner">
 <h1 id="title">
   <a href="http://www.w3.org/"><img alt="W3C" width="110" height="61" id="logo" src="http://validator.w3.org/images/w3c.png" /></a>
			<a href="./"><span>Link Check Test Suite</span></a>
   </h1>
   <p id="tagline">Collection of test cases for Link Checkers, spiders and other Web UAs</p>
</div>
<div class="doc">
   <h2>Test Suite Index</h2> 
<p>
    This small test suite has been built to test the link checkers at W3C,
    but could be used for any tool used to either check links in HTML documents, 
    spiders, or miscellaneous Web User-Agents.
</p>
<p>
    This test suite is work in progress. Please submit any issue or idea to the 
    public mailing-list <a href="http://lists.w3.org/Archives/Public/public-qa-dev/" title="public-qa-dev@w3.org Mail Archives">public-qa-dev@w3.org</a>
</p>


<h3>Base URI and Content-Location Tests</h3>
<p>Does the checker respect base href and content-location info? Does it report broken links based on those?</p>
 
    <h4>test base URI with BASE href elt</h4>
<p>    relative link goes 404 if BASE href element not parsed
	EXPECTED: relative link goes 200 if OK - link checker finds no error
    </p>
    
 
    <h4>test base URI with HTTP Content-Location</h4>
<p>    relative link goes 404 if HTTP Content-Location not parsed
    	EXPECTED: relative link goes 200 if OK - link checker finds no error</p>
    
 
    <h4>test base URI with BASE href elt and Content-Location</h4>
<p>    with both BASE href elt and HTTP Content-Location
    	href takes precedence http://www.w3.org/TR/html401/struct/links.html#h-12.4.1
    	relative link goes 404 if neither BASE nor Content-Location respected
    	relative link goes 403 if HTTP Content-Location respected instead of BASE
    	EXPECTED: relative link goes 200 if OK - link checker finds no error</p>
    
 
    <h4>test base URI with relative BASE href (forbidden)</h4>
<p>    
        This document has a bogus BASE href value. Per the spec:
            <q cite="http://www.w3.org/TR/html401/struct/links.html#h-12.4">This attribute specifies an <strong>absolute URI</strong> that acts as the base URI for resolving relative URIs.</q>
    </p>
    
 

<h3>HTML 4.01 URI attribute values Tests</h3>
<p>Testing whether the checker catches 404 for all attributes values set to %URI type in HTML 4.01</p>
 
    <h4>test HTML A href (control)</h4>
<p>    
        A href 404
        	EXPECTED: link checker throws error
    </p>
    
 
    <h4>test HTML A href (404)</h4>
<p>    
        A href 404
        	EXPECTED: link checker throws error
    </p>
    
 
    <h4>test HTML BASE href (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML BASE href (404)</h4>
<p>    
        BASE href 404
        	EXPECTED: link checker throws error
    </p>
    
 
    <h4>test HTML FRAME longdesc (control)</h4>
<p>    
        OK frameset document with longdesc dereferencing (control test)
    </p>
    
 
    <h4>test HTML FRAME longdesc (404)</h4>
<p>    
        Frameset document with a frame longdesc dereferencing into a 404.
        EXPECTED: link checker throws error
    </p>
    
 
    <h4>test HTML FRAME src (control)</h4>
<p>    
        OK frameset document with src dereferencing (control test)
    </p>
    
 
    <h4>test HTML FRAME src (404)</h4>
<p>    
        Frameset document with a frame src dereferencing into a 404.
        EXPECTED: link checker throws error
    </p>
    
 
    <h4>test HTML IFRAME longdesc (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IFRAME longdesc (404)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IFRAME src (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IFRAME src (404)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IMG longdesc (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML SCRIPT src (404)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IMG src (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IMG src (404)</h4>
<p>    
    </p>
    
 
    <h4>test HTML LINK href (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML LINK href (404)</h4>
<p>    
    </p>
    
 
    <h4>test HTML SCRIPT src (control)</h4>
<p>    
    </p>
    
 
    <h4>test HTML IMG longdesc (404)</h4>
<p>    
    </p>
    
 

<h3>HTTP Error codes test</h3>
<p>Testing whether the checker reports all possible kinds of HTTP errors (4xx and 5xx)</p>
 
    <h4>test reporting HTTP 400</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 401</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 402</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 403</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 404 (DNS error)</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 404</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 405</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 406</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 407</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 408</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 409</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 410</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 411</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 412</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 413</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 414</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 415</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 416</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 417</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 500</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 501</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 502</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 503</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 504</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 505</h4>
<p>    
    </p>
    
 

<h3></h3>
<p>Testing whether the checker reports redirects</p>
 
    <h4>test reporting HTTP 300 (optional)</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 301 (optional)</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 302 (optional)</h4>
<p>    
    </p>
    
 
    <h4>test reporting HTTP 307 (optional)</h4>
<p>    
    </p>
    
 



</div>

<div id="footer">


		<p class="copyright">
			Copyright &copy; 2008
			W3C&reg;

			(MIT,
			ERCIM,
			Keio),
			All Rights Reserved.
			W3C liability,
			trademark,
			document use

			and software licensing

			rules apply. Your interactions with this site are in accordance
			with our public and
			Member privacy
			statements.
		</p>
</div>

</body>
</html>

Received on Wednesday, 30 January 2008 07:37:32 UTC